I have a document that will be loaded to a web page. It would also be nice if this would work on the client but it is not required. This document has a field called DocNum. Before, during or immediately after the document is loaded I want to update a field that is contained in another document in another view with the information contained in DocNum.
I have not been able to figure out a way to get this information into a LotusScript agent which could then update the document.
Anyone have any ideas?
Thanks, Steve
Subject: Ajax
Search the forums (maybe the 6/7 forum is best) for the above, there are loads of examples. You can write something in the onload event maybe to pass the relevant value to a lotusscript agent
Subject: onload doesn’t do it
I found that I could use the NotesUIDocument class to access the current document with an agent. If I do this using onload it returns the document that was loaded previously because the present document has not completely loaded or something like that. Suffice it to say putting the code in onload won’t do it.