Forum Discussion

Amit_Patel's avatar
Amit_Patel
Copper Contributor
Mar 17, 2021

Need assistance with configuring pnp search & search results webpart

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

4 Replies

    • Amit_Patel's avatar
      Amit_Patel
      Copper Contributor
      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?
      • ganeshsanap's avatar
        ganeshsanap
        MVP

        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.

    • Amit_Patel's avatar
      Amit_Patel
      Copper Contributor

      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. 

       

Resources