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 Gadget to Gadget communication does not work

SA-12707

Summary



IAC Gadget to Gadget communication does not occur when using Gadget Action Objects or Gadget Event Attributes.
The application needs to display multiple gadgets and each gadget should be able to communicate with each other.
On using Gadget Action Objects and Gadget Event Attributes (such as PegaE_ onLoad and PegaE_onConfirm), the communication between gadgets was unsuccesful.

The gadget are displayed within PRPC Portals for testing. PegaInternetApplicationComposer.js is included.

 

Error Messages



Not Applicable

Steps to Reproduce



There is no specific use case to reproduce this issue.
 

Root Cause



The PegaInternetApplicationComposer.js file should not be used when testing gadgets within PRPC portals. The PegaInternetApplicationComposer.js is a static content bundle containing the following Rule-File-Text Javascript files:

pega_yui_utilities
pega_yui_extensions
pega_tools_hashtable
SafeURL
PegaCompositeGadgetMgr
pega_ui_property


When imbedding gadgets into PRPC portals for testing, you only need to include the PegaCompositeGadgetMgr, the rest are already there.

<pega:static type="script" app="webwb" >
  <pega:file name="PegaCompositeGadgetMgr.js" />
</pega:static> 

 

Resolution



Changed gadget code to only include PegaCompositeGadgetMgr.js.  This resolved the issue with gadgets events and gadget action objects.

Published August 12, 2015 - 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