KB Articles
KBID: KB0008921
Topic/Category: CMIS Export
Issue: CMIS Export not following FILE Rename Rules
Analysis:
Solution:
Keywords like $EphesoftBatchID, $EphesoftDOCID are not in use anymore. In 4.0 a feature to have dynamic file name in copy batch xml plugin and cmis export plugin was introduced and due to that a new set of keywords were introduced.
Please find below a list of Keyword that can be used to create file name in the plugin:
- BATCH_IDENTIFIER
- BATCH_CLASS
- BATCH_FIELD_VALUE
- DOCUMENT_TYPE
- SERVER_NAME
- DATE
- TIME
Document level fields can also be used as DLF:$DocumentLevelField (For Example DLF:$Invoice Number& DLF:$Invoice Date)
The dynamic variables can be utilised by putting a $ before them. In case multiple dynamic values are required, they can be appended with & to generate the effective dynamic name.
For instance a field value as $BATCH_CLASS&$DATE would generate a name something like BC1_2015-05-11.
An example of sample file name could be like this: $BATCH_CLASS&$BATCH_IDENTIFIER&$DATE(yyyy-MM-dd)&$TIME
Above expression will generate file name something like this: BC23_BICF_2015-05-22_12_00_21.