Skip to main content

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

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.

setValue: Public JS API for control actions

Updated on April 6, 2017


Set any target property from a source property or a literal constant.


pega.api.ui.actions.setValue(target, source, isProperty, event);


This API accepts a JavaScript object which can have the following key-values.

  • target: The target property reference
  • source: A property reference or a literal constant.
  • isProperty: Indicates that whether the source is a property or a literal constant. The default value of isProperty is false.
  • event: The event refers to a DOM eventObject which is required to get the context page when passing scalar properties.

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

Close Deprecation Notice
Contact us