Hi,
I have a Canvas App.
I have a sharepoint list
"My Line Managers List"
and a Text Column in that list:
"Service Line Managers Email"
(The sharepoint list just stores a list of Emails. There is no fixed number of them. Emails will be added as and when new people are assigned.)
On App Start i assign a Global Variable:
"varLoggedInUserEmail, User().Email"
I have 2 buttons on screen:
Button1 which is always Visible no matter who is logged in
Button 2 is only Visible if the following condition is met:
Search through the Sharepoint List "My Line Managers List", "Service Line Managers Email" column to see it the varLoggedInUserEmail exists in the list.
If it does i want Button 2 to be visible, if the varLoggedInUserEmail does not exist in the Sharepoint Ljst then i want Button 2 to be hidden.
Please can anyone suggest the fx i would need to use in the Visible property of Button 2 to achieve this functionality.
Or suggest a better way to do it.