Forum Discussion
PNP Search Result Template
Hi everyone,
I want to customize the search result display. Is it somehow possible? I see I have to use handlebars.
Kind regards,
Say
- Jennifer_WilsonBrass Contributor
Deleted Found a helpful answer that we believe will be useful to you:
https://microsoft365.today/customizing-search-result-display-using-handlebars-in-pnp-powershell/
Query Template; DepartmentId:{{PageContext.hubSiteId}} ContentType:Event (RefinableCampus:{{User.CustomCampus.Name}} OR RefinableCampus:'All')
- Deleted
Jennifer_Wilson Thanks a lot for the link!
Deleted Yes, you can customize the search result template using either handlebars or adaptive cards. check below official documentations for same:
- Customize layout templates
- Create your first custom template - example using handlebars
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
For SharePoint/Power Platform blogs, visit: Ganesh Sanap Blogs