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



Aug 3, 2011, 9:54 PM
10 Posts

xAgent and sessionScope (or any scoped) variables

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: xAgent,SSJS,sessionScope,afterRenderResponse
  • Replies: 0
Are scoped variables available in an xAgent, where all the code is written in the afterRenderResponse event?  The agent outputs some XML that is used in a page where a XML data table is used to display the resulting XML.  I would like some values calculated in the xAgent script to be visible on the results pasge as computed values but using sessionScope (or any other scoped) variables doesn't seem to work.
 
If not, any ideas on how I could grab values from the xAgent, other than the XML generated, and put them in a computed field on the results page?
 
Thanks fellow developers.

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