User Profile Service integration

User Profile Service integration

To filter content based on a User Profile terms, Compliance Tracker 365 can save each persons terms to the User Profile Service (UPS) in SharePoint Online for use in search queries. To enable this feature, create a new User Profile property in the UPS as per the screen shot below. Whenever a profile changes, the value is updated for use in search. image

To search for any documents tagged with User Profile terms, use the following query in the PnP Search web part:


The use of 00000-0000-00000 will return no results if the property is not set.

To only show mandatory content, use the following query:


There is a limit of 60 terms per person which can be saved into the UPS string field. Over this number, terms will not be saved.