PNP Search Result Template

Deleted
Not applicable

Hi everyone,

 

I want to customize the search result display. Is it somehow possible? I see I have to use handlebars.

 

 

 

Kind regards,

Say

3 Replies

@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 Yes, you can customize the search result template using either handlebars or adaptive cards. check below official documentations for same:

  1. Customize layout templates 
  2. 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

@Jennifer_Wilson Thanks a lot for the link!