Forum Discussion
CSU_Scott
Oct 20, 2022Brass Contributor
Formatting All Columns in Microsoft or Sharepoint Lists
I wanted a generic way to apply formatting to all columns of a list without going column by column and editing each. Currently, I am doing that but substituted the field name for @currentField. Thi...
ganeshsanap
Oct 20, 2022MVP
CSU_Scott If you want to apply JSON formatting to whole list view, use view formatting.
Also, note:
- You cannot apply JSON formatting to all columns in list automatically / manually from UI/browser
- You can use PowerShell to apply JSON formatting for multiple columns, check: How to export or backup column formatting JSON values?
- Some of the columns in SharePoint like person or group, lookup, image columns are complex columns. So, only using "@currentField" will not work in this case
- If you are facing any bug while applying valid JSON formatting to any column, raise support ticket with Microsoft: Get M365 help - online support
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.