Forum Discussion

Damien Flood's avatar
Damien Flood
Iron Contributor
Mar 03, 2017

Modern teamsite - Default column value and "copy to" question

Dear all,

We have a modern teamsite and within the library (Drafts) of the site we have set the default column value to e.g. Document state = Draft (which is managed metadata), This works as expected when users create or uploads a document to that library.

 

We have a second library (Published) in different modern teamsite which we have set the default column value to e.g. Document state = Published (which is managed metadata), This works as expected when users create or uploads a document to that library.

 

Now when a user uses "Copy to" from the "Drafts" library to the "Published" library the Document state in the published library is "Draft" and not "Published" which we have set the default column value to be in the settings.

 

Wondering if anyone else has experienced this? or is expecated behaviour?

Cheers

  • This is actually expected behavior because default column settings only work when the value in the column you are defaulting is BLANK. Since your column already has a value of Draft, moving manually or via the Move to command will not re-set the value unless you use a workflow to change the value or change it before or after you move to the published library.

     

    The only feature/capability that I'm aware of that actually overrides metadata automatically is when you have a shared column in a document set. In that case, adding a document with existing metadata to a document set will result in existing values being overridden by the shared value in the set.

  • "Copy to" copies all metadata, so IMO that is the expected behavior.

    You should change the value from Draft to Published before copying...

    • jcgonzalezmartin's avatar
      jcgonzalezmartin
      MVP
      Agree with Salvatore...since I guess the change to "Published" in the Drafts Library is not what you want, you could also create a workflow in the Published Library that updates the Document State field to Published if the value contained is other than Published

Resources