Displaying BIP report (ByteArray) in new browser window after runReport
We have BIP 11g standalone.
Our UI is built in Flex / Flash Builder 4 and we are using runReport to execute our BIP reports.
For now, we am working with reports that are HTML output (Excel output comes later).
The ReportResponse object is returned successfully with a populated reportBytes (as ByteArray).
I am unsure how to display the reportBytes HTML report in a browser window (although I've found a number of blogs detailing in Java how to display a report, or save it to PDF etc and using OutputStream).
Can someone please advise how (in Flex/FlashBuilder) to take the ByteArray which is the resulting BIP HTML report and display it in a browser window?
I've been trying with URLRequest and about:blank vs image.load(bytes) etc but nothing is working.
Thanks
Hi Micky.
If you have the spool number of the printed billing document you can use
component WDK_SPOOL_TO_PDF in order to display spool as PDF.
Just transfer spool number and format to default inbound start up plug.
Cheers,
Sascha
Similar Messages
-
Open new browser window after insert
I am having a problem with form data being errased when users
go back to a form after after the insert command. I have been
trying to get the insertGoTo page to be opened in a new browser
window. The tail end of the insert command code looks as follows.
$Result1 = mysql_query($insertSQL, $squirrelcart) or
die(mysql_error());
$insertGoTo = "new_page.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $insertGoTo));
I have tried modifying the page name to:
$insertGoTo ="MM_openBrWindow('new_page.php','page_name','
This didn't work. Any suggestions on how to put the new_page
in its own window, or is there a way to suppress the form page
reload when going back ?Cody,
It sounds like you are using <a href="#"
Try using <a href="javascript:;"
Or better yet, use David Powers' Smart Link:
http://japan-interface.co.uk/webdesign/tools/index.html
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com
"csnodgr2" <[email protected]> wrote in
message
news:fmc4tf$feq$[email protected]..
> I've got a site that has a list of names of deceased
people. When a
> viewer
> clicks on a name I have a new browser window open that
is a small memorial
> page
> specific for that person. This list is fairly long so
the viewer has to
> scroll
> down a ways to get to the bottom. If the viewer clicks a
name towards the
> bottom and then closes that new browser window they have
to scroll all the
> way
> back down and find where they left off. This of course,
is assuming they
> are
> going in order to view the memorial pages for each
person. Is there a way
> to
> make the "original page (with the list of names)" not
refresh to the top
> of the
> page? I'm using and would like to continue using tables
and not layers or
> styles.
>
> Information can be sent onto [email protected]
>
> Any help would be much appreciated!
>
> Thanks,
> Cody
> -
New browser window after insert record
I need some help in modifying the insert record so the the
goto page opens in a new browser window. I'm working with
PHP/mySQL. I would expect that I need to modify this section of the
code.
$insertGoTo = "new_page.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $insertGoTo));
Tried changing the first line to
$insertGoTo = "MM_openBrWindow('new_page.php',' ',' ')";
which does not work. I little help would be greatly
appreciated.The only way I know is using javascript.
Here I give you an example:
*main.html*********
<html>
<head>
<script language="javascript1.2">
<!--
function Change(){
window.open("child.html","","toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=250,height=120,left=300,top=260");
-->
</script>
<body>
<center>
<form name="form1">
<table>
<tr><td>Selected value:</td><td><input type="text" name="tf" value="(none)"></td></tr>
<tr><td colspan="2" align="center"><input type="button" value="Change Value" onClick="Change()"></td></tr>
</table>
</form>
</center>
</body>
</html>
*child.html*********
<html>
<head>
<script language="javascript1.2">
<!--
function Change(){
window.opener.document.form1.tf.value=document.form2.select.value;
-->
</script>
<body>
<center>
<form name="form2">
<table>
<tr><td>Value:</td><td><select name="select"><option value="1">1</option><option value="2">2</option><option value="3">3</option></select></td></tr>
<tr><td colspan="2" align="center"><input type="button" value="Change" onClick="Change()"></td></tr>
</table>
</form>
</center>
</body>
</html>
Best Regards! -
Open discoverer report in new browser window and without connections page
Hi All,
We are using Oracle 11g Discoverer 11.1.1.4. Requirement is to open the discoverer report in a new browser window and without connections page.
When we are running discoverer reports with this parameters we unwantedly get the connections page of the discoverer plus which we don't want.
Went through the documentation given in this page and followed it still the issue persists, and i see couple of threads with my issue and no updates.
This excerpt is from the documentation available in the link
" _plus_popup=true and framedisplaystyle=embedded launches Discoverer Plus in a new pop-up browser window that contains the Plus applet embedded in it "
http://www.art2dec.com/documentation/docs/oas10g1012/linux/bi.1012/b13918/urlstart.htm
and Here is what we use to invoke our reports.
http://ipaddress:port/discoverer/plus?cn=cf_123&_plus_popup=TRUE&framedisplaystyle=EMBEDDED&wb=disc_wb_1
Request the forum users from PRO discoverer group to help me out of this issue and expect a good discussion on this.
Thanks in advanceClosing the thread
We were able to achieve by changing the browser settings in the IE 8 Browser. Disabled Tabbed browsing. -
Displaying PDF in new Browser window
Hi all,
I have a question about displaying a invoices in pdf format in a new window. I read several threads about this, but I haven't been able to solve my problem.
I'm using following code:
append the pdf to the response
cl_wd_runtime_services=>attach_file_to_response(
i_filename = 'test.pdf'
i_content = lx_pdf
i_mime_type = 'application/pdf'
i_in_new_window = ' X'
i_inplace = 'X' ).
The content (lx_pdf) is retrieved from a smartform, via the function module for the smartform in question, after which I convert the OTF Data (JOB_OUTPUT_INFO-OTFDATA) to XSTRING using FM SCMS_TEXT_TO_XSTRING. The returned data (buffer of type xstring) I use for afore mentioned method. But all I get to see is the following:
//XHPLJIIID 0700 00000000001
IN04EZZ_MO_SMARTFORM_TEST
IN05TEST_PAGE_1
OPDINA4 P 144 240 1683811906000010000100001
IN06MAIN
IN06TEXT_TEST1
MT0168902156
CP11000000E
FCCOURIER 120 00144 SF001SF001110000144E
UL +0000000000000
CT00000000
ST0590441This is a text page for displaying PDF in a
MT0168902396
ST0547238new window
MT0168902636
ST0460832called from within a WD application
MT0168902876
ST0144010Application
EP
The text is correct, but it is not displayed as PDF in new window, and of course I'm not interested in all the formatting codes in front of every line??
I should be possible to display a pdf in a new browser window without having installed everything needed for Adobe Interactive forms, or isn't it??
Kind regards,
Micky.Hi Micky.
If you have the spool number of the printed billing document you can use
component WDK_SPOOL_TO_PDF in order to display spool as PDF.
Just transfer spool number and format to default inbound start up plug.
Cheers,
Sascha -
Calling web report in new browser window
I have one Web-based Oracle report where I am calling another report in a FormatTrigger as:
http://myserver/cgi-bin/rwcgi60.exe?key1+:param1
I want to run this second report in a new browser window. I tried using TARGET="_blank"
but I get syntax errors. I know that without the cgi parameters, it is easy to include the TARGET after the URL. But can anyone tell me the correct syntax for the above case (with parameters)? I tried putting the TARGET before '?' and after the param but both failed.
Thanks
nulltry this in your format trigger:
web.show_document('http://myserver/cgi-bin/rwcgi60.exe?param1=value+param2=value', '_blank'); -
Anybody knows of an easy way to open a report through the link on another report into a new browser window by default? Thanks.
hi you can do this in a couple of ways
create a format trigger on the column that you want to use as the link :-
function F_organizationFormatTrigger return boolean is
begin
srw.set_hyperlink('http://' || :BASEURL || '/anotherjsp.jsp?REPORT_ID=1&destype=cache&desformat=' || :desformat || '&WHERECLS=' || :DRILLCLS || '&DRILLVALUE=' || chr(39) || :column1 || ' ' || chr(39) );
srw.set_hyperlink_attrs('target=_blank');
return (TRUE);
end;
or you can put it in the Web Settings piece of the Property Inspector for the column that you want to link from . there is a paramter for hyperlink and hyperlink destination.
hope this helps -
Opening remote page in new browser window
Hi there,
my applet used the browser window as its frame, that means there is nothing else but the applet. I need to call a page from the same server as the applet resides, but to display the page in a new browser window. The following code could do the job, but caused the browser to block the popup.
applet.getAppletContext().showDocument(new URL
("http://mydomain/mypage.jsp"),"_blank");I'm wondering whether I could access a servlet from my applet and let the servlet accomplish this and how to.
It would be also of interest whether it is possible to do the same with a page from a remote server and triggering the client to display the page in a new window.
Any help is highly appreciated.
Thanks in advance.
StephanSorry, mixed up my versions a bit. The following code doesn't open a new window.
try {
JSObject window;
window = JSObject.getWindow(this);
URL url = new URL(this.getCodeBase(), "mydomain/mypage.jsp");
window.eval("window.open(" + url +")");
catch (Exception e) {
e.printStackTrace();
}It doesn't do anything, instead I'm getting the following output in the trace:
liveconnect: the url of the applet is http://localhost:29080 and the permission is = false
liveconnect: JavaScript: UniversalBrowserRead enabled
liveconnect: JavaScript: UniversalJavaPermission enabled
liveconnect: JSObject::eval(window.open(http://localhost:29080/mydomain/mypage.jsp))
liveconnect: the url of the applet is http://localhost:29080 and the permission is = falseI'm testing this code on Linux, FIrefox 1.5.0.3 and JDK1.5.0_07.
What I'm doing wrong?
Thanks.
Stephan -
Uploading documents to show in new browser window
Please can you let me know when we will have the option to upload files (eg Word, Excel) and display these items in a new browser window? At the moment the only way round this is to load a file and then create a URL link to this file.
ThanksHi Jan
Add your document (eg Word) as a File item type. Then view the document by clicking on the display name. Highlight the URL and copy it.
To create a URL link to this document select Add Item and choose URL. Paste the URL you have just copied from the original document into the URL field - fill in the other primary and secondary attributes - choose to open document in new browser window.
Go back to your original Word document and hide it from view.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jan:
Katie,
can you tell me how to make such an upload an create a link to it ? That's exactly what I'm trying to do ...
Thanks,
Jan<HR></BLOCKQUOTE>
null -
Can i retain my app tabs & tab groups in new firefox window after i close one ??
Just upgraded to Firefox 5 and used the awesome features of app tabs and tab groups, but ah ! i closed my browser and when i opened it again, everything was lost. :(
How can i retain my app tabs and tab groups when i open a new browser window after closing the one in which these were created ?
Will be a great help if we can do it.Thx for your answer.
But when I select the option to empty everything when I close Firefox I can chose what is deleted
- Cookies
- Download history
- Cache
etc...
There should be an option for pinned tabs. Especially because this tabs are not simple tabs but tabs you want to keep.
The only solution I have found so far is to keep emptying everything and to ask to Firefox to start a folder of bookmarks as my homepage (homepage <=> several URLs separated with | )
But it opens wide tabs and not small pinned ones :/
We should have the option ! -
Display Integrated Oracle Report in New Browser Window
Hi All,
I am using APEX 3.0.1 and Reports Builder 10g and have integrated my Oracle Reports (.rdf) successfully with APEX.
The trouble is that the report output (in PDF format) is opening in the same browser window as my APEX application and I would like to spawn a new browser window to display the report output.
The report is being called from a button with a Target of URL and the URL Target is:
&REPORTS_URL.&module=DEBITNOTE_REP.rdf&destype=cache&desformat=pdf&P_DEBITNOTEID=&P73_DEBITNOTEID.
Kind Regards,
Gary.Hi Garry,
Had to do the same thing last week.
1. Create a javascript function that accepts the report parameters and calls the window.open function for the reports URL
2. Change the URL on the report button to call this new function
It might also be worth using a cmdfile (see reports doco) to simplify the URL
cheers,
Ron -
Open new browser window from Hyperlink in BIP PDF output report?
Hello,
Is there a way to open a new browser window from Hyperlink in PDF report?
Thank you all in advance.
MTDear Friend,
It is not supported for PDF Report. But below links helps you, to accombish this task in PDF report.
[url http://oracleapps4u.blogspot.com/2011/03/open-hyperlink-in-new-browser-window.html]http://oracleapps4u.blogspot.com/2011/03/open-hyperlink-in-new-browser-window.html
Thanks & Regards
Ahamed Rafeeque Cherkala -
How to make a linked report to be shown in a new browser window
I created two portal reports and a dynamic link between them. By
clicking on
the linked column of the report A (master list), I successfully
got to the
report B (detail report). The problem I have is that the report
B is shown on
the same browser window as the report A. I am wondering if there
is a way that
I can open the report B in a new browser window.
Thank you very much for your help!
Jean<p>When I use an oracle link from 1 report to another, portal adds 47 spaces after the link. When processed in a browser it displays as 47 %20's right after the binded variable.</p><p>
Using the concatenation method worked in that it opened in a new broswer window and binded the variable correctly, but returned no rows.
I manually appended 47 %20's in the address bar and it returned all the data correctly.</p>
<p>
For testing purposes I added 47 %20's to the sql code, hoping it would add them to the link. It did, but with many more %20's in addition so didn't work.</p>
<p>
I got it to work by adding just a '%' after the variable name. Here is the code that seems to work for me.</p>
<span style="background-color:#cccccc;">
< a href="http://PORTALLOCATION/SCHEMA.RPT_NAME.show?p_arg_names=BINDVARIABLENAME&p_arg_values='||VARIABLE_TO_BIND||'%" target="_blank">'||VARIABLE_TO_APPEAR_AS_HYPERTEXT||' < /a></span>
<p>
Thanks for your help bclange. Hopefully the Oracle guys have read this and will add the target attribute to the link component next time!</p> -
Download blob as pdf. Display inline in new browser window
I am using the standard functionality of loading blob data, using a browse/upload item, and retrieving blob data using a report on a blob column. One of the settings when setting up upload and retrieval column attributes is called "CONTENT DISPOSITION". If I set it to "INLINE" the file downloads when clicking the "DOWNLOAD" link and displays in the appropriate viewer, e.g. for PDFs it's the browser window. How do I get the PDF file to display in a NEW browser window so the user does not have to leave apex?
Paul PAlternatively, do pdf's already render in the browser window?
http://www.mydigitallife.info/2007/06/17/disable-pdf-from-opening-in-web-browser-ie-firefox-opera-safari/
Trent -
Drill to link - How can integrate the new browser window inside the report
Hi, I'm using Discoverer Plus/Viewer 10.1.2.48.18 and I just created successfully a "Drill to Link to an Internet Page" related to my field "Ticket Id"
So, when, from Viewer, I select the link, a new tab from a new browser session is opend and I see all the details related to the Ticket Id chosen.
This is right because on the manual is written:
Discoverer behaves as follows: if you drill out to an Internet page, Discoverer displays the Internet page in a new browser window.
Now my question is this: is there a way or a workaround to integrate the new browser window's content inside my report ?
In other words, instead to see the all the Ticket id details (graphs included) in a new browser window, my customer asked me to see these details inside the same report, just below the field with the link.
Any help will be appreciated
Thanks
AlexHi, I'm using Discoverer Plus/Viewer 10.1.2.48.18 and I just created successfully a "Drill to Link to an Internet Page" related to my field "Ticket Id"
So, when, from Viewer, I select the link, a new tab from a new browser session is opend and I see all the details related to the Ticket Id chosen.
This is right because on the manual is written:
Discoverer behaves as follows: if you drill out to an Internet page, Discoverer displays the Internet page in a new browser window.
Now my question is this: is there a way or a workaround to integrate the new browser window's content inside my report ?
In other words, instead to see the all the Ticket id details (graphs included) in a new browser window, my customer asked me to see these details inside the same report, just below the field with the link.
Any help will be appreciated
Thanks
Alex
Maybe you are looking for
-
Basically just what the question says. Only reason I want to know is because I have had 4 iPod touches. All 4th gen. My original one got cracked but I traded it in for a new one. That ones battery died within 5 minutes of usage. I took that one to th
-
Infinity - BT Lack of real communication
I see KerryG has several posts on Infinity and why so many people can’t get it. These seem to be standard excuses and frustrating for people wish to plan their communications needs. I am looking at Satellite broadband as a way of exceeding BT’s path
-
Ejecting Time Machine External Hard Drive
I have an external Maxtor hard drive (USB) that I have difficulties ejecting properly. When I try it replies that the disk is in use however, I am not running anything off of it and the next scheduled backup was 30 minutes away. The hard drive is att
-
"HH_GET_WIN_TYPE has not been specified" in Robohelp 9 HTML
Hi there. I know this error has been around before, but I have not found any solution to fix my problem. I imported a Robohelp x5 project into Robo 9 HTML, and everything seemed to import fine. I compiled the project, and everything works except for
-
How to exclude table grants from getting being streamed
I have one way schema level streams replication setup with DDL. The destination database does not have all the roles and users setup that the source database has so when a grant happens on the source and the role or user does not exist in the destina