Hello Community,
I have an application that will be used for company people to apply for mobile phone exchange in case they are eligible and that has one of the data base a SharePoint list with a 'Person or Group' column and also in the application i set a variable in the App OnStart for having the username of app user.
I cannot manage to make the application search in that SharePoint list and if the person logged in the application exist in that sharepoint list the gallery with available phones to be displayed and if the logged in person does not exist in the sharepoint to display a message that the person is not eligible.
What i have in App OnStart:
Set(kCurrentUser, User());
Set(isEligible, IsBlank(LookUp('Vodafone Database', Nume.Email = kCurrentUser.Email)));
The variable 'isEligible' is working just fine when used in 'app edit mode'/previw but if i open the application from normal user perspective, the variable is not working.
Any advice would be appreciated.
Thank you in advance for your support.