You can use the ImportNewVersionDocument action to import a file and property values as a new document version.
For more information including the import parameters (Importparams) see the d.3 API reference.
Parameters
|
Type |
Name |
Description |
|---|---|---|
|
TEXT |
docid |
Specifies the document ID (DocId) of the existing document. |
|
TEXT |
filename |
Specifies the file name. |
|
TEXT |
extension |
Specifies the file extension. |
|
TEXT |
doc_type_short |
Specifies the short name of the category (document type). |
|
TEXT |
content |
Specifies the content of the file. |
|
KEYVALUELIST |
Importparams |
Specifies the list of corresponding import parameters. |
Return
None