Hiding Save button in Reports

bcmc01
Kilo Expert

Folks,

Is it possible to hide 'Save' button in reports? I don't want show this to end users?

1 ACCEPTED SOLUTION

Hello Robert,



Thanks for the help. I am able achieve this using UI script (we can use with client script as well)



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


function reportVisitorStyle()


{




  window.onload = function()


  {


            //get iframe reference and hide elements


            var frame = document.getElementById("Visitor Count2");


            if(frame!= null)


            {


                      frame.contentWindow.document.getElementById('save-report').style.display = 'none';


                      frame.contentWindow.document.getElementById('dropdownMenu1').style.display = 'none';


                      frame.contentWindow.document.getElementsByClassName('main-settings')[0].style.display = 'none';


            }


  };



}


View solution in original post

5 REPLIES 5

Hi @bcmc01 ,

 

Please help me how to configure client script to call this ui script?

Please help me with the response as this requirement is very urgent to me.

 

Thanks,

Ankita Kolhe