Rich text field workarounds

Here are two Rich text field workarounds.

In R6, if an editable rich text field contains an attachment, while the document is in read mode, the user who has author access rights or higher may right click the attachment and select to "Edit" or "Delete" the attachment. These actions will even turn the document into Edit mode without triggering mode change events. For certain applications, this behavior is not acceptable. There are two workarounds for this:

  1. Use "Secure Access Section" to include the editable rich text field. The user who does not have Edit rights to the section will see the section as a "Reader" would.Then the "Edit' and "Delete" options for the attachment will be disabled for them.

  2. Use two sub-forms for a rich text field; one has a computed rich text field and the other an editable rich text field. The computed rich text field should be shown to users who can only read the attachment, because the "Edit" and "Delete" actions will be disabled.

    For documents that need to dynamically change access rights or load a different sub-form, put code in events (such as PostModeChange) to make the document close and re-open immediately.

Do you have comments on this tip? Let us know.

This tip was submitted to the SearchDomino.com tip exchange by member Leo Dai. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.

This was last published in October 2004

Dig Deeper on Lotus Notes Domino Access, Permissions and Authentication

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