Question
ANZ
IN
Last activity: 4 Oct 2018 11:08 EDT
i want in pega 7 how to implement first drop down i give countries second drop down i want to get states as corresponding countris
i want in pega 7 how to implement first drop down i give countries second drop down i want to get states as corresponding countris
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
GB
So here is a simple example. I have 2 pxDropDown controls. The first is showing a list of countries and the second a list of states / regions.
Here is the source configuration of the second drop down which is populated based on the selection in the first. I take the value from the first dropdown (actually the property is called .DropDown) and pass thjs as a parameter to the D_State data page that I am using as the source for this drop down.
The D_StateList data page has the selectedCountry parameter from above configured...
So here is a simple example. I have 2 pxDropDown controls. The first is showing a list of countries and the second a list of states / regions.
Here is the source configuration of the second drop down which is populated based on the selection in the first. I take the value from the first dropdown (actually the property is called .DropDown) and pass thjs as a parameter to the D_State data page that I am using as the source for this drop down.
The D_StateList data page has the selectedCountry parameter from above configured...
...which is in turn passed to the report defintion which is the source of my data page.
Parameter configured on report:
The report has a filter defined based on this parameter.
And the end result....
Pegasystems Inc.
US
Hi Vineela -
I have moved your question to the Pega Product Support area where you are more likely to receive a reply.
Thanks!
Amanda
Updated: 5 Nov 2015 1:16 EST
Citicorp Services India Private Limited
IN
Hi Vineela,
You can implement cascading drop down using parameterised data pages.
I would recommend you to enroll for UI Specialist (7.1) course in Pega Academy if you have access to. In this course under the Designing Forms lesson
UI Specialist (7.1) --> Designing Forms --> Sourcing List Based Controls --> Populate Dynamic Lists. In this lesson you will find the information on how to implement cascading drop down.
Please let me know if this helps.
Thanks,
Gowrishankar.
Pegasystems
US
We used to use DynamicSelect for this. Will that still work ? /Eric
Pegasystems Inc.
GB
The DynamicSelect control is deprecated in Pega 7 so should probabaly be avoided for new configuration. Parameterised data pages is the way to go here.
Help links:
https://community.pega.com/sites/default/files/help_v719/procomhelpmain.htm
Caution: The Dynamic Select control is deprecated. Use the Dropdown control (pxDropdown), which replaces the Select in the Basic control group, instead. The drop-down control is easier to configure and includes additional features.
https://community.pega.com/sites/default/files/help_v719/procomhelpmain.htm
The DynamicSelect control is deprecated in Pega 7 so should probabaly be avoided for new configuration. Parameterised data pages is the way to go here.
Help links:
https://community.pega.com/sites/default/files/help_v719/procomhelpmain.htm
Caution: The Dynamic Select control is deprecated. Use the Dropdown control (pxDropdown), which replaces the Select in the Basic control group, instead. The drop-down control is easier to configure and includes additional features.
https://community.pega.com/sites/default/files/help_v719/procomhelpmain.htm
When the source is a clipboard page, data page, or a report definition, you can categorize items within the drop-down list. When a drop-down list is bound to a data page or report definition that accepts parameters and the parameter value uses a property reference, the drop-down list automatically refreshes with new items whenever the property value changes. No additional configuration is required. This can be used to set up cascading dropdowns or any combination of controls.
Pegasystems
US
Thanks for that link. Given the first few lines on that link, instead of saying
>>> The DynamicSelect control is deprecated in Pega 7 so should probabaly be avoided for new configuration. Parameterised data pages is the way to go here.
maybe we should say
The DynamicSelect control is deprecated in Pega 7 so should probabaly be avoided for new configuration. pxDropdown is the way to go here.
/Eric
Accepted Solution
Pegasystems Inc.
GB
So here is a simple example. I have 2 pxDropDown controls. The first is showing a list of countries and the second a list of states / regions.
Here is the source configuration of the second drop down which is populated based on the selection in the first. I take the value from the first dropdown (actually the property is called .DropDown) and pass thjs as a parameter to the D_State data page that I am using as the source for this drop down.
The D_StateList data page has the selectedCountry parameter from above configured...
So here is a simple example. I have 2 pxDropDown controls. The first is showing a list of countries and the second a list of states / regions.
Here is the source configuration of the second drop down which is populated based on the selection in the first. I take the value from the first dropdown (actually the property is called .DropDown) and pass thjs as a parameter to the D_State data page that I am using as the source for this drop down.
The D_StateList data page has the selectedCountry parameter from above configured...
...which is in turn passed to the report defintion which is the source of my data page.
Parameter configured on report:
The report has a filter defined based on this parameter.
And the end result....
-
Purusoth Shanmugarajah Dadi Manoj Danilo Altomar
Wirpo Technologies
AU
Hi,
How to pass parameter to report definition from pxDropDown Control ?
Wirpo Technologies
AU
Hi all,
If we copy paste RD name, it may not wrk. in RD: ---- juts put down arrow choose ur RD. Now it is allowing to pass param.
Thanks
Alagar
Pegasystems Inc.
IN
Thanks again for confirming the solution.
Tagging your thread- How to pass parameter to report definition from UI control pxDropDown in Pega7
~Vidyaranjan A V | Community Moderator | Pegasystems Inc.
Syntelinc
IN
Hi MarcAlderman,
I have tried above senario But in DataPage Im calling RD Fine but again its asking DataTranceform with Mandatory Field,Plz Tell me How to slove This,
Thanks
Syntelinc
IN
HI MarcAlderman,
I have tried Above senario but in Data page I was calling ReportDefnation but along with that its asking DataTranseform, i attached that document please see and solve my Problem MarcAlderman.
Thanks
Bits in Glass
IN
Hi,
As per your screenshot attached, it is indicating that D_page context(object type) and report definition context(applies-to class) are different. So that's why it is asking for mapping data transform. If both rules applies to class are same, then no need to map externally.Would you please change it and try it once again.
VISHNU INSTITUTE OF TECHNOLOGY
IN
Sir I want know how to do this , When a Job title is selected from the drop down, the corresponding job description, manager and department details should be displayed on the same screen please answer me
Bits in Glass
IN
Hi NANILOKESH,
I am attaching the step by step procedure for your requirement of getting details based on job title selection.Please go through it once and let me know if you have any concerns.
Thanks
Cognizant
IN
i am unable to pass the parameters
Pegasystems Inc.
IN
Hi,
Thank you for posting your query in the PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s available on the top right pane of this page. Once created, please reply back here with the URL of the new post.
You may also refer this discussion link as a reference in the new thread.