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

Metadat cascade policy overwriting existing data

Answered
New post

Comments

5 comments

  • Official comment
    Kourtney

    Hey John,

     

    This is currently expected behavior. Please check out this article, which mentions your question in the FAQ section! 

     

    Best, 

    Kourtney

    Comment actions Permalink
  • John Scerri

    HI Kourtney, 

     

    Thanks for the reply. I have read the FAQs but  am still a bit confused. The below text is referenced:

    What happens if my file already has metadata on it? If I move this into a folder with a conflicting cascade policy, is this information overwritten?

    Metadata cascade policies do not overwrite any existing metadata - we don't want to delete customer data without the right notification. If a conflict occurs, existing metadata values persist on the file. If you want to override this change, you can use the back-filling capabilities of the cascade functionality to force all metadata within that folder to have that folder's metadata.

    Can you please confirm what you mean by the back-filling capabilities? Does this mean that the cascade policy needs to be triggered to override down again? So that every time a new file is put into the folder, the cascade function needs to be actioned to apply the metadata to that particular file? Is there no way to have this automated? 

    Thanks. 

    0
    Comment actions Permalink
  • Kourtney

    Hey John, 

    I understand how that wording is confusing and can submit some changes to the team to try to make it more clear! The back-filling capability it's referring to is documented here.

    Best, 

    Kourtney 

    0
    Comment actions Permalink
  • John Scerri

    Hi Kourtney, 

    Thanks for the reply. However I'm still not sure this answers my question. I understand that we can use the API to force apply the metadata cascade policy and have it overwrite metadata on files currently in that folder.

    However, if a file is later added to this folder, can the cascade policy automatically overwrite any metadata currently attached to the new file? Or does a new API call need to be made to the folder to force apply the metadata cascade policy again? If so, this would mean we need to make a new API to force apply the metadata cascade policy every time a new file is added to the folder. 

    Thanks.  

    0
    Comment actions Permalink
  • John Scerri

    Hi Kourtney, 

    I just wanted to check back in on this and see if you had any additional details given my last comment? 

    Thanks.

    0
    Comment actions Permalink

Please sign in to leave a comment.