Forum Discussion
Patrick O'Mara
Nov 12, 2018Copper Contributor
How do I handle lookups with multi value?
For modern ui json column styling what's the way for styling a multi value lookup?
At the moment this just outputs the lookup as one value separated by semicolons. Any insight would be great so that each lookup item can be linked. I need this to be able to fix the current broken link in the lookup (btw where do I submit bug reports for sharepoint online?)
{
"elmType": "div",
"style": {
},
"children": [
{
"elmType": "a",
"txtContent": "@currentField.lookupValue",
"attributes": {
"href": {
"operator": "+",
"operands": [
"/url/DisplayForm.aspx?ID=",
"@currentField.lookupId"
]
},
"target": "_blank"
}
}
]
}
No RepliesBe the first to reply