Reader field not working

Hi All,

I am developing an agent thats download the data from a text file and displayed it in a view. One of the field to be downloaded is the username of the person who have access to these doc. So, I’ve created a $Reader field with ‘Type - Readers & Computed’(Is it correct ?) and move the data to the field. But when I login using ids which is not in the reader list, I still can view the doc. When I view the Document Properties, the $Reader field contains “CN=User01/O=MDev”.

Anyone, pls help.

Subject: Reader field not working

Forms and fields on Forms are not used when creating documents from a LS agent. You need to use NotesDocument.ComputeWithForm(True,False) or create the fields from the LS agent with their correct type, for example Dim docReaders as New NotesItem(doc,“docReaders”,READERS,valuelist).

Subject: RE: Reader field not working

Thank you very much…! At last, it works.