Forum Discussion

ChloeB33's avatar
ChloeB33
Copper Contributor
Dec 10, 2021
Solved

SharePoint list formatting not working on Search Results page

I have a SharePoint list, formatted with JSON in the gallery view. If I search for an item, the format is not supported.

Here the sample used: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-gallery-formatting

 

However, if I use the list view. It's working well.

I have to use the gallery view because there is about 1500 items and it seems the list view format can't display more than 100 items if the format causes the rows to be on the same line: https://github.com/pnp/List-Formatting/issues/108 

 

The column view formatting is not supported in the search view: https://github.com/pnp/List-Formatting/issues/168. Is it the same for the gallery view?

 

Thanks for help.

  • ChloeB33 As per my analysis, when you search within SharePoint list, search results will be shown in "List" view and not in "Gallery" view. So, this is not specific to JSON formatting as search results are shown in list view by default.

     

    Also, there is no way to change it to "Gallery" view from search results page:


    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.

1 Reply

  • ChloeB33 As per my analysis, when you search within SharePoint list, search results will be shown in "List" view and not in "Gallery" view. So, this is not specific to JSON formatting as search results are shown in list view by default.

     

    Also, there is no way to change it to "Gallery" view from search results page:


    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.

Resources