Manage Learn to apply best practices and optimize your operations.

Fix and update Lotus Notes documents with limited access

When updating or fixing a document in a Lotus Notes database, there are a few things to consider. First, ensure that you have the proper system access. Then, run this agent to easily update or fix the document.

Related resources from
Lotus Notes Domino access control lists (ACLs)

Avoid Lotus Notes Domino email archiving ACL issues with AdminP

Lotus Notes Domino access, permissions and authentication Reference Center

To update or fix a Lotus Notes document, developers must have the appropriate access level to a Lotus Notes Domino database. This isn't a problem in a development environment where Domino developers have free reign over the system. However, they're only given "Reader" access to systems in a live environment. To solve this, the user or administrator controlling the access group must grant developers higher-level system access.

The first step to updating or fixing a document is to set the "Run on Behalf of" value to an ID with sufficient access to the system. For example, our company uses a generic ID to sign our Lotus Notes Domino databases, which saves us from changing the "Run on Behalf of" value every time we make an agent change.

The next step is to run the following agent, which operates on a schedule from the development server.

Agent to work around
(Click on code for enlarged view and script download.)

This agent is a single-value replace. It could, however, include a function -- which you'll find below -- that lets you replace an element of a string or expand the replace, which details it with multiple value fields.

Function to allow replacements
(Click on code for enlarged view and script download.)

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

This tip was submitted to the tip library by member Jeremy Collett. Please let others know how useful it is via the rating scale below. Do you have a useful Lotus Notes, Domino, Workplace or WebSphere tip or code snippet to share? Submit it to our monthly tip contest and you could win a prize.

Dig Deeper on Lotus Notes Domino Access, Permissions and Authentication

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