Home > Blockchain >  Sharepoint JSON [$Author.email] == '@me' is not working
Sharepoint JSON [$Author.email] == '@me' is not working

Time:10-02

Been doing a Sharepoint list, for some documents to go in diffrent "states" by each member of our team it have gone through.

i have a button that should be displayed, if the current user is equal to the author.

enter image description here

CodePudding user response:

Change the visibility property as following(note the brackets between two conditions):

"=if((@me== [$Author.email] && [$Status]== 'Draft') || (@me== [$Author.email] && [$Status]== 'RedoDraft') , 'visible', 'hidden')"
  • Related