Hi team,
I want to be able to restrict certain functions in my app based on the membership level that a client has purchased. In the past I tried to maintain two separate versions of the app. But Iโd like to simplify.
For Basic users all of the data they put in the app is viewable only by them.
For Pro users, I want them to see โShare with Coachโ Button/Action and a โBook A Sessionโ action
The data on type of user is kept in a separate โClientsโ table.
So for each of my Show ifs, I need to go off and lookup the current user in the clients table and then only show the Share with Coach field if that user is assigned the [Type] = โProโ
I cannot for the life of me figure out how to write this expression.
Any help?
e
Does following help?
In the BEHAVIOR sectionof the action settings of those two actions, under โOnly if this condition is trueโ , an expression something like below
IN(USEREMAIL(), SELECT(Clients[Email], [Type]=โProโ))
You may also try this expression for the Show_if of the buttons for these two fields .
Brilliant as always Suvrutt!
Thank you
User | Count |
---|---|
35 | |
30 | |
30 | |
20 | |
18 |