This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Apr 27, 2011, 4:42 PM
129 Posts

Re: Document Context Document is empty in agent when called with runWithDocumentContext from XPage

  • Category: Server Side JavaScript
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags: runWithDocumentContext xpages SSJS
  • Replies: 2
There's two variants of NotesXSPDocument.getDocument().
 
One with no parameters, as in your code example, and one with a boolean flag, applyChanges. Try using document.getDocument( true ) 
 
http://public.dhe.ibm.com/software/dw/lotus/Domino-Designer/JavaDocs/XPagesExtAPI/8.5.2/com/ibm/xsp/model/domino/wrapped/DominoDocument.html#getDocument(boolean)
Apr 27, 2011, 5:01 PM
4 Posts
Re: Document Context Document is empty in agent when called with runWithDocumentContext fr...
That was it.
 
Tommy, thank you so much for the help.
 
Scott. 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal