I need to populate the year in the drop down depending upon the current year…
It should display only 10 years from this current year.
How can I create this?
I need to populate the year in the drop down depending upon the current year…
It should display only 10 years from this current year.
How can I create this?
In Pega OOTB we are not having option for showing Year values alone in dropdown/autocomplete… But easily we can populate the year value.
You need to have a datapage source with activity and inside activity you need to build your logic to populate year information by using for loop. I have attached a screen-shot please follow the steps..
Note: Please make sure Parameter MinYear and MaxYear defined in activity parameter tab with data type as integer.
@Gunasekaran_Baskaran Got the results thank you bro.
@Gunasekaran_Baskaran Which Refresh strategy is suitable for this to refresh this Data Page?
You can have the data page with requester scope and reload strategy is not needed for your scenario, you can leave all the option blank.
First time when user logged-in inside and used this data-page, results will get loaded and maintained in requester data page cache. You can reuse the same cache information until user doing log-off.
@Gunasekaran_Baskaran Thank you.