Dec 10 2021 07:26 AM
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.
Dec 12 2021 08:05 AM
Solution@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.