Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Click on main page hyperlink via the frame

Status
Not open for further replies.

Nunners

Programmer
Aug 22, 2001
25
0
0
GB
Hello,

This may not be the correct forum for this question, but here goes anyway...

My company has developed a system (using Oracle Sales Analyser and Oracle web agent). Within this system it is possible to run reports from Oracle Sales Analyser and Oracle Discoverer. This is done through one front end tool called Oracle Web Agent. The idea being that the user does not know which system they are currently navigating, all systems are controlled though the frame on the left of the browser. This idea works very well, apart from a printing issue we have.

When the user has navigated through the system and loaded an Oracle discoverer report which requires printing. They are presented with a web page consisting of a navigator frame and a report. This report has a printing functionality called 'Export to Excel', this is in the form of a hyperlink (which runs some java).

However, my users require this functionality to be available from the Frame only. In other words, the 'Print Reports' button in the frame needs to fire of the 'Export to Excel' link in the main window.

Is there any way which you can fire off the ‘Export to Excel’ hyperlink, remotely from the frame. The code below shows the table of options which the report builds up in the main page. I need a way of clicking the ‘Export Data’ hyperlink from a frame.

Any help gladly received.

Thanks, Matt.

<table border=&quot;0&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;100%&quot;><tr><td width=&quot;10&quot; height=&quot;5&quot; colspan=&quot;1&quot;><img width=&quot;10&quot; height=&quot;5&quot; src=&quot;/disco4iv/html/images/pixel.gif&quot;></td><td width=&quot;10&quot; height=&quot;5&quot; colspan=&quot;1&quot;><img width=&quot;10&quot; height=&quot;5&quot; src=&quot;/disco4iv/html/images/pixel.gif&quot;></td><td valign=&quot;baseline&quot; nowrap width=&quot;100%&quot;><table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;><tr><td><font face=&quot;Arial, Helvetica, Geneva&quot; size=&quot;1&quot;><a href=&quot;/discoverer4i/viewer?ac=dw_eul_bpr~40dss&eul=DW_EUL_BPR&wbk=BPR_BRAND_INTAKE_-_DELIVERY_FULFILMENT_ANALYSIS12&wsk=9&pg=1&pi_Year~20and~20Week=Week~2048~202001&pi_Brand=Gerry~20Weber&qp_p_dept=1~20H.O.F&qp_p_year_week=Week~2048~202001&qp_p_brand=Gerry~20Weber&nlsl=en-gb&_po=10010010010101101110100&_rvp=els&quot;>Crosstab Layout</a></font></td><td><font face=&quot;Arial, Helvetica, Geneva&quot; size=&quot;1&quot;> | </font></td><td><font face=&quot;Arial, Helvetica, Geneva&quot; size=&quot;1&quot;><a href=&quot;/discoverer4i/viewer?ac=dw_eul_bpr~40dss&eul=DW_EUL_BPR&wbk=BPR_BRAND_INTAKE_-_DELIVERY_FULFILMENT_ANALYSIS12&wsk=9&pg=1&pi_Year~20and~20Week=Week~2048~202001&pi_Brand=Gerry~20Weber&qp_p_dept=1~20H.O.F&qp_p_year_week=Week~2048~202001&qp_p_brand=Gerry~20Weber&nlsl=en-gb&_po=10010010010101101110100&_act=epo&quot;>Presentation Options</a></font></td><td><font face=&quot;Arial, Helvetica, Geneva&quot; size=&quot;1&quot;> | </font></td><td><font face=&quot;Arial, Helvetica, Geneva&quot; size=&quot;1&quot;><a href=&quot;/discoverer4i/viewer?ac=dw_eul_bpr~40dss&eul=DW_EUL_BPR&wbk=BPR_BRAND_INTAKE_-_DELIVERY_FULFILMENT_ANALYSIS12&wsk=9&pg=1&pi_Year~20and~20Week=Week~2048~202001&pi_Brand=Gerry~20Weber&qp_p_dept=1~20H.O.F&qp_p_year_week=Week~2048~202001&qp_p_brand=Gerry~20Weber&nlsl=en-gb&_po=10010010010101101110100&fm=htm&quot;>Printer Friendly Version</a></font></td><td><font face=&quot;Arial, Helvetica, Geneva&quot; size=&quot;1&quot;> | </font></td><td><font face=&quot;Arial, Helvetica, Geneva&quot; size=&quot;1&quot;><a href=&quot;/discoverer4i/viewer?ac=dw_eul_bpr~40dss&eul=DW_EUL_BPR&wbk=BPR_BRAND_INTAKE_-_DELIVERY_FULFILMENT_ANALYSIS12&wsk=9&pg=1&pi_Year~20and~20Week=Week~2048~202001&pi_Brand=Gerry~20Weber&qp_p_dept=1~20H.O.F&qp_p_year_week=Week~2048~202001&qp_p_brand=Gerry~20Weber&nlsl=en-gb&_po=10010010010101101110100&_act=seo&quot;>Export Data</a></font></td></tr></table>
 
place you 'export to excel' request in a javascript function and call that function from the frameset using dom.
 
I have no control over the 'Export to Excel' request. The page is build up by the application.

We have simply added a frame around the outside of the Oracle Application. The href=&quot;/discoverer/..blah....blah is build up dynamicially by the application. The only sure thing about the page, is that the Export link will be called &quot;Export Data&quot;.

I require a remote method of hitting this link from the frame.

P.S. My Javascript knowledge is very limited, but any help at all is great

Nunners
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top