Add a Call Component Action

You add a Call Component action to call a method on a component.

To use a Call Component action:

  1. Add the action in one of three ways, depending on your preference and where you want to add the action:
    • Drag the action from the Actions palette onto the canvas, dropping the action either at the bottom edge of the action it is to follow, or at the top edge of the action it is to precede.
    • Double-click the action in the Actions palette to add it to an empty canvas or to the end of an action chain.
    • On the canvas, select the action you want the new action to follow, then double-click the new action in the Actions palette.
  2. In the Properties pane, select the component name from the Selector drop-down list, which is only populated with components that have their ID properties specified.

    For example, if your page contains three buttons whose IDs are Create, Update, and Save, you'll see those options available for selection in the drop-down list.

  3. With the component selected, select or enter the Method Name to call:

  4. If the method requires input parameters, hover over the far-right side of the parameters under the Parameters section and click the down arrow that appears to choose their source.
If a value is returned by the action, it is assigned to the auto-generated variable shown by the Store Result In property.

For API information about this action, see Call Component Method in the Oracle Visual Builder Page Model Reference.