I have created a Lotus Notes Application that uses a profile document which keeps critical look-up values that the entire database uses.
I am using the @Command([EditProfileDocument]; “Field Values”) to create and edit field values that are used throughout the application. I also have created a user role “Admin” which I use to restrict who can edit this profile document.
All users who access this database including the Admin have author rights. This is a requirement. The Lotus Help says that the access required to create or edit a profile document is Author with create document privileges. Well, when we deployed this application - the Admin could not create the profile document using the command above. Whenever the edit profile action was pressed the Admin would see the profile document in “read only” mode. Note: the admin was trying to create the profile document.
So I recreated this problem on my test server. Here are the steps below to recreate this:
1 - Create a new database on an 8.5.1 Domino server.
2 - The ODS is 43.
3 - Create a form with two text fields on it
4 - Save the form (as “Test”)
5 - Create an action on a view
6 - Use the following code to edit the profile document: @Command([EditProfileDocument];“Test”)
7 - Add a user to the ACL of this database and give them Author rights with Create and Delete privileges.
8 - Switch to that user id and then access the database on your Domino Server.
9 - Click the Edit Profile button you created (You will see the profile document in edit mode)
10 - Now without making any changes to the profile document - close it without saving it.
11 - Get out of the database
12 - Reopen the database and click the “Edit Profile” action you created (you will no longer be able to edit the profile document).
Has anyone had a similar problem with Profile documents? I am thinking I have to recode and use a lone document in a hidden view for my profile document.
Any help would be so so awesome!
Thanks!