Unable to localize PropertyRequired message for validations
Using an out-of-the-box required validation in a validate rule, ignores the message defined here. "This field may not be blank" appears at runtime, despite hard coding as given below.
Steps to Reproduce
Try to localize "required" validation.
This is working by design. This message is not intended to be customized according to https://pdn.pega.com/sites/default/files/help_v718/procomhelpmain.htm#rule-/rule-obj-/rule-obj-validate/validate.htm
Perform the following local-change:
Override the source message rule, which supplies the canned "This field may not be blank."
Clicking Save As in a relevant PropertyRequired message rule will result in the error given below.
Follow the steps given below to resolve this error:
- Perform a private checkout of pyRefToFocusKey.
- Remove the pxUseSourceValidate validate rule from the property and save it.
- Save As PropertyRequired to localize it to the requirements.
- Remove the private checkout to pyRefToFocusKey.
Published July 26, 2016 - Updated July 28, 2016