For an OOTB modern site page, I know you can dynamically filter the contents of a Document Library part, based on the filter value of a user's selection in a separate List part. You can also customise the List part with JSON to appear as fancy tiles. I'd like the user to click the tile containing their filter value, then see the document library dynamically filter.

How do you use the JSON to specify the List tile's selection action? Making clicking the tile similar to selecting the radial button in a list view?

At the moment, my list tiles don't do anything when clicked. They just change colour when hovered, and look nice. Using the tile view essentially breaks the connected filtering of the Document Library.

Here's the code i borrowed to make my tiles.


1 Answer 1


We cannot do dynamically filtering from JSON view/column formatting, which is about how we display the documents/items in a list view instead of what documents/items are displayed.

You will need advanced code to do dynamically filtering, such as REST API or SharePoint Framework Extensions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.