Problem solve Get help with specific problems with your technologies, process and projects.

Is there a way so that a "delete" button on a form can be hidden?

Is there a way so that a "delete" button on a form can be hidden if the user can not delete that specific document. I want the button hidden if the user is author with delete in the acl, but did not create the document. I can probably check the acl for author and delete and then check the document authors, is there a better/easier way?

The best way would be to assign a role for the "Author with Delete" type folks. That way you could use the following Hide/When formula... @If( !@Contains( @UserRoles ; "AuthDelete" ) & !@Contains( @Author ; @UserName ) );

You obviously would have to format the names in your Author field(s) the same way you are checking with @UserName. (i.e. if you abbreviate the names in Author field, you would compare it to @Name([ABBREVIATE]; @UserName) )

Dig Deeper on Domino Resources - Part 7

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials

    Search400.com'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 ...