Need to Hide Export Option in List View for certain users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2023 06:34 AM
Hello Experts,
We have requirement to hide "Export" option in UI Context menu in the List view (export -> CSV,PDF, etc). We developed a scoped application and this view is from that scoped app. We can able to achieve this via changing the out of the box Export context menu conditions. Is there any way to achieve this without modifying out of the box Context menu conditions ? We verified the forums and try to write ACL's like table.* as well but no luck.
Please advice.
Regards,
Ravi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2023 09:20 PM
- To hide the export option in list view for certain users, you need to create a UI Policy with a condition that checks for the user's role. - Create a UI Policy that sets the Export List action to false when the user's role is matched. - Add the UI Policy to the list view form. - Publish the changes.
For asking ServiceNow-related questions try this :
For a better and more optimistic result, please visit this website. It uses a Chat Generative Pre-Trained Transformer ( GPT ) technology for solving ServiceNow-related issues.
Link - https://nowgpt.ai/
For the ServiceNow Certified System Administrator exams try this :
https://www.udemy.com/course/servicenow-csa-admin-certification-exam-2023/?couponCode=NOW-DEVELOPER
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 03:34 AM
Hello Sourav,
It is a UI Context menu and it is not working with that. Can you please suggest the alternate?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 08:25 AM
Hello Sourav,
Can you please help me on more details please a details screenshot will also help. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2023 09:48 PM
Hello Ravi
To hide the context menu from the table.You can navigate to the sys_ui_context_menu table and add a condition to it.
Mark my reply as Correct and also hit Like and Helpful if you find my response worthy.
Thanks