0
votes

Followed this link to customize list forms: https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/list-form-configuration#configure-custom-body-with-one-or-more-sections

I applied conditional formula =if([$Assignedto.email]==[$CurrentUser.email], 'true', 'false') to column Assigned to but it does not work

My original requirement was to hide the section entirely. Is it possible through modern UI json formatting for List forms?

Edit: I tried =if([$Assignedto.email]==@me, 'true', 'false') It still did not work. Only hides the column completely regardless of condition is true/false

1

1 Answers

0
votes

Per my test, I could reproduce your issue on my end. The conditional formula looks not work work Person columns. Seems like a bug.

Also I tried with this : =if([$Assignedto.email]=='[email protected]', 'true', 'false'). The column would be awlays hidden.