Skip to main content


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

getBehaviorOverride(theOverride)

Updated on July 20, 2021

Obtains the current value of the requested behavior override flag.

For a description of the flag that is available, see setBehaviorOverrides(overridesObj).

Returns

A Boolean value.

Parameters

NameTypeDescriptionRequired
theOverridestringThe override flag whose value is being requested.
Note:
  • If the value of theOverride has been set with a call to setBehaviorOverrides, the current value of the requested override is returned.
  • If the value of theOverride has not been set, this will return undefined.

Usage example

If a previous call was made to

PCore.setBehaviorOverrides( { "dynamicLoadComponents": false } );,

then a subsequent call to

PCore.getBehaviorOverride("dynamicLoadComponents");

will return the Boolean value false.

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