This exercise is based on OBIEE 11g.
Use Text object and put the HTML code. For example.
[ Note : Input type is RADIO and value is obtained by copying the URL from the Individual report , There are 4 report options are present, Also I want each report to open with a new page so I am using window.open(ob[i].value,'_blank'). I have customized the style of button and text and form. You can modify the code according to your requirements. ]
<html>
<table width="1200" border="7" >
<tr>
<td style="background-color:#FFA500;">
<h3>Choose a report</h3>
</td>
</tr>
</table> <br /><br />
<form action="../">
<fieldset>
<input type="RADIO" value="http://usblrnmehandal1:7001/analytics/saw.dll?PortalGo&SearchID=6ci2di5j21pk00tn7hvffpuh5a&Path=
%2fshared%2fRRR%2fShowing%20the%20lst%20run%20time%20of%20the%20report&ViewState=h63oupbhm227u6lch494h9v6fa&ContainerID=o%3aportalgo
%7er%3areport&RootViewID=go" name="userChoice" id="navRadio01">
<label for="navRadio01"><b>Showing the Last run time Report</b></label><br>
<input type="RADIO" value="http://usblrnmehandal1:7001/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FRRR%2FInline
%20Prompt" name="userChoice" id="navRadio02">
<label for="navRadio02"><b>Inline Prompt report<b></label><br>
<input type="RADIO" value="http://usblrnmehandal1:7001/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FTesting%2FDouble%20column%20feature"
name="userChoice" id="navRadio03">
<label for="navRadio03"><b>Double column feature report<b></label><br>
<input type="RADIO" value="http://usblrnmehandal1:7001/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FRRR%2FColumn%20with%20Action%20-
%20Inline%20Prompt" name="userChoice" id="navRadio04">
<label for="navRadio04"><b>Column with Action - Inline Prompt report<b></label>
<br /><br />
<input type="BUTTON" value="Go there!" onclick="ob=this.form.userChoice;for(i=0;i<ob.length;i++){
if(ob[i].checked){window.open(ob[i].value,'_blank');};}" style="color:#DC143C;background-color:#FFFF47;font-family:verdana;border-style:solid;" />
</fieldset>
</form>
</html>
1) Open the first report for example
Click on the first option button and hit the Go button.
Thanks.
Use Text object and put the HTML code. For example.
[ Note : Input type is RADIO and value is obtained by copying the URL from the Individual report , There are 4 report options are present, Also I want each report to open with a new page so I am using window.open(ob[i].value,'_blank'). I have customized the style of button and text and form. You can modify the code according to your requirements. ]
<html>
<table width="1200" border="7" >
<tr>
<td style="background-color:#FFA500;">
<h3>Choose a report</h3>
</td>
</tr>
</table> <br /><br />
<form action="../">
<fieldset>
<input type="RADIO" value="http://usblrnmehandal1:7001/analytics/saw.dll?PortalGo&SearchID=6ci2di5j21pk00tn7hvffpuh5a&Path=
%2fshared%2fRRR%2fShowing%20the%20lst%20run%20time%20of%20the%20report&ViewState=h63oupbhm227u6lch494h9v6fa&ContainerID=o%3aportalgo
%7er%3areport&RootViewID=go" name="userChoice" id="navRadio01">
<label for="navRadio01"><b>Showing the Last run time Report</b></label><br>
<input type="RADIO" value="http://usblrnmehandal1:7001/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FRRR%2FInline
%20Prompt" name="userChoice" id="navRadio02">
<label for="navRadio02"><b>Inline Prompt report<b></label><br>
<input type="RADIO" value="http://usblrnmehandal1:7001/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FTesting%2FDouble%20column%20feature"
name="userChoice" id="navRadio03">
<label for="navRadio03"><b>Double column feature report<b></label><br>
<input type="RADIO" value="http://usblrnmehandal1:7001/analytics/saw.dll?PortalGo&Action=prompt&path=%2Fshared%2FRRR%2FColumn%20with%20Action%20-
%20Inline%20Prompt" name="userChoice" id="navRadio04">
<label for="navRadio04"><b>Column with Action - Inline Prompt report<b></label>
<br /><br />
<input type="BUTTON" value="Go there!" onclick="ob=this.form.userChoice;for(i=0;i<ob.length;i++){
if(ob[i].checked){window.open(ob[i].value,'_blank');};}" style="color:#DC143C;background-color:#FFFF47;font-family:verdana;border-style:solid;" />
</fieldset>
</form>
</html>
1) Open the first report for example
Click on the first option button and hit the Go button.
Thanks.
2 comments:
Nice one.. Keep posting
:-) Thank you Sandeep
Post a Comment