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

Refresh section datatransform not working in offline mobile app

SA-55550

Summary



Refresh section data transform fails in an offline mobile application.


Error Messages



Not Applicable


Steps to Reproduce

  1. Configure a repeating dynamic layout (RDL). The layout which must repeat must contain a dropdown element for which the onChange action is to refresh section after running a data transform.
  2. Add an item to RDL onClick of AddItem.


Root Cause



A defect in Pegasystems’ code or rules.

If the same flow action is referred at multiple places, then the flow action is packaged on the first referred context (this is a product limitation). As a result, the configured flow action is rendered on the incorrect context.

This occurs because of the following:
  1. Refresh section renders on the incorrect context.
  2. Data transform steps are not generated as the data transform is in a different class (myco-data). Here, data transform is running on a different packaged page which does not have properties defined in the data transform.

Resolution



Perform the following local-change:
  1. Rename the flow action and the sections referred in the flow action.
  2. Use 'Launch local action' on the embedded page (instead of 'Add item').
  3. Use addRDLRow and clearProvidedPage Run scripts on the 'Add Land' link.
  4. Save As the data transform to myco-data-mypage class.
  5. Use the page passed from the Run script of the 'Add Land' link. The page has properties which are used in the data transform.

Published September 13, 2018 - 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