Question


Cognizant Technology Solutions India
IN
Last activity: 1 Sep 2017 0:21 EDT
Need suggestions on customizing the date range in Pega 7.1.7
We are using 7.1.7 version. we have requirement that customize the date range. Any suggestions would helps.
***Updated by moderator: Lochan to create new post from this reply***
Original Post: Control "pxDateTime" - Parameterize "Number of years"


Pegasystems Inc.
IN


Cognizant Technology Solutions India
IN
Thank for Response,
I have field Date of Birth in our Application, we are using 7.1.7 version. we have given the Dropdown list in Presentation of Date Time control and given the 100 number in the number of years field. it is showing Past 50 years and future 50 years in the Dropdown but usually DOB field means it should show up to current date. my requirement is in the dropdown at least years should not more than current year. Please help on this issue. it is very urgent now.


Pegasystems Inc.
IN
Assuming you have the similar requirement which was posted in the original thread https://pdn.pega.com/community/product-support/question/control-pxdatetime-parameterize-number-years#comment-519376, The behaviour with datetime control in 7.1.7 is probably same as reported on 7.1.8. Perhaps you can try adding a custom control or use speciality component https://pdn.pega.com/about-specialty-components
Updated: 3 Aug 2017 6:22 EDT


Cognizant Technology Solutions India
IN
Thank you for your input but this does not seem to help my use case. Please see my reply above which holds details of my requirement. Looking forward to more inputs.
<reply edited by moderator>


Pegasystems Inc.
IN
I see the requirement you have can be achieved on 7.2.2 by unchecking 'previous' option in presentation tab in cell properties modal dialog.
Please check below screenshot, For 7.1.7 I believe the requirement you have is an enhancement request which can be possible if you update to 7.2.2


Cognizant Technology Solutions India
IN
yes correct. but in my organisation we are using 7.1.7 Version only. please provide me code to create custom control if possible.that would be most helpful
Hello Siva,
Thanks for posting queries in PDN.
Can you please elaborate your requirement, so that we can help you in better way.
Thanks & Regards,
Durga