Disable report drill-down option

Syvo
Mega Guru

Hi all,

My current client wants to display a few reports on his portal but the drill-down only gives him an empty list because of ACL.

This is expected, but then how would you disable the drill-down from the start ?

I thought of a few ways already :

* run a piece of JS that would override the click event; but I can't seem to find how to do that on the report blocks

* create a specific "boucing" view, and a client script running on that view that would relocate the browser to the previous page; but that would be terrible for UX

* display a static image of the report instead of the report itself; but I don't see how to do that

Thanks for your insights !

Sylvain

10 REPLIES 10

Thanks Russell,


The side effect is not acceptable for us here but that's a good hint.


For what it's worth, you can make it so the hover over still works, but the drill down is disabled by:



1. Remove the CSS "pointer-events" from above in this thread if you happened to use it.
2. Execute this jQuery on the Service Portal / CMS page you have the report on:



$j("path").click(function(event) {
          event.stopPropagation();
});


Garrett Griffin-Morales, where exactly on the Service Portal page with my report that I want to avoid the drill-down should I add this jQuery?



Thanks,




Fábio Gonçalves


Honestly it's hard for me to answer that -- I'm definitely not a Service Portal expert.



I managed to put the code into a UI Page that I had embedded on the relevant Service Portal page.


Ok. But even in your UI Page, in which section have you added this jQuery you mentioned? In HTML, Client Script or Processing script section?



Thanks,



Fábio Gonçalves