Category: IT

  • 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…

  • Pzl.Ext.Styler: A Stylish SharePoint Framework Extension

    Pzl.Ext.Styler: A Stylish SharePoint Framework Extension

    I desperately needed a safer solution for styling SharePoint than using the great Modern Script Editor. After failing to find an open source solution, I made my own. ChatGPT gives us the following sales pitch: Are you looking for a way to add some style to your SharePoint site? Look no further than Pzl.Ext.Styler! This free…

  • 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.…

  • Get hubsite or site ID

    Get hubsite or site ID

    This is perhaps the tinyest post I’ve made to date. I often need to find the GUID of a site for ny various search querys. There are many ways to acheive this, but the quickest to date is to use the API through the SharePoint URL in your browser: If your scope is the hubsite…

  • Org chart with a twist

    Org chart with a twist

    A customer really liked Microsoft’s Org chart web part in SharePoint. However, they needed to be able to display data from the manager-field as well as a custom field for line-manager combined in a single view. I also found great joy being able to create a menu for switching between the different departments without leaving…

  • Related news in SharePoint

    Related news in SharePoint

    Quite a few customers have asked me for a solution for automatic linking of related articles on their modern SharePoint intranet. I’ve drummed together a solution using PnP Modern Search and Term store. This solution requires that each news article (or page) is tagged with a single metadata column. 2. The search query: 3. Create…

  • Moving a Logic App [to a new tenant]

    Moving a Logic App [to a new tenant]

    This happens quite a bit when recycling stuff. Since there’s not a nice way to export and import Logic Apps as packages (as far as I’m concerned, but feel free to enlighten me), but there’s still a quick workaround for this. Sort of. Steps to success: 5. Enter Code View on your destination app. 6.…

  • Changing the Search scope in SharePoint

    Changing the Search scope in SharePoint

    When a customer with tons of sites needs to change the search scope, there are several ways to approach this. One solution is to create a PnP PowerShell script. In this example we’ll change the search scope to tenant (Organization). Steps to success: Drink some coffee and enjoy your new search scope.

  • Recreating Quick Links Tiles view with Microsoft Lists

    Recreating Quick Links Tiles view with Microsoft Lists

    My customers have often complained that the Tiles view in the QuickLinks web part isn’t pretty enough. Here is a recreation that uses the SharePoint theme’s colours. Create a new list with the following additional columns: Icon (Single line text)URL (Hyperlink)Sort (Number, no decimals)NewTab (Yes/No) For the icons, use friendly names from https://uifabricicons.azurewebsites.net/ Try it…