Formatting a column with hyperlinks (hyperlink column) using JSON

%3CLINGO-SUB%20id%3D%22lingo-sub-1405227%22%20slang%3D%22en-US%22%3EFormatting%20a%20column%20with%20hyperlinks%20(hyperlink%20column)%20using%20JSON%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1405227%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20to%20format%20a%20hyperlink%20column%20but%20am%20struggling%20with%20the%20JSON%20sample%20provided%20here%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fcolumn-formatting%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fsharepoint%2Fdev%2Fdeclarative-customization%2Fcolumn-formatting%3C%2FA%3E%3C%2FP%3E%3CP%3EWe%20have%20hyperlinks%20in%20a%20custom%20list.%20The%20items%20are%20Stable%2C%20Low%20Risk%20and%20High%20Risk%20and%20we%20want%20to%20apply%20RAG%20colours%20to%20those.%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20supply%20some%20JSON%3F%20I've%20spent%20time%20trying%20to%20figure%20it%20but%20I'm%20struggling.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1405227%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ELists%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Contributor

I'm trying to format a hyperlink column but am struggling with the JSON sample provided here:
https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting

We have hyperlinks in a custom list. The items are Stable, Low Risk and High Risk and we want to apply RAG colours to those. 

Can anyone supply some JSON? I've spent time trying to figure it but I'm struggling.

0 Replies