pnp / List-Formatting

List Formatting Samples for use in SharePoint and Microsoft Lists
https://pnp.github.io/List-Formatting/
MIT License
1.78k stars 853 forks source link

I have a question about List-Formatting/view-samples/board-tags/ #575

Closed Michal-Ziemba closed 1 year ago

Michal-Ziemba commented 2 years ago

Sample [List-Formatting](https://github.com/pnp/List-Formatting)/[view-samples](https://github.com/pnp/List-Formatting/tree/master/view-samples)/board-tags/

Question

@aaclage Can you explain how to apply JSON files from the repository (board-tags-boxes.json, board-tags-cards.json, board-tags.json)? Are they 3 different types of a "bucket" type list view formatting? If so, can you give a brief description of what to expect applying each of them? I got different results from what you showed in the readme in the animated gif. /Mike

aaclage commented 2 years ago

Hi @Michal-Ziemba

You are correct, should update documentation. Was running to have the formatt done for the presentation.

Here are the description:

Board Card board-tags-cards.json Format: The goal of this formatting is display content as Card with associated Style. This formatting should be included in a View of type "List". It's important to include in the View all columns referenced in the readme.md file. board-tags-cards.json

image

Board Tag Timeline board-tags.json Formatt: The goal of this formatting is display content as Card in Board with Timeline Style. This formatting should be included in a View of type "Board". It's important to include in the View all columns referenced in the readme.md file. Since edition of Board View is not simple to include all fields, can recommend List Settings > View > Select View name associated > include fields in view. This will give access to content when List formatting is renderized.

image

Board Tag Box board-tags-boxes.json Formatt: The goal of this formatting is display content as Card in Board with Box Style. This formatting should be included in a View of type "Board". It's important to include in the View all columns referenced in the readme.md file. Since edition of Board View is not simple to include all fields, can recommend List Settings > View > Select View name associated > include fields in view. This will give access to content when List formatting is renderized.

image

danfoxley commented 1 month ago

Here because I didn't see this page updated with helpful information found in this thread.