Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 170
  • Last Modified:

Navigator Button "@if" usage

I have setup an @if statement like this:

@If(@IsMember("[Teamleads]"; @UserRoles);
@Command([OpenFrameset]; "chgmgtFrameset");
@Failure("You are Not Authorized to Use this Function."))

I have also setup it up the opposite using @IsNotMember.
Is the use of @if valid in navigators, I do not get any response or frameset open when I test the nav button.  Any ideas???
=:)
0
pratigan
Asked:
pratigan
  • 2
  • 2
1 Solution
 
ArunkumarCommented:
Don't Use @Failure.  Try @Prompt instead. Anyways you dont have any operation right ?

@If will work on Navigators for sure!

Good Luck!
Arun.
0
 
pratiganAuthor Commented:
Hello Arun,
I knew this was an easy one.  I must be brain dead this afternoon.  It worked with prompt.
Thank You !!!
Paul
0
 
pratiganAuthor Commented:
Thanks Again !!
0
 
ArunkumarCommented:
No Problem!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now