pnp / List-Formatting

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

Added sample generic item version history #673

Closed Tanddant closed 1 year ago

Tanddant commented 1 year ago
Q A
Bug fix? no
New sample? yes
Related issues? N/A

What's in this Pull Request?

Please describe the changes in this PR. Sample description or details around bugs which are being fixed.

A quick simple sample that demonstrates how users can get to the "version history" of document sets (or really any other listitem)

tecchan1107 commented 1 year ago

Thank you so much for amazing sample @Tanddant 😍🤩✨ I didn't know the version history page could be opened!!

I have merged them, please check the following link! https://github.com/pnp/List-Formatting/tree/master/column-samples/generic-item-version-history

In addition, the following modifications were made during the merge. Please let me know if you have any questions.

Once again, thank you for the great sample!!!

Tanddant commented 1 year ago

Thanks @tecchan1107 🙌

I didn't know the @curretWeb option, so we both learned something useful today, how awesome! 🤓

Is there a complete list of all the available formatting "tags", like @curretWeb and so on somewhere? - would be an awesome community doc if Microsoft doesn't have an official one!

tecchan1107 commented 1 year ago

@Tanddant @currentWeb is described in the following document! It also describes other tokens! https://learn.microsoft.com/sharepoint/dev/declarative-customization/formatting-syntax-reference#currentweb

Tanddant commented 1 year ago

@tecchan1107 Thanks! - that's exactly what I was looking for, but couldn't find 🙌