Question

2
Replies
7436
Views
Vadym Turovskyi (VadymTurovskyi)
Luxoft

Luxoft
UA
VadymTurovskyi Member since 2013 15 posts
Luxoft
Posted: September 24, 2018
Last activity: September 25, 2018
Posted: 24 Sep 2018 8:48 EDT
Last activity: 25 Sep 2018 4:24 EDT
Closed

Call parametrized Data Page from Activity setting params via Property-Set

Hello community.

I've got a question about passing parameters to Data Pages. Is it OK to pass parameters to Data Page in activity using Property-Set?

E.g. I have a D_TestPage with two params TestParam1 and TestParam2. I create an activity with 2 steps (see screenshot for reference):
1. Set values to TestParam1 and TestParam2.

2. Make actions with step page D_TestPage without explicitly setting parameters. Parameters are passed to data page from current param page.

This works now, but are we supposed to use it? Is there a possibility this will be changed in next versions and code will stop working?

The thing is if Data page has a lot of params (>10) it's hard to write them all in the string everytime we call for data page.

Thank you!

***Edited by Moderator Marissa to update platform capability tags****

Pega Platform Low-Code App Development Data Integration
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.