Domino 9 und frühere Versionen > ND6: Entwicklung
readers field doesn't works properly ?
Toma Bogdan:
it seems that if I enter manually into the doc and I save it the readers fields works fine !
how can I do this with LS (because I have over 1000 docs) ?
As you can see
--- Code: ---note.Reviewers=New_values
Dim item As NotesItem
Set item = note.GetFirstItem( "Reviewers" )
item.IsReaders=True
Call note.Save(True,False)
--- Ende Code ---
I try to set True to IsReaders property of the Readers fields but the users can't see the doc !
Semeaphoros:
As Alex (El Indio Mapuche) already said, try to verify with the documents properties-box, if the field and the field values are set correctly. I don't see, where the problem now is. Maybe that you should work with the NotesItemClass from the beginning and using that class throughout the whole code instead of only "rearanging things" at the end of the procedure.
Toma Bogdan:
these are the steps:
1) Reviewers field should be of type Readers and MULTIVALUE
2) Check the document properties for the defination of this field ie,
Data Type should be "Text List". Field Flags should be "SUMMARY READ-ACCESS NAMES"
3) Names format should be CANONICALIZE
10x
Semeaphoros:
Sorry, but I don't have any further idea at this point ... :(
This looks correct
Toma Bogdan:
now it works... I need to update all docs ::)
--- Code: ---@Command([ToolsRefreshAllDocs]);
@All
--- Ende Code ---
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln