How to keep metadata in migration process
AnsweredHi,
I'm moving content from SharePoint document library to Box and I must keep who created/modified and when happened. I could set ContentCreatedAt and ContentModifiedAt but I couldn't find a way to set set CreatedBy/ModifiedBy field with a specific, is there a way to set these fields?
-
You have two options to accomplish this:
Option 1
To store the created_by metadata, you can upload the file as that user. To store the modified_by metadata, you can upload a new file version as that user. You can use the As-User header for both of these calls to make calls on behalf of a user.
Option 2
You can create a custom metadata template for this metadata, and apply this metadata template to files that are part of this migration. The tradeoff for this approach is introducing additional complexity to your Box instance, but the benefit is more flexibilty on what metadata you can store.
Please sign in to leave a comment.
Comments
2 comments