Starting View to be different if a user has no signature in the User Table

Hi,

 

So I want the Starting view to be a certain view if the user has no signature in his profile. 

I've been trying with this expression in the Starting view :

IF(ISBLANK(ANY(SELECT(User[User_Sign],User_Email=USEREMAIL()))),
"View the user needs to see with no signature",
"View the user needs to see with signature")

however, I do not get the expected result. Any pointers on the expression?

 

thanks

Solved Solved
0 4 95
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

First and foremost, do you understand that the starting view is only ever applied the very first time the user uses the app, not every time the user opens the app? There is no way to direct the user to a particular view every time the app is opened.

View solution in original post

4 REPLIES 4

Hi @JpChapron

Great Question!

Here is how we create different views based on users having a profile or not for our Employee Onboarding App. 

1. Data Structure - Menu Table

ID - Key

Name - Label

Image - Label

Show if user is in directory - Yes/No

2. Create a slice - Menu: Show if user is in directory slice

3. Slice Expression 

IF(
IN(USEREMAIL(),Team[Email]),
[Show if user is in directory]=TRUE,
[Show if user is in directory]=FALSE)

4. Set the menu view to the slice you created

Menu view without user in directory 

 Profile.PNG   

Menu view with user in directory

 menu 4.PNG

Hope this helps. Let me know if you have any questions and I be sure to help out in any way that I can. 

Thanks,

Austin from AppSheet Training

Hi Austin, Thanks for the detailed explanation

However it doesn't really answer my question. I've already worked with slices depending on user.

What I want to do is to Check if the user has a specific value in the User's table (in this case signature) Then present the view I need if signature is blank, or another view if signature is not

Your example is good if the user is not in the directory, but mine will always be.

Steve
Platinum 4
Platinum 4

First and foremost, do you understand that the starting view is only ever applied the very first time the user uses the app, not every time the user opens the app? There is no way to direct the user to a particular view every time the app is opened.

Hi Steve

No I did not understand that

I will pursue other options 

 

thanks !

Top Labels in this Space