New answers tagged

0 votes

Hide "Favorite/Unfavorite" button in ribbon via list view format CommandBarProps

As per my research, currently it is not supported to hide "Favorite" and "Unfavorite" options using SharePoint list view command bar JSON formatting. You can try raising the new ...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

SharePoint default form json - How to set a section name to = the display name of a user from a people-picker

Unfortunately, this is not possible using SharePoint Online JSON form formatting. displayname in custom body sections only allows plain "text" values. It does not allow expressions. Even if ...
Ganesh Sanap - MVP's user avatar
0 votes

Conditionally Hide Show Fields On A SharePoint List Form

If 'Cost Category' column is a single selection choice column in the SharePoint list, Use conditional formula like below for 'Invoice/Receipts' column: =if([$CostCategory] == 'Travel' || [$...
Ganesh Sanap - MVP's user avatar
0 votes
Accepted

Show a column if another column has a specific value in microsoft lists

Unfortunately, SharePoint Online modern experience conditional formulas do not support usage of multiple selection choices columns. Unsupported column types in conditional formulas: Person or Group ...
Ganesh Sanap - MVP's user avatar
0 votes

Show a column if another column has a specific value in microsoft lists

{ "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "div", "style": { "display&...
FredericDietrich's user avatar
0 votes
Accepted

Microsoft Lists how change color if date is more than 6 months in the past

There is no subDays operator available in SharePoint JSON formatting. You have to use addDays in below format to get the date in the past: addDays(@now, -180) Here is a simple example for your ...
Ganesh Sanap - MVP's user avatar
0 votes
Accepted

If two columns show no date, "Status" column shows "Incomplete"

Try using SharePoint column formatting JSON like: { "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json", "elmType": "...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

How to change the background color of a list to red with JSON?

Unfortunately, you cannot change the background color "whole" list using SharePoint JSON view formatting. You can only change the background color of individual rows (items) in the ...
Ganesh Sanap - MVP's user avatar
0 votes

How to change the background color of a list to red with JSON?

Using the following code to change the background color of a list to red : "elmType": "div", "style": { "background-color": "#ff0000&...
Xyza_MSFT's user avatar
  • 416
0 votes

Replace semicolon with comma in SharePoint text colomn

This is the expected behavior in SharePoint while using JSON Formatting as SharePoint JSON formatting only customizes the display of the list columns and does not store/modify the actual value of ...
Ganesh Sanap - MVP's user avatar

Top 50 recent answers are included