I want to hide this "export" anyone have any ideas?

Hai Long Do
Tera Contributor

I want to hide this "export" anyone have any ideas?

5 REPLIES 5

Danish Bhairag2
Tera Sage
Tera Sage

Hi @Hai Long Do ,

 

Please refer below links:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0676119

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

Nivedita Patil
Mega Sage
Mega Sage

Hi @Hai Long Do ,

 

Please refer the below document.

 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0676119

 

Mark my answer correct and helpful if helps you.

 

Thanks,

Nivedita Patil.

Prashant Moily
Mega Sage

Hi @Hai Long Do ,

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...

Hi @Prashant Moily ,

I'm not too sure how to change it, tried to change 

<g2:evaluate var="jvar_context_menu_export_pdf" expression="${ref}.canRead()" /> to 
<g2:evaluate var="jvar_context_menu_export_pdf" expression="gs.hasRole('admin')" />
but it seems not working