Need assistance with configuring pnp search & search results webpart

Copper Contributor

I have downloaded the modern search package from github which includes search box, search results webparts. 

4 Replies

Hi @Amit_Patel 

 

What kind of configuration do you need? I can help you out.

@Matti_Paukkonen 

 

I need to be able to search for keyword from the searchbox which can search from search results webpart and also to be able to filter by document type column which we are using in document library.  I need to setup as per below example from council website. 

Amit_Patel_0-1615957951350.png

 

Hi Matti,
I have managed to get the search working but need assistance with color coding and formatting in search results webpart? do you know how i can achieve it?

@Amit_Patel If you want custom formatting for search results, you need to use the Custom layout for your search results web part & then define the custom HTML template.

 

The 'custom' layout is the minimal layout to start with if you want to create your own customized UI from scratch. You can also start from an existing layout.

 

You can find more information at: Search Results - Layouts 


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.