When users log into my app they are given an access level (number between 1 and 5) which is Set to a global variable.
I've managed to use the Value function in the app to convert it into a number such that arguments like '>' work. However this does not seem to work on a form dismplay mode, see below:
The error says: "The property expects Enum values, but this rule produces incompatible Text values".
I'm not sure if this is a bug or if I am doing something stupid, please can you help?
Thanks in advance!
Go to Solution.
Big apologies! I'd been staring at it for too long and missed a very silly mistake!!
I was using display mode instead of form mode in the first line of the forumla, it should read:
If(Value(Access_level)>3,FormMode.Edit,If(dropdown_user.Selected.Operator=DataCardValue15_1.Text, FormMode.Edit, FormMode.View))
View solution in original post
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.