Override Created and Modified Fields in SharePoint Online Document Library

Jun 1 at 5:12 PM
Hello,

Section 6.2.3.1 of the documentation mentions that "When the destination item type is document the Created and Modified properties in SharePoint will be set to that of the source document. This can be overridden with a custom mapping to get the data from the data set if you require."

I have added the two custom mappings below, but the Created and Modified fields in SharePoint Online still default to the modified date of the file itself. The incoming date formats of "08/19/2011" or "08/19/2011 10:45:58" are both failing.

Thanks!

--Ben
<ImportMapping xsi:type="ImportMapping_DateTimeFromString">
          <DestinationField>Created</DestinationField>
          <SourceColumn>Created</SourceColumn>
          <ConversionMask>MM/dd/yyyy hh:mm:ss</ConversionMask>
          <Culture>en-US</Culture>
</ImportMapping>
<ImportMapping xsi:type="ImportMapping_DateTimeFromString">
          <DestinationField>Modified</DestinationField>
          <SourceColumn>Modified</SourceColumn>
          <ConversionMask>MM/dd/yyyy hh:mm:ss</ConversionMask>
          <Culture>en-US</Culture>
</ImportMapping>
Coordinator
Jun 7 at 4:40 PM
Enable logging and you might see why
Jul 13 at 7:01 PM
Hello,

Re-installed version 2.8 and this is working now.

Thanks!

--Ben
Marked as answer by bwalker31 on 7/13/2017 at 12:01 PM