Technology Blog Posts by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
6,357

this document will collect scripts that performs actions (click an icon, disable elements and so on) in a WEBI doc, through Javascript.

In order any of the scripts to work, we´ll need to set the Webi preference (under BI Launch Pad view/modify to HTML.

Instructions

1 - Drop a blank cell onto the report,]

2 - Set the cell property Read As to HTML

3 - Copy and paste the text of the script (from <script> to </script>, included ) to the cells formula

The first two will be :

1 - Collapse the Left Panel

     <script>

     self.top.window[2].window[0]._widgets[77].clickCB();

   </script>


2 - Disable the Save button

     <script>

     self.top.window[2].window[0]._widgets[282].setDisabled(true)

   </script>


3 - Reseting ALL Input Controls in a Report

   <script>

     self.top.window[2].window[0].window[5].iFormResetAllCB()

   </script>

   

Comments and suggestions about actions to be performed will be highly appreciated.


Regards,

Rogerio

14 Comments