Support Article

Javascript method not working, returning null



pega.web.api.doAction("PegaGadget", "getGadgetInfo") returns gadget status does not return expected results. Only "null" is returned instead of the expected "{application:"", thread:"", system:"", UIdoc:"", isDirty:"", isLoaded:""}"

Error Messages

Not Applicable

Steps to Reproduce

  1. Click on the link "Online Authorization request", launch developer tool by hitting F12 key and click the log out button.
  2. Check the console on the developer tool "null" is displayed as the result of the method call.

Root Cause

prgateway on hostage environment was not deployed.


prgateway on hostage environment was deployed.

Published November 28, 2016 - Updated December 9, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.