Simplified Technique For Complex Hidewhen's

Using Hide when formula can become quite confusing especially when multiple
conditions are required. The confusion arises when we try and wrap our brains
around the idea that if the condition is true then the element will not appear.

A simple technique I use is to the @IF statement to structure my conditions.
Think of the conditions to see the document and translate into an If statement.
Then all you have to do is assign @False ( to show the element) or @True to
ensure it is hidden.

Below are a couple of examples
Only show an "Approve" action button when the document has been submitted and
the status field = "Submitted" and the user has the "[Approver]" role. Also
permit the administrator to be able to approve the document as well

The typical interpretation would be

@IsNewDoc | (Status != "Approved" &

The @If interpretation is....

@if(Status = "Approve" &

Dig Deeper on Domino Resources

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...