Window.open function in java script used to open the BI report from APEX

Hi,
I have some oracle reports now which I converted to BI publisher and the reports are now in BI publisher.
My question is
To open the BI report from APEX using a button the following code i have written
window.open
('http://bipubdvserver/xmlpserver/testreport/testreport.xdo?_xpf=&_xpt=1&p_dept_no=&deptno',"mywindow");
I want to pass the parameter deptID dynamically to call the BI report.
But when I click on the button it is showing the file open/save dialog box without accepting the parameter and finally showing the blank pdf.
but I want to enter the parameter value dynamically that is when click on button it should allow me to enter the deptno eg. 10 then should show the data related to dept 10 in pdf..
how to accomplish this could you please help me.
thanks very much in advance.

i got this please ignore the post.

Similar Messages

  • Open the WebI report from Xcelsius dashboard

    Hi All,
    I would like to know how to open the WebI report from the xcelsius dashboard.
    Looking at the previous posts I followed the following steps to implement the same but that is not working.
    Inserted the component URL button and used the folowing link:
    http://servername/OpenDocument/opendoc/openDocument.jsp?sType=wid&sIDType=XXX
    But this is givingerre: " Internet Explorer cannot display the webpage"
    Also, tried the copying the reprot link, but that is opening the Infoview login page.
    I want the report to opened when we click the URL button.
    Could someone please provide me a solution.
    Thanks in advance.
    Regards
    Sindhu

    did you try passing the iDocID parameter? When prompted did you try to login to InfoView and check whether Report gets displayed?
    Ideally the URL should be as below:
    [http://<server>:<port>/OpenDocument/opendoc/openDocument.jsp?iDocID=<cuid_of_the_document>]
    If you want to bypass the logon screen,you need to modify the OpenDocument.jsp to pass logon token to the above URL i.e.token=+token where the +token is being retrieved by sdk.

  • Error occured when try to open the BI report from words (template builder)

    Hi,
    After i LogOn into BI Publisher thru words, successful. But when choose a report to open, error returned as "Error occured. Please check the settings and try again."
    My team had do various of testing, try to reinstall the BI publisher desktop, but not able solve the problems. From the forum, someone comment is due to data loaded too large, so we try to put a query which only select single record from a small database, but still same error.
    then we suspect is due to the proxy setting, because once i reset to bypass the proxy, i able to open the report thru words without any error.
    i found this comment from online doc :
    Have set up the proxy parameters (to avoid any firewall problems with the Web Services and RSS data set reports) in the xmlpserverstart.bat file or the oc4j.cmd file as per your installation.
    Modify the following line, which defines JAVA_HOME. (Observe the proxy parameters in bold.):
    •     "%JAVA_HOME%\bin\java" %JVMARGS% -jar -Dhttp.proxyHost= <myproxy.mycompany.com> -Dhttp.proxyPort=<Port> "%OC4J_JAR%" %CMDARGS%
    Restart xmlpserver or oc4j as the case may be.
    but i can't found this xmlpserverstart.bat or oc4j.cmd from server.
    Please comment.
    Thanks
    Regards
    Eelyn

    hi,
    as per you query posted here, please chk ur sql statement what u had written...there may be some problem with that query that is y ur getting the below error.
    "error occured. please check the settings and try again BI publisher"
    regards
    Kanoj

  • Can we call java function in java script????

    hello
    please tell me can i call a java function through java script function in jsp???

    of course not. JavaScript is interpreted by the client (web browser) while the Java code in a JSP resides on the server. don't confuse the web application's architecture.
    robert

  • Add keys to the Windows registry database regarding Java Script/JRE

    Hi everyone,
    In another thread in this forum, I have writen about how I completely could remove JRE from my system.
    In the thread I told that I have found the following registry keys on my Windows 7 64-bit operating system:
    1. HKEY_CLASSES_ROOT\JavaScript
    2. HKEY_CLASSES_ROOT\JavaScript Author
    3. HKEY_CLASSES_ROOT\JavaScript1.2 Author
    4. HKEY_CLASSES_ROOT\JavaScript1.3
    5. HKEY_CLASSES_ROOT\JavaScript1.3 Author
    6. HKEY_CLASSES_ROOT\Wow6432Node\PROTOCOLS\Handler\javascript
    7. HKEY_CLASSES_ROOT\PROTOCOLS\Handler\javascript
    8. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaPlugin.1010
    9. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript
    10. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript Author
    11. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.2 Author
    12. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.3
    13. HKEY_LOCAL_MACHINE\SOFTWARE\Classes\JavaScript1.3 Author.
    When I take a look on my Windows XP Service Pack 3 operating system, I can not find the same keys in the Windows registry database, and I therefore will ask about the following questions:
    1. It is correct that the keys above only is on Windows 7 64-bit's registry?
    If the keys also should be on Windows XP Service Pack 3, how can I install the keys again?
    I have tried to reinstall Internet Explorer 8, but the keys not came back again.
    2. After I have reinstalled Internet Explorer 8 I can find a option called "Use JRE 1.6.0_12 for <applet> (requires restart)" if I go to Internet options>advanced. I have not installed a JRE on my Windows XP, since I will make a installation of the latest JRE from scratch.
    2. It is posible to remove the option above (e.g. via the Windows Registry editor), so the latest JRE can add the option again to Internet Explorer 8?
    Very thanks for the answers, and happy new year.
    Regards,
    Anders

    Javascript has nothing to do with the Java and the JRE and though I can't be certain I doubt very much if those registry entries have anything to do with the JRE.

  • Can Java be used to manipulate the Windows registry?

    Can Java be used to manipulate the Windows registry? If so, can someone point me to some examples?
    Thanks!

    There is no supplied capability to do this, because the registry is Windows platform specific.
    It might be possible by making the call through a native Windoze app.

  • Which URL to use to open a financial report from a Task list ?

    Hi,
    I've got a big issue in Hyperion Planning : I do not know which URL to use to open a financial report from a task list.
    If I use the Smartcut (given when you do a right-click on the report, then Properties), a tab is opening (normal behaviour), but another tab is opening under the tab, which is very ugly, and moreover which prevent from using the PDF/HTML display icons !
    Is someone know which URL to use to display correctly a financial report when opening it from a task list ?
    It's an emergency, please help !
    Thanks very much.
    Virgile.
    PS. : we use Internet Explorer 8 and we use 11.1.2.1 Hyperion Planning version
    Edited by: 808808 on Jan 5, 2012 3:41 AM

    Hi,
    OK, thanks, it almost works !!
    I've just a problem. 2 tabs are opening.
    One is opening correctly and displays my report. I can display it in PDF/HTML.
    But another tab is opening with this message : This window can now be closed since the application has been launched in a separate window. Note: Popup blockers may prevent this application from working properly.
    Do you know why this tab is opening ?
    Thanks very much for your help.
    Virgile.

  • How to Include JAVA script code in SAP BI7 web Reporting?

    How to Include JAVA script code in SAP BI7 web Reporting?

    In nw2004s there is a new web item called "Script" web item which lets you add javascript code. When you add javascript code in this web item, you don't need the opening and closing <script> tags...
    Hope it Helps
    Chetan
    @CP..

  • How to chcek if Java Script is enabled for the browser

    Hi all,
    I wanted to know if there was any way to check if Java Scripts is enabled in the browser on which the jsp screen is being displayed. This type of check should be in Java and im working on a struts framework.
    Thanks

    There are multiple ways of doing it. Depends on wether you need this information only at the Client (browser) or do you need it at the Server.
    In case of Client its trivial. You could do it in HTML:
    <div id="jsEnabled" style="visibility:hidden">
    JavaScript is enabled
    </div>
    <div id="jsDisabled">
    JavaScript is disabled
    </div>The first div contains the text "JavaScript is enabled" while the second one says "JavaScript is disabled". The first div is also made hidden. Now, we attach the checkJavaScriptValidity function to the onload event of the page.
    <body onload="checkJavaScriptValidity()">checkJavaScriptValidity hides the second div and make the first one active. If JavaScript is enabled you will see the first div which says "JavaScript is enabled". If JavaScript is disabled you will see the second div which says "JavaScript is disabled".
    <script language="javascript" type="text/javascript">
    function checkJavaScriptValidity()
    document.getElementById("jsEnabled").style.visibility = 'visible';
    document.getElementById("jsDisabled").style.visibility = 'hidden';
    </script>But I guess since you want it to do it in Java, you'll need this information at the Server side as Browsers dont execute Java code. In that case you could just do an HTTP hit from a javascript function on load with information about the current session. But I still do not understand why would need this information at the server side as your purpose seems to be to ask the user to enable Javascript on his browser.

  • There are an option that let us on choosing an browser in that will be open the Adobe Account  from  app-desktop Creative Cloud in the windows operating system?

    Hello,
    There are an option that let us on choosing an browser in that will be open the Adobe Account  from  app-desktop Creative Cloud in the windows operating system?
    ...in the case this option  not exist...
    Please add an option (maybe in next update schedule) that will let us to choose a different browser not the default.
    Adobe Cloud ,Behance also Prosite are very weak implemented on the Internet Explorer.
    All the best,
    Cristian

    Hi Jeff,
    Thank you for the attention given! I know this ... CCloud,Behance,Prosite go very well with Chrome;Firefox browsers(I use also on this browsers).
    In case that will set Chrome or Firefox as the default browser I'll lose modern (metro) Internet Explorer... I don't want to loose this browser because is using on different stuff...a taste option.
    I try question more like an suggestion to Adobe (maybe a future thinking option) but my English writes are weak ..
    All the beast,
    Cristian

  • I used my military (.mil) address as the backup for my appleID account, but now that I need to open the verification email from apple, the .mil doesnt allow me to open and verify that I am who I am?

    I used my military (.mil) address as the backup for my appleID account, but now that I need to open the verification email from apple, the .mil doesnt allow me to open and verify that I am who I am?

    Hey Edgew7,
    Thanks for the question. The following resource may provide a solution:
    iOS 7: If you're asked for the password to your previous Apple ID when signing out of iCloud
    http://support.apple.com/kb/ts5223
    3. Change your Apple ID temporarily
    If signing out and back in to iMessage or FaceTime didn't work, try these steps:
    1. Change your Apple ID to the Apple ID you used previously. You shouldn't need to verify the email address.
    2. Tap Settings > iCloud and try to sign out.
    3. Change your Apple ID to the new email address that you want to use. You'll need to verify the email address.
    4. Tap Settings > iCloud and sign in with the new Apple ID.
    Thanks,
    Matt M.

  • Whenever a prompt window opens, the first option is highlighted in blue. Tried restarting, but the problem persisted.

    Whenever a prompt window opens, the first option is highlighted in blue. Tried restarting, but the problem persisted. I don't recall doing anything unusual when the problem started.

    The fact that the cancel button (first option) is outlined in blue is what's bugging me. I've never seen this happen before. This happens with every single dialog/prompt window.

  • Open a PDF report from a PDF report

    I would like to open a PDF report from a PDF report, but in a new IE window.
    I have the following code attached to an item in the report:-
    function F_RECONFormatTrigger return boolean is
    begin
    IF trim(:btch_ref) = 'PL' and trim(:recon) is not null and trim(:recon) <> ' ' then
    srw.set_font_weight(srw.bold_weight);
    srw.set_font_style(srw.underline_style);
    srw.set_text_color('blue');
    srw.set_hyperlink_attrs('onMouseover "window.status="Click here to see what is in your shopping basket"; return true"'||'onMouseout ="window.status=" "; return true"');
    srw.set_hyperlink('/reports/rwservlet?cmdkey=famis+desformat=pdf+report=FAMREP011+p_orderno='||trim(:recon));
    srw.set_hyperlink_attrs('target=_blank');
    -- srw.set_hyperlink_attrs('target="_blank"');
    END IF;
    return (TRUE);
    end;
    All of the commands work except for the 2 srw.set_hyperlink_attrs commands. The "onMouseover" and the "target" seem to have no effect. Can anyone help?
    Thanks in advance
    Michael

    The built in srw.set_hyperlink_attrs does not work , if the report format is PDF. There is no way to open another PDF report from a PDF report in a seperate window. Also think there is no way to hide URL which apperars when the mouse pointer moves over the hyperlink.
    In other report formats like HTML, the built in srw.set_hyperlink_attrs works.
    Kranthi

  • How to Open an Oracle Report From a JSF Page

    Hi there,
    I would be really grateful if anyone would find me a solution to the following scenario:
    In my company, we have a project where we have to convert Oracle Forms and Reports to Java Web Application. The conversion of forms is being done thourgh JSF/ADF technology but how can i open an Oracle Report from a JSF page after supplying it with parameters ? Or i have to do some type of conversion before ?
    Once again i would be thankfull for your replies.

    Tapash,
    Thanks for reponding.
    Here is the URL I am currently using :
    https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
    The p_accesscode is the parameter I need to pass to the Oracle report.
    Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
    Thanks
    Hilal

  • I cannot view PDF in Firefox at the first time but once I manually open the PDF file from my local computer, I can view other PDF files via Firefox webbrowser

    I install Adobe Acrobat 9 in my laptop which runs on windows 7. I use Firefox 3.6.8 and have the problem with the PDF file. The problem is I cannot open the PDF file in Firefox web browser at the first time I launch firefox. It shows a warning box without any message. Only OK button is shown so I can close it. However, if I manage to open the PDF file from my local computer by just using adobe acrobat itself then the PDF can be opened in the Firefox web browser. I followed the instruction on the mozilla help but nothing works for me. The problem still exists. I wonder if anyone have the same problem like me and know how to solve this. Thank you so much

    Hi there!
    I cannot help you, but I think we have a common problem: We got a system here running Vista SP1 with Acrobat 9 standard on it. When we open a pdf file it works normally, but when we open another pdf file, we see the first one in that second window.
    Think that missing option to watch several files within a single window-thing messed up more than meets the eye ... but as we just purchased the 15 licenses, we have to use version 9.
    I didn't find any clues on this problem, but I will post any new hints I get.

Maybe you are looking for

  • Nokia PC Suite unable to run on Win2K SP4

    I've a fresh install of Win2K with SP4 on an old IBM 166MMX. I downloaded and installed Nokia PC Suite 6.82.22. Installation completed successfully but later when I connected my cable and phone (nokia 7610), PC Suite failed to run. Connection between

  • Cannot view Crystal Reports 2008 API documentation

    I've purchased Crystal Reports 2008 From the On-line Store. I found the documentation on the API in the SAP Help Portal I downloaded the Crystal Reports 2008 .Net API manual. I get this great outline but there is no content with the statement "Naviga

  • Line item clearing

    Hello Experts :   Is F.13 will work for Line item clearing ?

  • E7: Is restoring data easy after updating to Belle...

    Is restoring data easy after updating to Belle from Anna? Ideas for restoration strategies? Dave Former Psion 3a-5-5mx & Psion netbook (Symbian) user who had an E63, E71 Now an E7 casualty remembering the 8 replacement Nokia Orange (or was that Lemon

  • How can I make a table cell liquid?

    Let me explain... I have a table on one of my photo pages. It consists of 3 columns, the first which is merged all the way through, and 5 rows. The last 2 columns house my thumbnails, and the 1st column acts as the "container" of the selected thumbna