Readers field

Hi,

I have a multi value readers field in my form.I want to append both roles and Lotus notes ID to that field.What is the code for that in Lotus Script??

Subject: Readers field

Hi Manoshija,

You are looking to append a NotesItem to a document, and whether it is a name item or a role is no matter.

For example:

Set readersNameItem = New NotesItem(notesDocument, fieldName,memberString,READERS)

Where memberString is a string that contains a comma delimited list of members (i.e. “Chris Knoblock/Lotus, [appAdmins]”

After creation you can append new items by using the AppendToTextList method.

Check the designer helps for more info on the NotesItem class.

-Chris