This content has been archived.

Table of Contents

postValue: Public JS API for control actions

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.
Suggest Edit

33% found this useful

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.