Category: IT

  • Distributing page and news templates in SharePoint Online

    Distributing page and news templates in SharePoint Online

    According to Copilot, in SharePoint Online, well-designed page and news templates play a crucial role in enhancing collaboration and communication. These templates ensure consistent branding, efficient content creation, and structured layouts. Authors can focus on their message without worrying about formatting, resulting in a seamless user experience across devices. Additionally, templates facilitate targeted content delivery, version control, and SEO…

  • Pretty little FAQ

    Pretty little FAQ

    Many of my clients have the need for an FAQ on their intranet. The traditional way is still the way: using lists. But let’s make this more user friendly. As a sort of “UI for the back end” I always add the list as a tab in Microsoft Teams, using the Microsoft Lists app. This…

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