Domino Code Fragment

Code Name*
Editor Access to a Section
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.219.236.62
Description*
Use this formula in the section field of a form to indicate who may edit that section (used to disallow the initial author access after composition): When using a form that is divided into two sections, and both sections have computed values, follow this procedure to allow only certain group members editor access after the initial document creation.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Note: FirstField is a field on the form that had an initial value of "". The initial author to be able to edit fields in the section, but after the document is saved, the initial author will no longer have access to the section.
Files/Graphics attachments (if applicable): Code:
@If( (@IsDocBeingSaved) & (FirstField != "");"GroupName";@UserName);