Feb 25 2021 07:41 AM
Hi Guys
When using the 'Format View' pane in a SharePoint Modern list, I can create some basic JSON which works (i.e highlight 'DueDate' in red if the date entered has already past).
However, if we want to keep that JSON file in a library such as Site Assets, so its centrally maintained, can we put a URL linking to it, in the 'Format View' pane?
Feb 25 2021 07:51 AM
@robtaylor1996 no I don't think so, it's expecting JSON code, not a link to it. I keep mine in Notepad++ files in OneDrive.
Rob
Los Gallardos
Microsoft Power Automate Community Super User.
Feb 25 2021 08:08 AM
@RobElliott Thanks. We need to use the same JSON in many sites, is there a best way? Also some option to maintain the sites in the future in one hit as such.
Feb 25 2021 08:10 AM
@robtaylor1996 no there isn't. That's why I keep the JSON in notepad++ files then copy & paste as necessary. There's no way that I know of to update multiple sites in one go.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
Feb 26 2021 06:22 AM
@RobElliott That would make a great uservoice suggestion. We used to be able to do that with our xslt.
May 05 2021 02:56 AM
see this example how to use $schema with an URL
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/view-formatting