how to stop drilling down the report?

alvatindra
Giga Contributor

how to   stop drilling down the report?

3 REPLIES 3

chirag_bagdai
ServiceNow Employee
ServiceNow Employee

Could you please share some more details if possible screenshots ?


sachin_namjoshi
Kilo Patron
Kilo Patron

shloke04
Kilo Patron

Hi,



Most probably,the options which are visible under the Drop Down menu of the Report Page like Report Drill Down are not accessible for users to modify. One way to Restrict Users from using that Option would be to disable it and Can be done using some DOM scripts as mentioned below:



1) Create a UI Script as mentioned below:



Script:



window.addEventListener('load', reportVisitorStyle());


function reportVisitorStyle()


{




  window.onload = function()


  {


               


    document.getElementById('report_drill_link').style.display = 'none';


  };



}



find_real_file.png



Make sure the Global checkbox on the UI Script form   is marked as True. This will do the trick for you.



Although DOM is not recommended, but I think this is the only option to Restrict Users from using Report Drill Down option.



Hope this helps.Mark the answer as correct/helpful based on impact.



Regards,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke