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
- 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.
- 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:
- Refresh section renders on the incorrect context.
- 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:
- Rename the flow action and the sections referred in the flow action.
- Use 'Launch local action' on the embedded page (instead of 'Add item').
- Use addRDLRow and clearProvidedPage Run scripts on the 'Add Land' link.
- Save As the data transform to myco-data-mypage class.
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.