top of page
Search


Using Content type as a filter in PnP Modern Search
One of the cornerstones of good information architecture is content types, and therefore we often use the content type as a criterion in our search queries. But why not use the content types as a refiner too? The default mapping provided by Microsoft is not optimal: So if we look at the value in "ContentType" for a site page it looks like this: So, I recommend updating the mapping by: creating a new Managed Property "ContentTypeName and mapping it to ows_ContentType. Mappin
Kasper Larsen
Oct 211 min read
Â
Â
Â


Using Calculated date Fields in your Search solutions
Case: you have a Content Type for your Policies Pages and want to ensure that they are reviewed every 180 days. You have at least 3 options: 1) add a "Next review date" DateTime site column to the Content Type and be depended on the users remembering to update the column. You could also set up a workflow that will set the value in the "Next review date" on updates, but that is a lot of work when there are better alternatives. 2) Add a calculated site column that will set a va
Kasper Larsen
Oct 142 min read
Â
Â
Â


Finally, AutoFill columns can now be created as Site Columns, well... kind off
In the summer of '24 Leon Armston wrote a blog post about the hoops you would have to jump through in order to deploy AutoFill columns,...
Kasper Larsen
Oct 93 min read
Â
Â
Â


Formatting your data in PnP Modern Search Handlebars makes the difference
A colleague of mine asked about enhancing the display of a number, in this case the file size. The output from search looks like 34232...
Kasper Larsen
Sep 121 min read
Â
Â
Â


Show number of days to a date in Search
One of the questions from last week in the PnP Modern Search repository was regarding showing the number of days to a review date (...
Kasper Larsen
Sep 52 min read
Â
Â
Â


Keeping track of your FAQ web parts
Microsoft has started to roll out the new AI driven FAQ Web part (see this for info on how to use it, This NEW SharePoint Feature Just...
Kasper Larsen
Jul 52 min read
Â
Â
Â


Developing Azure Functions using PnP PowerShell in VS Code
I have been using Azure Functions to extend various Site/Group/Teams provisioning engines for years, and have picked up a few useful...
Kasper Larsen
Jun 82 min read
Â
Â
Â


Using Folksonomy fields in PnP Modern Search
In the PnP Modern Search repository, we recently received a question about how to set up an Enterprise Keyword column as a refiner. I...
Kasper Larsen
May 232 min read
Â
Â
Â


Using an Enterprise Keyword column as a refiner in Modern Search
We recently received a question about how an Enterprise Keyword column could become a refiner in PnP Modern Search For a guide for how...
Kasper Larsen
May 201 min read
Â
Â
Â


How to report a Search issue to Microsoft Support without getting it rejected!
Once in a while you might have to create a Support Ticket with Microsoft Support, and if the issue is related to: Content not showing up...
Kasper Larsen
Apr 212 min read
Â
Â
Â


Setting a Column Default value on a Person field....why can't I do that?
Just a quick tip: Yes, you can set a default value on a Person Column, (both List Columns and Site Columns), but it will require...
Kasper Larsen
Apr 101 min read
Â
Â
Â


How do I find all files with many versions using Search?
If you are familiar with SharePoint and Microsoft Search you might have notified the Managed Property "UIVersionStringOWSTEXT" However,...
Kasper Larsen
Mar 101 min read
Â
Â
Â


Making a Houdini: making things disappear from Search and Copilot
How do you ensure that expired content is hidden from Search and Copilots? Here are a few design patterns that works
Kasper Larsen
Feb 233 min read
Â
Â
Â


Using the People Layout to display external users
On a few occasions I have seen people asking how to use the PnP Modern Search web parts to display external users, i.e. users who are not...
Kasper Larsen
Feb 163 min read
Â
Â
Â


Using mgt-person in PnP Modern Search
Once the setting "Use Microsoft Graph Toolkit" has been switch to "On" in the Results Web Part, we are able to use the many out of the...
Kasper Larsen
Feb 82 min read
Â
Â
Â


Yet another opportunity to talk about Search :-)
I have just been invited to speak about Search from an Intranet point of view at a IntraTeam event 21 May. So, the topics will be...
Kasper Larsen
Jan 281 min read
Â
Â
Â


Comparing date with Today in Handlebars
While working on a PnP Modern Search based overview of HR Policies, I realized how tricky it can be to compare a date with "Today" in a...
Kasper Larsen
Jan 281 min read
Â
Â
Â


Using Office URI schemes to open search results in the Application
Some times customers prefer that links to documents opens in the application and in sites we can ensure this by activating this Site...
Kasper Larsen
Jan 101 min read
Â
Â
Â


Adding Path Links to your PnP Modern Search Layouts
As usual this tip started as a request in the PnP Modern Search repository, How to show breadcrumb in Search results as in SharePoint...
Kasper Larsen
Jan 52 min read
Â
Â
Â


New video - Using PnP Modern Search with SharePoint Embedded Content
At ESPC 24 in Stockholm Mikael Svenson and I gave a speech about your architecture options regarding Search and Copilot. One of the...
Kasper Larsen
Dec 28, 20241 min read
Â
Â
Â
bottom of page



