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

Display UniqueID in harness of IAC composite application



How to build a composite application using IAC that contains a harness that passes a UniqueID parameter value and displays it on the screen. That UniqueID parameter value is updated in a data table. The onConfirm event configured in the IAC gadget is not working as expected, based on the PDN Articles for IAC. The incoming property from the web page is accessible within the IAC gadget, but the application cannot communicate back to the web page after confirmation on the IAC gadget. 

Error Messages

Not Applicable

Steps to Reproduce

Not  Applicable

Root Cause

An issue in the custom application code or rules


Perform the following local-change for the gadget div generation:

<script src=""></script>
<!--Uncomment the line below  to view client logs-->
<!--<script src=""></script>-->
                pega.web.config.gatewayURL = "http://your_server:your_port#/prgateway/PRPCGateway/";
                /* to connect without gateway: pega.web.config.gatewayURL = "http://your_server:your_port#/prgateway/PRPCGateway/"; */
                pega.web.config.systemID = "PRPC63SP1";
                pega.web.config.appName = "abcApp";
                pega.web.config.thread = "STANDARD";
<body style="text-align:center">
<!--Note: The values for UserIdentifier and Password may be assigned dynamically. The values shown here are for a specific user.-->
<div id="GadgetA"
                PegaA_params={UserIdentifier:"[email protected]",Password:"cnVsZXM%3D"}>
                var GadgetA = {
                                                actionDefinitions: [  {action: "confirm",target: {type: "_page"
                                                                pageURL: "thanks.html",
        params: {
        }      }
function onConfirmCallback(test){
alert("onConfirm "+test);

Related PDN Articles

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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