How to override a task UI action with a scoped UI action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2018 09:51 AM
I have this scoped app, and have made a table with a UI action. There is a UI action that is made for the task table with the exact same name, 'Assign to me'. As there is a field in my table which inherits from the task table, that means I have two 'Assign to me' UI actions that appear in the context menu of the table list. I obviously don't want to touch the OOTB UI action which is on the task table, but how do I prevent the task tables UI action from displaying in my context menu and only the UI action that I made?
I have tried putting the task tables UI action in the overrides field of the UI action that i made, but that is counter-intuitive as it hides the UI action that i made whilst showing the task tables UI action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2018 04:41 AM
Hi Shweta, I have seen this page before but it didn't work. However, it worked in a specific circumstance: Before, the tasks tables UI action was named 'Assign to me' and the 'action name' field was empty. So I assumed it should work if I make my scoped UI action's 'action name' empty, but that removed the scoped UI action from the context menu. I tested this by logging in the script. Then I tried giving the same 'action name' to both my scoped UI action and the task tables UI action. This worked, however, this still meant I had to modify an out of scope UI action. Is there a reason why just having the same 'name' would not make it work despite saying it should work in the link you provided. I am working in kingston by the way, and the kingston version of the link you sent me is exactly the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2018 05:10 AM
Can you share the screenshot of your UI action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2018 05:20 AM