Skip to content

Click Submenu Option Via Javascript: CONTEXTSUBMENUJSCLICK

The Click Submenu Option Via Javascript action triggers a JavaScript click event on a specified submenu option within a context menu that appears on mouse hover over an element. This action is particularly useful for custom or dynamic web elements that rely on JavaScript for user interactions.

Example: Imagine you need to select a “Download” option from a submenu that appears when you right-click a document item.

Steps to configure:

  1. Select Click Submenu Option Via Javascript from the Action drop-down.
  2. In the Screen Name field, specify the screen where the element appears (e.g., Document Viewer).
  3. In the Element Key field, choose the main element that activates the context menu (e.g., Document Item).
  4. In the Parameters section, specify the submenu option you want to select (e.g., Download).
  5. Click Save.

Note: While the steps for adding an Action are the same in both views, the display of the steps changes.

scrn-click-submenu-option-via-js-tabular-view
Tabular View
scrn-click-submenu-option-via-js-card-view
Card View

Expected Outcome on Execution: The Click Submenu Option Via Javascript action will fire a JavaScript event, right-click on the specified element, open the context menu, and select the intended submenu option (e.g., Download).

Back To Top