Category: Search

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

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