# Options on the UI Action Configuration Page

Use the UI Action Configuration page to configure the following options for actions in tables.

- Title: Enter a name for the button, hyperlink, or menu option.

- Type: Select the level to display the action at.

  - Table Level: The action appears as a button at the top of the application page.

  - Row Level: The action appears at the end of a table row, under the Edit button as a menu item.

- Show on mobile: To make the action available on a mobile device, select this option.

- Visible: Select when to display the action.

  - Always: The action is always visible on the application page.

  - Expression: To make the action appear only when some custom criteria are met, select this option.

    - Visible Expression: Enter JavaScript code that specifies when the action becomes visible to the user.

      For example, to make the action visible when the user clicks a particular button, enter the following JavaScript:

      `=return true`

- Enable: Select when the actions become available to a user.

  - Always: To make the action element always visible to users, select this option.

  - On Single Row Selected: To enable this action for users only when they select a single row in the table, select this option.

  - On Multi Row Selected: To enable this action for users only when they select multiple rows in the table, select this option.

  - Expression: To enable this action for users only when some custom criteria are met, select this option.

    - Enable Expression: Enter JavaScript code that specifies when the action is enabled for users.

- onClick: Select when the workflow runs.

  - Workflow: To run a workflow when the user clicks the element, select this option, and then from the list, select a workflow.

    - Auto submit: To automatically submit the workflow inputs, select this option.

    - Refresh table: To automatically refresh the table data, select this option.

    - Workflow inputs: These options vary per workflow. If you want the user to enter a value, you can leave the boxes blank. You can also enter some expression to automatically fill the box with values from another row in the table.

      For example, to fill the box with values from the Binary Name row, enter the following code:

      `=row['BinaryName']`

  - Url: To open a website when the user clicks the element, select this option.

    - Open in new tab: To open the website in a new browser tab, select this option.

    - URL: Enter the URL for the website.

  - Custom: To configure some other action when a user clicks the element, select this option.

    - Expression: Enter JavaScript code that specifies the action that runs when users click this element.

      For example, to display a message that says "hello" when a user clicks the element, enter the following code:

      `console.log('hello');`

×

Loading...