We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Hide Row Conext menu options in workspace

Not applicable

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

Not applicable

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

Not applicable

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.