Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 2614 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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.

Posted

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!

This topic is 2614 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.