Column Default Value Settings based on Location in SharePoint

While it’s possible to set default values for SharePoint columns at library level at field settings, What if you want to set the default column value of a document based on the folders it’s saved? SharePoint Server / SharePoint Online provides a new feature to set metadata values based on the location!

Tips: In short, We can apply default value to specific metadata column of the document, based on the specific folder where the document is stored in a document library!

How to Set Default Metadata from Document Location?

Say, We have a document library with “Department” column and with few folders namely “Sales”, “Marketing”, “IT”, etc. as in this screen.
Set Default Metadata from Document Location in SharePoint 2013

And we want the metadata field “Department” value based on the location.

Set Column Default Value Settings in SharePoint

  • Go to List / Library settings >> Click on Column default value settings in SharePoint
  • Click on the desired metadata column link of the respective folder(s)Set Column default value settings in SharePoint 2010
  • and set the value for it

When users upload a new document to different folders, the “Department” field gets value from this setting automatically. This doesn’t change the metadata on all existing documents, BTW!

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

One thought on “Column Default Value Settings based on Location in SharePoint

  • is this possible via powershell script?

    Reply

Leave a Reply