?
Solved

Outlines - Hide When

Posted on 2003-03-04
11
Medium Priority
?
232 Views
Last Modified: 2013-12-18
I have an outline for my navigation.  I have placed a hide when to display the outline entry depending on the value of a field.

The hide when formula is:

!(EffectiveRoles="[Admin]" | EffectiveRoles="[SuperUser]" | EffectiveRoles="[GTO]")

The problem is that this isn't working if I place the same hide when on a field it works but it doesn't work on the outline entry.

Does anyone have any ideas how I can solve this?

Thanks
0
Comment
Question by:fayeb
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
  • +1
11 Comments
 
LVL 5

Expert Comment

by:snocross
ID: 8064067
Hmmm.... seems like it should work.   Maybe try @contains instead like this?

!(@Contains(EffectiveRoles;"Admin") | @Contains(EffectiveRoles;"SuperUser") | @Contains(EffectiveRoles;"GTO"))

0
 

Author Comment

by:fayeb
ID: 8064236
nope still no luck!
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 8064328
And

Is Effective Roles defined as,

EffectiveRoles := @UserRoles ???

-Arun.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:snocross
ID: 8064525
Good point.  I assumed he could see the values on his screen.  Hi Arun.
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 8064564
May be it could refer a field with @UserRoles computed formula... Hi Sno...

:-)
0
 

Author Comment

by:fayeb
ID: 8065552
no I can't use @UserRoles
0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 8065895
Okay if these are not connected with Roles in ACL then why dont you simply use the same formula without "[" "]"  Why do you need the square braces ... ?

I think i am getting confused here.

0
 
LVL 5

Expert Comment

by:snocross
ID: 8066176
me 2
0
 

Author Comment

by:fayeb
ID: 8823515
A answered this question myself:

I ended up having to have  field for each role which has the formula

@If(@IsMember("[value]";EffectiveRoles);"0";"1")

I then did a hide when statement to look at this field.

I am posting to have this question closed/deleted.
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8839682
PAQd and points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question