Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Hide Row Conext menu options in workspace

Omkarbh1997
Tera Expert

Hi All,
The "Duplicate" and "Delete Demand" options need to be removed/Hide from the row context menu in the workspace. only 'admin' or 'sn_align_core.apw_admin' role users will be able to see. Attached is a screenshot of the current workspace for your reference.

Screenshot 2025-05-08 162420.png

 

Thank you.

1 ACCEPTED SOLUTION

Omkarbh1997
Tera Expert

For this we have to follow this
1. The context menu for list view is configured in script include: APWBacklogConfig.
2. APWBacklogConfig is extended from APWBacklogConfigImpl script,There is a getRowContextMenu method in APWBacklogConfigImpl which defines context menu items.


To override:
1. APWBacklogConfig script, override getRowContextMenu. you can simply copy APWBacklogConfigImpl.(getRowContextMenu) function
2. Update APWBacklogConfig based on your needs.

View solution in original post

1 REPLY 1

Omkarbh1997
Tera Expert

For this we have to follow this
1. The context menu for list view is configured in script include: APWBacklogConfig.
2. APWBacklogConfig is extended from APWBacklogConfigImpl script,There is a getRowContextMenu method in APWBacklogConfigImpl which defines context menu items.


To override:
1. APWBacklogConfig script, override getRowContextMenu. you can simply copy APWBacklogConfigImpl.(getRowContextMenu) function
2. Update APWBacklogConfig based on your needs.