Forum Discussion
Rie0205
Feb 16, 2021Brass Contributor
SharePoint Online document library - original metadata lost when replacing documents
Hello, My issue is that when replacing/drag&droping the document with an exact name, the metadata that was originally there gets all wiped out, and I end up re-applying all of them. Also, the behavi...
- Mar 30, 2021Hi Rie0205 - I have a guess.
When you save an Office file in a SharePoint library that has custom metadata, that information is embedded within the document. You can see this by downloading a file (which has custom metadata in the columns for it), changing its name, and then uploading it back to that same library (or another library with the columns of the same name). The original metadata will appear in the library's columns.
SO, my guess is that you are uploading a file that was stored in a library with metadata columns with the same name as the library you're uploading the file to. These are embedded within your file as blank and those values then overwrite the metadata columns when you upload it.
KellyDJones
Mar 30, 2021Brass Contributor
Hi Rie0205 - I have a guess.
When you save an Office file in a SharePoint library that has custom metadata, that information is embedded within the document. You can see this by downloading a file (which has custom metadata in the columns for it), changing its name, and then uploading it back to that same library (or another library with the columns of the same name). The original metadata will appear in the library's columns.
SO, my guess is that you are uploading a file that was stored in a library with metadata columns with the same name as the library you're uploading the file to. These are embedded within your file as blank and those values then overwrite the metadata columns when you upload it.
When you save an Office file in a SharePoint library that has custom metadata, that information is embedded within the document. You can see this by downloading a file (which has custom metadata in the columns for it), changing its name, and then uploading it back to that same library (or another library with the columns of the same name). The original metadata will appear in the library's columns.
SO, my guess is that you are uploading a file that was stored in a library with metadata columns with the same name as the library you're uploading the file to. These are embedded within your file as blank and those values then overwrite the metadata columns when you upload it.