Forum Discussion
How to extract standard/custom column JSON formatting from Sharepoint List View?
1. I suppose same answer applies how to get tick/no tick mark formatting for boolean type column. There might be workaround, but no way to extract it as JSON code straight away from standard formatting for re-apply and/or customization, am I right?
2. Is there a way to extract style settings to be customized with JSON?
If I change default column formatting with something like:
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField"
}
I'm not getting the same look as with "default" column formatting, so I wonder - is there an easy way to extract style information for further customization with JSON?
roktoro Yes, same thing. However, there are few list formatting samples provided by community members on GitHub. You can look at those, use those as is or customize the JSON as per your requirements.
Check this link for all list formatting sample: List Formatting Samples
Check this link for column formatting sample: List of Column Formatting Samples
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.