You can use the ImportDocument action to import a file and property values as a document into a d.3 repository (document management).
For more information including the import parameters (Importparams) see the d.3 API reference.
Parameters
|
Type |
Name |
Description |
|---|---|---|
|
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
|
Type |
Description |
|---|---|
|
SINGLEVALUE |
Returns the document ID of the imported document. |