Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

IAC logoff function JavaScript error Method Not Available



For IAC 4.1, application developers asked how to perform a logoff from the IAC Gateway to prevent unused requestors from accumulating unnecessarily.

The applicatin developers referred to
But when the developers use the
pega.web.api.doAction(...) method, they get the JavaScript error indicating that the method is not available in that namespace or object or prototype.


The explanation for this behavior is as follows:

When using the
pega.web.api.doAction(...) method, ensure that the script is within the same document, the DOM level, as the PegaInternetApplicationComposer.js file.

When calling the pega.web.api.doAction method for logoff using an unload window event, be sure to use the onBeforeUnload event.
Suggest Edit

Published June 30, 2017 - Updated December 2, 2021

Did you find this content helpful? Yes No

50% found this useful

Have a question? Get answers now.

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

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us