Using Formula language to read an environment value
envViewArchived := @Environment("envViewArchived";
SELECT (@If(envViewArchived = "1";@Contains(Form; "Investigation") & Archived = "1";
@Contains(Form; "Investigation") & Archived = "0"))
Looking for relevant Lotus Domino Whitepapers? Visit the SearchDomino.com Research Library.
Kmpgmr | Apr 28 2008 7:00PM GMT
Are you trying to set permissions to view specific documents using an environment variable? If so, you might reconsider when and how this variable is set. It might be better to use an ACL role, or group membership for the user.