Is there a way to preserve, keep the metadata in a file in C Drive after uploading it to SharePoint Online

As an example, PDF documents have a created date and/or a modified date as in property of the file when it is residing in the C Drive of Windows 10- Windows Explorer shows that data in a column as well.

But when, or after, it gets uploaded into SharePoint Online, the metadata as in date in the PDF file in C Drive as seen in the Column in the Windows Explorer is all stripped, deleted from the document; and the document expresses a date modified, as of the day, it was uploaded into SharePoint.

Is there someway to preserve this data when uploading it into SharePoint Online?

(There is a native SharePoint App called Asset Library which preserves the data but only does for pictures and not Documents including MS Office Documents on C Drive. In link for Asset Library expand the feature overview option and its the last bullet point which states :

"Automatic metadata extraction for image files    When you upload image files to an Asset Library, any existing metadata for the file is extracted and promoted to any available corresponding columns in the library. Automatic metadata extraction is supported for the following image file types: BMP, GIF, ICO, JPEG, PNG, and TIFF".

Is there anyway to have automatic metadata extraction for documents being uploaded into document library and promoted to corresponding column in the library? I understand the author name, version history et al is also lost for the Word document after it is loaded into SharePoint.

Thought, I have only tried uploading option, do you think there is any other option such as " drag and drop" or "copy and paste" which may preserve, keep the metadata.

At times its essential to know the birthday and modified date of a document as preserved on the C Drive but deleted when uploaded to SharePoint Online.

Hi Fortune Mile,

In SharePoint online, there is no out of box feature to keep the metadata in a file when uploading file. But it can be possible using SharePoint CSOM in PowerShell or using third party tools.

If you want more detailed information about using SharePoint CSOM, I suggest you post a new thread in our MSDN forum for expert help.

Thanks for your understanding.

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.


Question Info

Last updated March 2, 2021 Views 1,315 Applies to: