SharePoint Property Bag is a great option to store configurations at different levels of the SharePoint hierarchy outside of the application itself. The same property bag entry can be used in SharePoint Search once it is crawled. Based on the requirement we can decide if we need a property bag item with crawl enabled or not.
In the sample SharePoint Hosted app attached, I have mentioned the list of supported properties as I do not want to modify the OOTB properties. Please use this app as starter kit and leverage the same according to your requirement.
Note
- I assume you will create the required properties during the site provision process or the same can be created using PnP PowerShell commands (https://github.com/OfficeDev/PnP-PowerShell/tree/master/Documentation)
- This app is best fit for Site Owners/Admins/Site Collection Admins if they wish to classify the sites with various attributes
Filed under: AngularJS, O365, SharePoint
