Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum



PreviousPrevious NextNext

Mark XY Brown 2.Dec.11 11:25 AM a Web browser
Domino Designer 6.0.3 Windows XP

Hi All

I have a need to hide an action button from everyone bar those who fall into the intersection of two groups, and I can't grasp the required logic for it. Last night's office Christmas party might have something to do with this...

Anyway, the conditions are as follows:
- Must be a member of the group "Service Delivery"
- Must have the role "[Admins]"

In this database are documents created with the form "AppActGroup", which is used to define groups. The members field is set to Names, Allow multiple values. The role is attached to various entries within the ACL.

There are currently three people who should be able to see this button, one of which is the authorised design profile that we use to sign design changes. I have set up a test document that confirms that this profile is both in the required group and has the required role, but the action remains invisible. The formula I'm using is as follows:

tmp1:=@IsMember("[Admins]"; @UserRoles);
tmp2:=@IsMember(@Name([CN]; @UserName); @Explode(@DbLookup("":""; ""; "AppGroups"; "Service Delivery"; 2)));
@Sum(tmp1; tmp2) !=2

The view "AppGroups" contains a comma-separated list of the names of the group members in the second column, using the following formula:

@Implode(@Name([CN];GroupMembers); ",")

What am I doing wrong?

Hide-when woes - multiple condition... (Mark XY Brown 2.Dec.11)
. . RE: Hide-when woes - multiple condi... (Pete Burn 5.Dec.11)
. . RE: Hide-when woes - multiple condi... (Stan Rogers 2.Dec.11)
. . RE: Hide-when woes - multiple condi... (Elizabeth Thied... 2.Dec.11)
. . . . RE: Hide-when woes - multiple condi... (Mark XY Brown 5.Dec.11)

  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite