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.

postValue: Public JS API for control actions

Updated on April 6, 2017

postValue

Posts the value of the field to the clipboard when the field is bound to a property.

Syntax

pega.api.ui.actions.postValue(eventObject, updateDOM);

Parameters

  • eventObject: The eventObject refers to a DOM event object. The event object consists the event target, the value of which will be posted to the clipboard.
  • updateDOM: Optional. This is a boolean. The default value is false. When the value is true, it will post the value associated with event target and reload the control. In case of non-auto generated controls, it will post only the value and will not reload.

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