Forum Discussion
tdemichiei
Apr 06, 2020Copper Contributor
Move documents between team sites
Hi,
I am attempting to use either copy or move to copy documents from one team site to another. The copy is working just fine, but I want to move the metadata (it is not managed metadata) along with the files. I thought that move to was supposed to move the metadata but it does not seem to be working. What is the best way for me to move these files.
I am working on SharePoint Online
- Hi,
tdemichiei
The expected behavior is if the Content Type and Fields don't match at the destination, then only the document(s) move. In fact, you will be alerted with a message that the file contains properties that will be lost at the new destination.
You will have to ensure that the Content Type(s) as in the source library are available in the destination library. For example - you have a field/column in source library which was added in a specific custom content type and this content type was then added to your source library, you will have to ensure that similarly the same name content type with the field is created and added to your destination library for the files to move along with metadata.
Please let us know.
Thanks.
- Swaminathan SriramIron Contributor
Hi,
It is the default expected behavior. The Content Type and Fields should be present/created in the destination library after which you would be able to move the files along with their metadata.
If you are moving the files to a fresh new document library at the destination and if your source library has only few fields, then you could create those fields in the destination library manually, otherwise, if your Library has lots of Content Types and Fields including Custom Content Types, you could Save the Source Library as Template with content and upload this template to List Template Gallery in your destination site and use this template to create the new document library and you could move subsequent new files with metadata using Copy To / Move To as per your requirement.
I hope this is helpful, please like it or mark it as a solution if it answers your query.
Thanks.
- tdemichieiCopper Contributor
Which is the default behavior? Swaminathan Sriram I have the fields matching in both libraries, but the data is not moving.
Only the documents. Is the expected behavior that only the documents move?
Thanks
- Swaminathan SriramIron ContributorHi,
tdemichiei
The expected behavior is if the Content Type and Fields don't match at the destination, then only the document(s) move. In fact, you will be alerted with a message that the file contains properties that will be lost at the new destination.
You will have to ensure that the Content Type(s) as in the source library are available in the destination library. For example - you have a field/column in source library which was added in a specific custom content type and this content type was then added to your source library, you will have to ensure that similarly the same name content type with the field is created and added to your destination library for the files to move along with metadata.
Please let us know.
Thanks.