Category: PnP Modern Search

  • Making the Image column in a SharePoint more useful [to me]

    Making the Image column in a SharePoint more useful [to me]

    Say you want to build a “call-to-action” type functionality with Audience Targeting to your SharePoint intranet utilizing PnP Modern Search – maybe something like this: A natural place to store the text and publishing values in a list. And since we now have the Image column, it seems like a natural place to place an…

  • Creating a refiner for Audience Targeting labels in SharePoint

    Creating a refiner for Audience Targeting labels in SharePoint

    When creating search experiences, the built in refiner “Audiences” returns a GUID, which is useful if you want to match the results with {User.Audience}. I.e. “(ModernAudienceAadObjectIds:{User.Audiences} OR NOT IsAudienceTargeted:true)”, which should return items audience targeted to the current user, as well as results that are not audience targeted at all. But back to the topic.…