Built-In Context Menu Actions
Nextedy RISKSHEET provides these standard context menu options:| Action | Availability | Description |
|---|---|---|
| Open Row Item | Always | Opens the work item for the selected row |
| Open Item Link | Item link columns | Opens linked work items from traceability columns |
| Open Task Item | Task link columns | Opens linked mitigation tasks |
| New Level Items | Editable mode | Creates work items at configured hierarchy levels |
| Overwrite Row Item | Reference rows | Converts referenced items to editable overwrite mode |
| Remove Row Item | Editable mode | Deletes the selected row |
| Freeze Pane | Always | Locks columns left of selection for scrolling |
| Unfreeze Pane | When frozen | Removes column freezing |
Control Menu Item Visibility
Show New Level Items
To make hierarchy levels appear in the “New” submenu, setshowInMenu: true in the levels configuration:
Show Task Creation
Enable task creation in the context menu via data types configuration:Add Custom Context Menu Actions
Extend the context menu with JavaScript-based custom actions.Define Global Functions
In your top panel template (risksheetTopPanel.vm), register custom actions:
Custom Action Structure
- label: Display text for the menu item
- function: Global function name to execute when clicked
- isEnabledFunction: Global function name returning boolean (whether action is enabled)
item: Current row’s work item data objectcolDef: Column definition object for the clicked cell
Example: Open Related Document
Example: Copy Item ID
Debug Mode
Enable debug mode to see item and column metadata in the browser console:- Add
?debug=trueto the RISKSHEET URL - Right-click any cell
- Select Debug from the context menu
- Open browser DevTools (F12) to see logged data
Verification
After adding custom actions:- Save the top panel template with your custom JavaScript
- Reload the RISKSHEET page
- Right-click on a grid cell
- You should now see your custom action(s) in a separate section at the bottom of the context menu
See Also
- JavaScript API - Client-side scripting reference
- Customize the Top Panel - Add custom UI elements and scripts
- Levels Configuration - Configure hierarchy levels for menu visibility
- Keyboard Shortcuts - Alternative navigation and action triggers
Sources
Sources
Source Code
RiskSheetContextMenu.tsRisksheetProjectProperties.javaShowConfigurationCommand.tsPolarionAppConfigManager.javaWorkflowActionServlet.java