Modern UI Column Customization: How do I handle lookups with multi value?

Copper Contributor

For modern ui json column styling what's the way for styling per item in a multi value lookup?

 

At the moment this just outputs the lookup as one value separated by commas. Any insight would be great.

 

{
"elmType": "div",
"style": {
},
"children": [
{
"elmType": "a",
"txtContent": "@currentField.lookupValue",
"attributes": {
"href": {
"operator": "+",
"operands": [
"/url/DisplayForm.aspx?ID=",
"@currentField.lookupId"
]
},
"target": "_blank"
}
}
]
}
0 Replies