Newbies rainforestjim Posted September 25, 2017 Newbies Posted September 25, 2017 I'm using some script to direct users to different layouts when the access my database via WebDirect. At the moment all users are directed to one of two layouts using the following #t ( Case ( APP__Application::Type = "Long" ; "Application Detail WEB" ; "Application Detail Rapid WEB" ) ) What I actually need to happen is that when a "reviewer" logs in they are directed to "Application Detail Review WEB" for everyone else the above code is correct. Any help would be much appreciated.
Fitch Posted September 25, 2017 Posted September 25, 2017 You can add multiple conditions to a Case statement. You didn't say how you define "reviewer" but let's say it's done the way I'd do it, in the security settings: Case( Get ( AccountPrivilegeSetName ) = "reviewer" ; "Application Detail Review WEB" ; APP__Application::Type = "Long" ; "Application Detail WEB" ; "Application Detail Rapid WEB" ) PS: Also, you're assuming we know what #t is. Custom function I'm guessing? Welcome to the forums!
Recommended Posts
This topic is 2887 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now