Forum Discussion
Kannan_Kalisamy575
Jun 10, 2020Copper Contributor
Conditional JSON formatting of button in SharePoint List base Person(Multiple selections)
I am looking for a solution for a formatting problem in one of my sharepoint columns. In one column I have a button which triggers a flow. I am aiming for a visability of the button in correla...
Kannan_Kalisamy575
Jun 10, 2020Copper Contributor
Managed to find the solution
PersonList is the Sharepoint list column person with multi selections.
"=if(indexOf(join([$PersonList.email],';'), @me) != -1, 'none', '')"
{
"elmType": "button",
"customRowAction": {
"action": "executeFlow",
"actionParams": "{\"id\": \"a4e98f73-b36b-48c6-8227-51a00e4cd26d\"}"
},
"txtContent": "Mark Complete",
"attributes": {
"class": "sp-row-button"
},
"style": {
"float": "right",
"display": "=if(indexOf(join([$MarkCompleted.email],';'), @me) != -1, 'none', '')"
}
}
- ezJurgenJan 05, 2021Brass ContributorHey Kannan,
would you mind posting a screenshot of how it looks, we are interested in that functionality 🙂
thanks!