Fill the SharePoint property bag
AI translated from the German original
Automatically extend SharePoint sites with custom properties.
The property bag stores keys and values directly in the SharePoint site, e.g. organisation, template or cost centre. Scripts, search and other systems can use them to identify and evaluate sites, e.g. to apply individual retention policies via adaptive scopes.
Set properties
Section titled “Set properties”-
Open Groups → Templates → organisation → template → SharePoint.
-
Under SharePoint property bag, click Enable if property bag updates are disabled.
Enable turns on the tenant setting
AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled. This allows property bag values to be changed without allowing custom scripts on the site. -
Click Add property and enter Key and Value.
-
Save the template.
Seamless writes the properties when the site is created and whenever an Apply template action runs. The values can be changed later using PowerShell.