Skip to main content
 
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

  

Sign in to participate PreviousPrevious NextNext


Jean Stachler 23.Sep.11 11:45 AM a Web browser
Domino Designer 7.0.2 FP3 Windows XP


I am back to another Hide-When statement issue..... (I believe I have been working with these fields way tooo-o-o-o-o long!)

Here is what I am wanting to have happen. This field is titled "Approval" and is a combobox with values of "Approve", "Deny" or "Request More Information".

When the document is initially created, the document status is blank. It is sent to the Area Manager and the document status is set to "Request Submitted".
When the document has the status of "Request Submitted", the document is to be editable by the Requestor who submitted the document and the Area Manager and possibly the Author of the document who submitted the document on behalf of someone else.

The Area Manager is the only person that should be able to "Approve", "Deny" or "Request More Information". All other persons editting the document should not be able to edit this field. After the Area Manager has selected the option of "Approve" for the "Approval" field, the document status is changed to "BU Evaluating" with a substatus of "Product Team Member Review" and this field should no longer be edittable.


I have the Area Manager's name listed in the field titled "EmailAddress". The value of this field displays the name in this manner:
"CN=John Doe/OU=Applications/O=USA"

Listed below is the "FIRST" statement that I initially had in the "Approval" field which didn't work.
I have a "SECOND" hide when statement listed below that I also tried, but didn't work either.

Your thoughts on how this should be listed ?
Thanks in advance for your comments.

Jean


CODE BELOW>

FIRST HIDE WHEN STATEMENT:
PCRStatus ="Request Approved":"PT Accepted":"PT Evaluating": "PT Evaluations Complete": "PCR Accepted": "EO Assigned": "PCR Complete":"Rejected" :""
|(@Name([Canonicalize]; @UserName) != EmailAddress & PCRStatus = "BU Evaluating" & SubStatus = "Evaluators Reviewing")
|@Name([Canonicalize]; @UserName != EmailAddress & PCRStatus = "Request Submitted")


SECOND HIDE WHEN STATEMENT:
(@Name([Canonicalize]; @UserName) != EmailAddress & PCRStatus = "BU Evaluating" & SubStatus = "Evaluators Reviewing")
|@Name([Canonicalize]; @UserName != EmailAddress & PCRStatus = "Request Submitted")

__._,_.___






Hide When statement... (Jean Stachler 23.Sep.11)
. . RE: Hide When statement... (Mike Edgewater 23.Sep.11)
. . RE: Hide When statement... (Doug Finner 26.Sep.11)
. . . . RE: Hide When statement... (Kenneth Haggman... 28.Sep.11)





  Document options
Print this pagePrint this page

 Search this forum

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

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 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 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
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow