Question
3
Replies
143
Views
Posted: May 11, 2018
Last activity: May 18, 2018
Closed
Solved
Do customized control property type overrides property's property type ?
I have one property named Dateofbirth (Type : date). It is used in one section where control that is used ,is customized control, having property type : datetime.
Every time when i hit that section , in logs message stating " Date format not supported" is seen but the screen threads are not hanging and navigating to next screen.
Please can anyone guide on this.
Hi RupeshP2,
Thanks for posting on PSC.
Yes. It's an expected behaviour. In UI, property inherits the control from the Property. But here, it's explicitly changed to custom control. so, it's conflicting with the Pega's OOTB control at property level with custom control probably though not sure.
Also, you're trying to apply DateTime(Custom control) on "Date" Type property so this is getting registered in logs.
Try,
- In the "General" tab of "DateOfBirth" property, update <YourCustomDateTimeControl> in "UI Control" field of Display and Validation heading.
- You could create a new custom control of "Date" type property only to be configured on "Date" property in the UI to avoid this.
Hope it helps, kindly notify if it helps you by marking this post as answered for larger Pega audience.
Regards,
Asif