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

Controls in an iFrame do not pass parameters to an activity

SA-54985

Summary



In Pega 7.2, on click of a button invokes an activity which displays within an iFrame. The activity has the following parameter,

WorkPageClass(pyWorkPage.pxObjClass)


On the click of the button, the WorkPageClass parameter is passed as a blank string instead of the pxObjClass string.


Error Messages



Not Applicable


Steps to Reproduce

  1. Upgrade PRPC 5.5 to Pega 7.2.
  2. Configure a button in an iFrame to call an activity on click.
  3. Configure the following parameter for the activity: WorkPageClass(pyWorkPage.pxObjClass).
  4. Run the process.
  5. Click the button.


Root Cause



A backwards compatibility defect in Pegasystems’ code or rules.
The ChangeTracker did not work within the iFrame  of the user interface. The ChangeTracker is initialized at the harness level and is accessible within the document. The old action area (iFrame based ActionArea gadget) introduced a new document with a direct section in it. The ChangeTracker is not accessible within that action area.



Resolution



Perform the following local-change:

Use the new pyActionArea gadget to display flow actions or the out-of-the-box Perform harness such that the ChangeTracker functions within these action areas.


 
Suggest Edit

Published February 23, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

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