Hi,
I have been setting Readers field values in documents with lotus script. But when I see the effect its not working properly.
for example, if I put my name in readers field through Lotus Script, then documents will not be visible to anybody except me. When I want to add more prople, its not visible to them evenif they have their names in Readers field.
I have checked that this field is READ ACCESS in documents property.
When I open and save documents from view, it shows to everybody those who are listed in the Readers field.
Here is the code I am writing:
Dim nitem as NotesItem
tmp = uidoc.fieldgettext(“Authors”)
mtmp = uidoc.fieldgettext(“mReaders”)
Set nitem = vdoc.getfirstitem(“Readers”)
Call nitem.appendtotextlist(Trim(tmp))
Call nitem.appendtotextList(Trim(mtmp))