Hi! All,
Thanks for your previous response. I again having problem while fetching data at agent side. What i want I have created a from where is a companyID and jobTitle field. Now I want to access this data in my agent name createDocument. Actually I call this agent through url like :- "http://devserver/myDatabase.nsf?login&redirectto=http://devserver/myDatabase.nsf
/createDocument?OpenAgent"
while i use document context id = doc.companyID(0) it returns null value. As i Know for url agent the current document is new document. but it is mandatory for me before using this agent user must login to the database that why i used ?login.
Is there any other way to get the current document data at agent side without calling agent on webquerySave event?.
I also done workaround it…
I have created a button where i wrote
document.froms[0].action="http://devserver/myDatabase.nsf?login&redirectto=http://devserver/myDatabase.nsf
/createDocument?OpenAgent"
document.forms[0].submit()
but it also return null value at agent side.
Please help me…
Thanks With Regards,
Vikas K Sinha