Export Option in ServiceNow Based on Roles & Tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi All,
I have a requirement where I need to show the Export option only for specific users based on roles and tables, and completely block export for certain sensitive tables.
Initially, I tried using sys_ui_context_menu, but it’s not suitable for my usecase
Use Case
Tables like:
sys_user (Users)
customer_account (Accounts)
customer_contact (Contacts)
should be exportable only if the user has specific roles.
Tables like:
cmdb_ci
alm_asset
should never be exportable, even for admins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
you will have to touch the OOTB Context menu for this.
Even if you create custom button then OOTB one will be seen
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
See this ServiceNow KB article. It will help you.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0676119

