
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2016 05:51 PM
Is there a way to hide or remove the "Export" option within the context menu?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 03:06 AM
Hi Edwin,
You can refer to my answer for below thread
Can we restrict user to click on group by link
This might be useful for you to hide the Export button itself. You can try it out.
Mark my reply as Correct and also hit Like and Helpful if you find my response worthy.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2016 06:16 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2016 08:24 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 03:01 AM
Hi Edwin,
Do you want the "Export" context menu to be hidden only for specific table or the Options within it such as "CSV" or "Excel", "XML".
If you do not want to show "Export" button itself based on table i doubt whether you can achieve that. but for the individual buttons i.e. CSV, Excel etc you can do that
1) In left nav type UI Context menus and search name contains "Export"
2) Go to individual context menus under Export i.e. CSV or Excel and update the condition field as current.getTableName() !='sys_user_group';
4) So what it does is it hides the CSV or Excel when you expand Export for the table sys_user_group.
5) Replace table name with your table name
Screenshot below after updating the condition for CSV and Excel for Group table. The options for CSV and Excel are not visible when Export is expanded for Group table
Mark my reply as Correct and also hit Like and Helpful if you find my response worthy.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2021 08:55 AM
Hi Ankur,
I have similar requirement but to hide export option on three custom tables. And I am not able to include all 3 tables in the Export context menu Condition as there is limitation. How can I include all the 3 tables?