Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to localize PropertyRequired message for validations

SA-26067

Summary



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.


Error Messages



Not Applicable

Steps to Reproduce



Try to localize "required" validation.

Root Cause



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

Resolution



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:
  1. Perform a private checkout of pyRefToFocusKey.
  2. Remove the pxUseSourceValidate validate rule from the property and save it.
  3. Save As PropertyRequired to localize it to the requirements.
  4. Remove the private checkout to pyRefToFocusKey.

Published July 28, 2016 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us