Tip

Fix and update Lotus Notes documents with limited access

Related resources from SearchDomino.com:
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 SearchDomino.com 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.

This was first published in September 2008

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.