Is it possible to disable xml export for a specific table ?

HelioGabrenha
Giga Contributor

I want to disable the EXPORT / Export XML functionalities for a set of tables, unless the user is an admin.

Is that possible?

I found some documentation on hiding the UI menu option or just showing it to admins for all tables. (https://community.servicenow.com/thread/236867).

I need that  for some specific tables.

 

Thanks

4 REPLIES 4

Chuck Tomasi
Tera Patron

Hi Helio,



This is not currently possible with the way the context menus are programmed.



I invite you to open an enhancement request! Our product managers DO listen.


Enhancement requests: Tell us how you would improve the ServiceNow product


Hi Chuck, Thanks for replying. But is it possible to leave de UI buttons as-is but disable the functionality changing a script or something like that? Thanks again.


The code that drives the functionality is in the context_form_header UI Macro. If you modify it, you own it - no additional updates from ServiceNow will be provided. Not this is considered an advanced topic as it involves Jelly and JavaScript.



You can find the UI macro on your instance by using the URL below (changing YOURINSTANCE to your instance name)



https://YOURINSTANCE.service-now.com/nav_to.do?uri=sys_ui_macro.do?sys_id=2ff1c56ca9fe3dba014340c469...


shivanipatel
ServiceNow Employee
ServiceNow Employee

Helio,



We are glad you took advantage of the ServiceNow Community to learn more and to get your questions answered. The Customer Experience Team is working hard to ensure that the Community experience is most optimal for our customers.



If you feel that your question was answered, we would greatly appreciate if you could mark the appropriate thread as "Correct Answer". This allows other customers to learn from your thread and improves the ServiceNow Community experience.



If you are viewing this from the Community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thanks,


Shivani Patel


Unknown-1.png