Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

errorMsgConfig

Updated on July 20, 2021

Use this JSON configuration object to specify error messages in the store. It is used as a parameter in the clearErrorMessages(errorMsgConfig) API to indicate the messages that should be deleted.

Parameters

NameTypeDescriptionRequired
categorystringThe type of error message that needs to be deleted.
Note:
  • Use the HTTP category for app or top-level messages.
  • Use the PAGE category for page-level messages.
contextstringThe context that contains the error messages to be deleted.
Note: If the context is not provided, the error messages associated with the app container are deleted.
propertystringThe name of the property related to the error message.

Have a question? Get answers now.

Visit the Support 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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us