Question

2
Replies
333
Views
Close popover
Kensho Tsuchihashi (KenshoTsuchihashi)
PEGA
Project Delivery Leader
Pegasystems Inc.
JP
KenshoTsuchihashi Member since 2010 137 posts
PEGA
Posted: December 10, 2018
Last activity: December 10, 2018
Closed

How to change the settings of OOTB DateTime control all over the application in one place

Hi,

There are misc DateTime control based properties in Pega (pxCreateDateTime, pxUpdateDateTime, etc) but I would like to change a couple of settings in this DateTime control everywhere in an application. One way to do it is to change control in a cell in every section but it is too much effort. Another way is to create a new control from DateTime (say, JapanDateTime) and apply that in everywhere. This is still too much effort. Third way is to override Work-.pxCreateDateTime to set JapanDateTime instead of pxDateTime. This has to be done per each DateTime based property (@baseclass.pxCreateDateTime, pxUpdateDateTime, etc).

I would like to change it in one place and apply that to entire DateTime based property in an application. pxDateTime is Final control. Given this situation, what is the minimum code to achieve this?

Thanks,

Low-Code App Development
Moderation Team has archived post,
Close popover 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.