Cannot Author edit the profiledocument by UI?

I am trying for a user with Authors ACL to create his own profile documents, which could not be realized by either program as follows:

  1. @Command([EditProfile];“profile”;@UserName); the profile has a Authors-type field which is calcualted when created the document,

  2. Instead of EditProfile, EditProfileDocument command makes only the same result, or

  3. A LotusScript in the button click event makes the same result:

Sub Click(Source As Button)

Dim ws As New NotesUIWorkspace

Dim ses As New NotesSession

Dim db As NotesDatabase

Set db = ses.CurrentDatabase

Dim doc As NotesDocument



Set doc = db.GetProfileDocument("Profile", ses.UserName)

Dim ProfileAuthors As New NotesItem(doc, "Author", ses.UserName, AUTHORS)

doc.Form="Profile"

Call ws.EditDocument(True, doc)

End Sub

The user cannot save the profile nor change the mode to edit the profile in the very case.

I don’t like to make the db administrator to create the users’ profile to grant the privilage to users.

Subject: Cannot Author edit the profiledocument by UI?

Is the problem consistent (or does it work for some people)?

I ask because I’ve had a similar problem I have not yet been able to track down. About 10% of my users cannot edit their profiles (they somehow lock up the very first time users try to create them - they come up read only).

I run a code to delete the corrupted profiles (doc.remove). This fixes the problem - next time they access/create their profile, it comes up in edit mode.

It’s pretty strange. Never had this prob in R5. Please let me know if this works for you. I’m very curious.

hth,

Rachel

Subject: RE: Cannot Author edit the profiledocument by UI?

The problem is consistent. No users can edit their profiles. I have given up to make user to edit their profile directly.

Instead, I used a embbeded editor in the profile form so that users could enter the values of profile.