Q
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) )

This was last published in June 2001

Dig Deeper on Domino Resources - Part 7

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • 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 ...

SearchDataCenter

SearchExchange

SearchContentManagement

Close