0

We have a requirement to associate custom metadata while creating site or lists. We tried exploring the SharePoint documentation and were able to add this for List items, folders and files but did not find any reference of it for Site or Lists. Could you please let us know if this is possible to add custom metadata while create a new site and new List

0

You can use a propertybag for site and lists. Property bags are key value pairs which can store custom properties.

Please check the link for details:

https://www.c-sharpcorner.com/article/what-are-indexed-property-bags-and-how-to-use-them-for-sharepoint-sites/

| improve this answer | |
0

Using Property Bags may be possible for you to store custom properties. Don't forget to setting the -DenyAddAndCustomizePages of the SharePoint Site to 0.

Reference: https://blog.kloud.com.au/2018/02/08/how-to-set-property-bag-values-in-sharepoint-modern-sites-using-sharepoint-online-net-csom/

You can use SharePoint Designer to manipulate items in property bag! Just open the site in SharePoint Designer and click on "Site Options" button in the ribbon to get property bag editor.

Reference: https://www.sharepointdiary.com/2018/03/sharepoint-online-get-set-property-bag-values-using-powershell.html

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.