1

In SharePoint Online I've created a list and applied JSON formatting to a particular view. This formatting essentially displays the items as buttons. I then created multiple views and applied the same JSON formatting to each, and so far, so good - all views display items as buttons.

I then created a new list on SharePoint Online, importing from the existing list so that the new one had the same columns etc. After populating this list, I created a view and applied the exact same JSON formatting to it, but the view appears just like a standard list - the JSON formatting isn't working at all.

What could be causing this problem?

1 Answer 1

2

After spending longer than I care to admit, I realised I was missing something very simple.

For my particular JSON formatting to work, I needed to ensure the view was shown as a Gallery. Once I created a new view and chose to Show as Gallery, the applied JSON formatting worked fine.

Moral of the story, ensure the type of view (i.e. List v Calendar v Gallery v Board) is compatible with the JSON code you want to apply.

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.