September 25, 20178 yr Newbies 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.
September 25, 20178 yr 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!
Create an account or sign in to comment