Field value not available through LS

Dear Forum, I had an agent that runs on Server on schedule daily. The agent was written for R5 and was working perfecty.

I have a profile doucment which the agent accesses to get some fied value.

In R6, some of the values of the document it can retrieve but not all. I tried to run the agent manually, and it gave the required prompt for all the fields. Only on the server it is not working. It just gives blank (no error, its happening for both Multivalue, single value field. Also I tried for Dialoglist and text fieild. But the result is same.

I am new in R6 and not being able to figure out the problem.

would realy appreciate if someone could help me out. Hope I have been able to explain my problem.

Thanks & Regards

Tamajit

Subject: Field value not available through LS

Please post a list of the fields that your agent is unable to access… this may not be an issue, but if you are using the NotesDocument.FieldName syntax instead of NotesDocument.GetItemValue(“FieldName”), some of the fields to which your code refers may now be a property or method of the NotesDocument class. For example, the “Lock” method was added to the NotesDocument class in 6, so if you have documents with a field named “Lock”, the value can no longer be retrieved via the dot syntax: (NotesDocument.Lock).

Subject: RE: Field value not available through LS

HI Tim, I am extremely sorry for posting this so late.

I just wanted to convey that your suggestion just worked perfectly. I changed the name to something else and it worked. Also i did getitemValue as per your instruction.

Thanx a lot for taking out some time and respondong and solving my problem.

Warm regards

Tamajit