We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to remove "Export" in Context menu based on roles?

Hai Long Do
Tera Contributor

Hello guys,

Just wondering, is there a way to remove the "Export" option in the context menu based on roles. I tried to do that in the "UI context Menus" but it seems not working.

Thank you!

7 REPLIES 7

Hope this work, below is the screenshot 

 

PrashantMoily_0-1695388588092.png

 

To hide the PDF option from the Form Context menu we need to make changes to the UI Macro called "context_form_header"

Below is the link 

Link: https://yourInstancename/sys_ui_macro.do?sys_id=2ff1c56ca9fe3dba014340c4697b5088&sysparm_view=&syspa...

 

 

Danish Bhairag2
Tera Sage

Hi @Hai Long Do ,

 

Kindly refer the below :

https://www.servicenow.com/community/developer-forum/how-to-disable-export-option-from-list-view/m-p...

 

Please mark my answer helpful & accepted if it helps you resolve your query.

 

Thanks,

Danish