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.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



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

Notes/Domino 6 and 7 Forum

developerWorks

  

PreviousPrevious NextNext

RE: @IsNotMember is not working in my Application
Harkpabst Meliantrop 28.Apr.08 01:21 PM a Web browser
Domino Designer 6.5 Windows XP


As I said: Check from the view level using the properties box what's in the field.

Since Approver is a dialog box, it stores text (not names) in abbreviated format, e.g. John Doe/Sales/MyCorp. @UserName returns the name in full canonical format, e.g. CN=John Doe/OU=Sales/O=MyCorp. You were right in using @Name to convert that. But what you need to compare is not the common name component, but the abbreviated name.

@Name([ABBREVIATE]; @UserName)

would be appropriate here. This applies, no matter if you want to stop execution of the formula, or if you want to hide the button.

One more note, though: Storing user names in text fields is surely possible and sometimes even just what you need to do (otherwise Lotus had not included the "use address dialog option" in the dialoglist field). But you should be aware of the fact, that names stored in text fields will not change, if a user is renamed (marriage, divorce, changed position, change in organizational structure, ...). If the requirement for your application is to store the status quo exactly how it was at the time of approval, the text field is the right choice. If it is more important, that a name change is reflected throughout the organization including old data, it would be better suited to use a names field. This will enable the administration process to rename the field automatically, should a user name change in the future (if you enable this option via ACL). As I said, it depends on what you need.

NB: If Approver is not a multi-value field, it is not necessary to use @IsNotMember. A simple != will do.




@IsNotMember is not working in my A... (Vijaya Kumar Ch... 28.Apr.08)
. . RE: @IsNotMember is not working in ... (Matt Smith 28.Apr.08)
. . . . RE: @IsNotMember is not working in ... (Vijaya Kumar Ch... 28.Apr.08)
. . . . . . RE: @IsNotMember is not working in ... (Matt Smith 28.Apr.08)
. . . . . . . . RE: @IsNotMember is not working in ... (Vijaya Kumar Ch... 28.Apr.08)
. . RE: @IsNotMember is not working in ... (Harkpabst Melia... 28.Apr.08)
. . . . RE: @IsNotMember is not working in ... (Vijaya Kumar Ch... 28.Apr.08)
. . . . . . RE: @IsNotMember is not working in ... (Harkpabst Melia... 28.Apr.08)
. . . . . . . . RE: @IsNotMember is not working in ... (Andre Guirard 28.Apr.08)
. . . . . . . . . . RE: @IsNotMember is not working in ... (Vijaya Kumar Ch... 29.Apr.08)
. . . . . . . . RE: @IsNotMember is not working in ... (Vijaya Kumar Ch... 29.Apr.08)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

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

Resources

 Resources
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

Wikis

 Wikis
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