Here's a fully worked example for IMG_1967.jpg.metadata.properties.xml
:
<entry key="cm:created">1901-01-01T12:34:56.789+10:00</entry>
--
You received this message because you are subscribed to the Google Groups "Alfresco Bulk Import Tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alfresco-bulk-filesys...@googlegroups.com.
To post to this group, send email to alfresco-bulk-f...@googlegroups.com.
Visit this group at https://groups.google.com/group/alfresco-bulk-filesystem-import.
For more options, visit https://groups.google.com/d/optout.
G'day Zhihai,tl;dr - yes creation and modification timestamps are preserved (written to the repository) by the tool.Long answer - the tool temporarily disables Alfresco's so-called "auditable" aspect, which (amongst other things) controls whether these timestamps are writeable or not. The specific line of code is here: https://github.com/pmonks/alfresco-bulk-import/blob/master/amp/src/main/java/org/alfresco/extension/bulkimport/impl/BatchImporterImpl.java#L159Cheers,PeterApologes for speling & gramar erorrs - sent from mobil deivce
--From the example in documentation (https://github.com/pmonks/alfresco-bulk-import/wiki/Preparing-the-Source-Content)Metadata ExampleHere's a fully worked example for
IMG_1967.jpg.metadata.properties.xml
:<entry key="cm:created">1901-01-01T12:34:56.789+10:00</entry>Question: will this cm:created value be preserved when bulk import tool loads the document? In the past I found Alfresco considers cm:created, cm:modified etc as "audit" properties and it sets the values as the system time when the import occurs. Thank you.
You received this message because you are subscribed to the Google Groups "Alfresco Bulk Import Tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alfresco-bulk-filesystem-import+unsubscribe@googlegroups.com.
To post to this group, send email to alfresco-bulk-filesystem-imp...@googlegroups.com.
cm:created | d:datetime | 03 Nov 2015 13:28:47 GMT-0500 (EST) |
m:modified | d:datetime | 31 May 2016 14:46:07 GMT-0400 (EDT) |
G'day Zhihai,tl;dr - yes creation and modification timestamps are preserved (written to the repository) by the tool.Long answer - the tool temporarily disables Alfresco's so-called "auditable" aspect, which (amongst other things) controls whether these timestamps are writeable or not. The specific line of code is here: https://github.com/pmonks/alfresco-bulk-import/blob/master/amp/src/main/java/org/alfresco/extension/bulkimport/impl/BatchImporterImpl.java#L159Cheers,PeterApologes for speling & gramar erorrs - sent from mobil deivce
--From the example in documentation (https://github.com/pmonks/alfresco-bulk-import/wiki/Preparing-the-Source-Content)Metadata ExampleHere's a fully worked example for
IMG_1967.jpg.metadata.properties.xml
:<entry key="cm:created">1901-01-01T12:34:56.789+10:00</entry>Question: will this cm:created value be preserved when bulk import tool loads the document? In the past I found Alfresco considers cm:created, cm:modified etc as "audit" properties and it sets the values as the system time when the import occurs. Thank you.
You received this message because you are subscribed to the Google Groups "Alfresco Bulk Import Tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alfresco-bulk-filesystem-import+unsubscribe@googlegroups.com.
To post to this group, send email to alfresco-bulk-filesystem-imp...@googlegroups.com.