Question
HCL
IN
Last activity: 2 Sep 2021 6:43 EDT
Question on Cascading Functionality
Hi,
We have implemented the cascading functionality. When we select a value from dropdown1 the corresponding values (for dropdown1) should be shown for dropdown2.
But after selecting the dropdown1 values, the dropdown2 values are not getting populated, when we do a refresh then the values are getting populating. I have added the refresh action for dropdown1 field. but still am facing this issue.
Kindly help me to resolve this issue.
Regrads,
Hyma.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
GB
@HB@77 One way to achieve this is to have the following actions on the parent drop down.
Post Value, Run Data Transform (this sets any extra properties from the previous drop down, if any), Refresh section.
The child dropdown can then source it's values from a datapage, the datapage can make use of parameters/property values that have just been set to the clipboard in the parent drop down and data transform.
Hope that helps.
HCL
IN
I have already tried with post value, refresh section for the parent dropdown, and used parameterised data page as the source for child dropdown. But still this is not working. Kindly let me know if something i have missed out.
HCL
IN
When I select the Parent value for first time, the events are not getting captured in the tracer, But when I select the parent value after refreshing the screen, the events are getting captured and correct params are passed to the data page, and the child dropdown contains the values.
I want to know why the child values are not populating when the select the parent value for the first time. why i need to do refresh to have the child values. Pls suggest me the solution.
Regards,
Hyma.
Pegasystems Inc.
GB
@HB@77 On the parent dropdown have you configured the events to fire from a change event? Please take a look at the attached screenshot to see the config I am using on my project.
HCL
IN
Yes I have configured Post value and refresh this section along with on change event. But we did not added any Data transform for the actions. Even though we configured it correctly still we are facing this issue.
Regards,
Hyma.
Pegasystems Inc.
GB
@HB@77 It's very odd that there is nothing being captured in the tracer, the tracer shows events based upon your Pega session rather than what's happening in the browser. It would seem that your change event is not working correctly.
Are you able to share any screenshots of your configuration?
HCL
IN