Group Names in Authors and Readers field

I have one author and one reader field in my form.I update these fields through Agent where i use these statements to append the Authors and Readers fields

Set item = doc.GetFirstItem(“AuthorsX”)

Call item.AppendToTextList(recipient.cannonical)

The problem is if i want to add a Group name i can’t have it’s cannonical form.Which creates problem while sending mails.becoz we can have abbreviated form of names for sending mails.

Any suggestions how to solve this problem of having cannonical group names in Authors and Readers fields,so that workflow is not getting affected by this.

Subject: Group Names in Authors and Readers field

The real solution here is to NOT use Groups or Names in an author field - use roles. Then, assign those groups to the roles in the ACL. This might eliminate the need to modify the field as well.

…just my 2 cents

Subject: Group Names in Authors and Readers field

Could you have two separate Author fields, one for Names and one for Groups - then your code would know what it’s dealing with.

Subject: RE: Group Names in Authors and Readers field

Or you could add code to test the canonical for an organisation value (“O=XXX”) and use the common instead if it’s not there.