Welcome to the new Box Support website. Check out all the details here on what’s changed.

How to keep metadata in migration process

Answered
New post

Comments

2 comments

  • Murtza

     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. 

     

    0
    Comment actions Permalink
  • Box Product Support

    Can you help me to understand how you pass the values in ContentCreatedAt and contentModifiedAt while uploading the file. My requirement is to upload the pdf file with created date as backdated. So I am using the contentCreatedAt to store the backdated date field.

    0
    Comment actions Permalink

Please sign in to leave a comment.