LotusScript -> Field Flags: SUMMARY READ/WRITE-ACCESS NAMES

Hello,

I want to make an agent that create a new field called “Editors” and this field has to be (Field Flags: SUMMARY READ/WRITE-ACCESS NAMES)

How I can create a field in lotusScript and make the field with de flag: “SUMMARY READ/WRITE-ACCESS NAMES”

Thank You very much.

Subject: LotusScript → Field Flags: SUMMARY READ/WRITE-ACCESS NAMES

You need to create be a field of type “Author”

authoritem = new NotesItem(doc,“Field”,AUTHORS)

replace AUTHORS by READERS for READ-ACCESS or NAMES for a simple names listing.

Hope this helps

Subject: RE: LotusScript → Field Flags: SUMMARY READ/WRITE-ACCESS NAMES

Help:

specialType%

Optional. Constant of type integer. Indicates if a text item should be of type Names, Readers, or Authors. Must be one of the following constants: NAMES, READERS, or AUTHORS. To use specialType%, the value parameter must be a string or array of strings.

I can’t put “READ/WRITE-ACCESS NAMES”

Is enough if i put NAMES?

Thank you.

Subject: RE: LotusScript → Field Flags: SUMMARY READ/WRITE-ACCESS NAMES

The phrase “SUMMARY READ/WRITE-ACCESS NAMES” means the same as AUTHORS. Just do what Holger said and you will be fine. For an existing item, you can set the NotesItem.IsAuthors property instead.