Javascript file - open BI Publisher report

Good afternoon.
I'm not sure if this is even possible but hopefully one of you experts out there will be able to advise;
I had some javascript in my page which contained a simple function to open a BI Publisher report, it was:
function run_40BFG()
popupURL('&BI_URL.Guest/MyFolder/MM_40BFG/MM_40BFG.xdo?_xpf=&_xpt=1&P_CASE_ID=&P303_CASE_ID.&xt=MM_40BFG_xf=rtf');
...this worked fine. To improve maintainability (I don't want to amend the Page Header each time I add a report), I wanted to extract this function and place it in a javascript file which I have done with 'some' success.
Page Template amended - OK
Page Header global variables added - OK (tested with simple 'alert' function and all was fine)
Now the function in the javascript file looks like:
function run_40BFG()
popupURL('gBIurl.Guest/MyFolder/MM_40BFG/MM_40BFG.xdo?_xpf=&_xpt=1&P_CASE_ID=gCaseID.&xt=MM_40BFG_xf=rtf');
...but each time I receive a 500 Internal Server Error.
Is it at all possible to run a BIP report from an external javascript file? If not, is there another way?
If it is possible, what am I doing wrong?
Thanks in advance!
Sue

...just wanted to bump this up the thread list in the hope that someone will be able to help!
Thanks

Similar Messages

  • Open BI Publisher Report After Submit

    I have a page with 2 date fields, which are parameters for a report.
    I also have a button called RUN_REPORT.
    What I need to do is that the user puts the parameters in, then clicks RUN_REPORT. The page should submit (putting parameters into session state) and then a BI Publisher report should appear in a pop up page.
    At the moment using the code below, the user inputs parameters and clicks RUN-REPORT (SUBMIT). Unfortunatley the BI report tries to open before the submit is finished. So there are no items in session state for the report to use as parameters.
    Page HTML Header
    <script type="text/javascript">
    function renew()
    doSubmit('SUBMIT')
    popupURL('This contains my string to open the report')
    </script>On my button
    javascript:renew();Help appreciated
    Gus

    I've solved this in two ways:
    First solution:
    - The last parameter the user has to pick is in a selectlist which submits the page
    - The button redirects to url:
    javascript:popUpNamed('URL','');Seccond solution (and user-friendlier solution ;) ):
    1 - Hidden item (say P_RAP), default it's empty
    2 - The buttons Action is 'Submit page'
    3 - A conditional Branche to the own page, which only runs when the report button is pressed.
    3a -- This branche sets the hidden Item (P_RAP) with the report name (in my case, becouse I can start multiple reports on the page and I use it in my URL to the report, it can also be just a 1 or something, just that it is filled)
    4 - A Page Process which runs On Load - After Header, and is conditional: Value of Item P_RAP is NOT NULL.
    4a -- The code of this process is:
    BEGIN
    htp.p('<script type="text/javascript">');
    htp.p('w = open("URL_to_the_report","_blank","Scrollbars=0,location=0,resizable=1,menubar=0,toolbar=0,left=50,top=100,width=500,height=500");');
    htp.p('</script>');
    :P_RAP:=''; /*clear the P_RAP item after starting the report*/
    END;Hope this helps

  • Open BI Publisher Report From Standard Report Link

    I am having problems opening a bi publisher report from a colomn link in a standard report.
    My standard report is
    select reg_id, frg_no
    from my_tableThen in the REG_ID column, I place the following in the URL link.
    javascript:popupURL('BI_URL.Guest/MERCURY/FORM73/FORM73/FORM73.xdo?_xpt=1&P_REG_ID=&#REG_ID.&_xt=FORM73_xf=rtf');Once I click on the link the BI Publisher report opens in a pop up window, but does not display any data, ie, it does not recognise #REG_ID.
    Any help appreciated
    Gus

    Solved it
    Gus

  • Captivate 4:  linked pdf file opens when published but closes project

    I have linked a couple of pdf files (Live Cycle) to an Adobe Cap 4 project.   When I published the Captivate file the pdf file opens and works well but once the user closes the pdf file to contine to the next slide the project closes.  Does anyone know how I can correct this?  (it works fine in preview but not when published)    Thanks!   

    Hi there
    How exactly are you opening the PDF? If you just linked to it without choosing the "New Window" option it will replace the Captivate project in the browser window.
    Perhaps you should examine the configuration of whatever is triggering the opening of the PDF. You should also review the information provided at the link below.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Open BI Publisher report  using URL View activity

    Hi,
    i need to call BI Publisher report and I want to use URL View activity (i followed instruction on http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%e2%80%93-go-url-parameters/ but i can't have HTML Form inside af:form)
    But parameters on URL View activity are visible and i have to send username and pass..
    Is there another way?
    Tnx.
    Andreja

    Yes, I can put HTML form at top or bottom of page but i wanted to put in panelCollection (because of page design)....
    but I will think out something to look nicely too :)
    Tnx

  • How to show a pdf file in bi publisher report

    Hi All,
    We need to show a pdf file as report which was saved in a given location. How to call that pdf file as report. We need to give a hyperlink in the report and when we click on the report the pdf file should be displayed.
    When we open a report, there will be just hyperlinks to call serveral reports. When we click on each link , one should call a pdf saved in a particular location.
    Thanks.

    In Word, if you have set the borders on then you should see them in the output. In Word it has a setting to let you see 'gridlines' even if they are not set ie you have turned the borders off. Highlight the table and set all the borders on and re-try. If that fails, try building the table from scratch and copy the cell contents across to the new table
    Tim

  • Popup blocker issue when trying to open XML publisher report in Excel forma

    Hello
    I am having the XML report in excel format, when i click on output it was blocking by popup blocker i think and when i click 'Control' button on my keyboard and then press the output it will show the window to save or open the excel. I have added my instance name in the popup blocker setting in the 'Allowed' list but still having the isseu... Anybody have any comments on this...

    General-D wrote:
    We recently upgraded to TestStand 2012, and we are having trouble with the creating a readable report.   We have the results set to .xml.   Previously we were using TestStand 4.2 and we were able to convert the .xml to .xls using a stylesheet.  But this doesn't work now.   I’m getting an error – doesn’t have a top level element.   We installed TestStand 2012 using a new enterprise site license, and I wondering if we are missing something on the install.  I don't see any TestStand 2012 folder in the C:\Program Files\National Instruments\TestStand xxx.   Also is there a better way to create reports that are already converted to .xls, so that anyone can read the reports using excel?
    Thanks, Dale
    I do not think TestStand ships with a stylesheet to do any such conversion, so I am assuming this is a custom stylesheet that you have either written or gotten from a 3rd party. It's possible something is formatted differently in the xml in TestStand 2012 that your stylesheet is not expecting. You might need to debug and modify your stylesheet to make it work with TestStand 2012.
    There should be a TestStand folder. Perhaps you are on a 64-bit OS in which case the folder would be located at:
    C:\Program Files (x86)\National Instruments\TestStand xxx
    Hope this helps,
    -Doug

  • PDF incoming files open with Publisher, not Adobe. How do I stop this Publisher interference?

    I have Windows XP. Dell Desk Top. When a PDF file comes in, when I download and then open it, Publishers' software takes over. I have looked into defaults in Windows, and tools, but cannot find the answer.

    Hi rrusrjr72,
    Go to '''Extras -> Preferences -> Applications''' and search for ''PDF''
    Now change the action to ''Use Adobe Reader'' or similar

  • BI windows services causing BI publisher report not to work

    All,
    We have BI windows services installed. When we start BI thru windows services all the analysis and dashboard works but I am not able to open BI publisher reports.
    The page stays on Processing.... only.
    As soon as we start BI services thru command prompt all the publisher reports works.
    Any thoughts.
    Thanks in advance

    By default BI services(BI Server, Presentation server, scheduler, java host) are Windows services, more over there is no relation for BIP with BI unless you configure BI Security.
    If it is OC4J then make sure your configuration.
    If helps pls mark

  • Bad performance when open a bi publisher report in excel

    We use bi publisher(xml publisher) to create a customized report. For a small report, user like it very much. But for a bigger report, users complain about the performance when they open the file.
    I know it is not a native excel file, that may cause the bad performance. So I ask my user to save it to a new file as a native excel format. The new file still worse than a normal excel file when we open it.
    I did a test. We try to save a bi publish report to excel format, the size shrink to 4Mb. But if we "copy all" and "Paste Special" value only to a new excel file, the size is only 1Mb.
    Do I have any way to improve that, users are complaining everyday. Thanks!
    I did a test today.
    I create a test report
    Test 1: Original file from BIP in EBS is 10Mb. We save it in my local disk, when we open the file, it takes 43 sec.
    Test 2: We save the file in native excel format, the file size is 2.28Mb, it takes 7 sec. to open.
    Test 3: We copy all cell and "PasteSpecial" to a new excel file with value only. The file size is 1.66Mb, it takes only 1 sec to open.
    Edited by: Rex Lin on 2010/3/31 下午 11:26

    EBS or Standalone BIP?
    If EBS see this thread for suggestions on performance tuning and hints and tips:
    EBS BIP Performance Tuning - Definitive Guide?
    Note also that I did end up rewriting my report as PL/SQL producing a csv file and have done with several large reports in BIP on EBS.
    Cheers,
    Dave

  • How do I generate a PDF output report when the layout template is an Excel file in BI publisher 11.1.1.7

    This is what I did ..
    1. Create new report
    2. Create a report using an existing Data Model (browsed and picked a data model)
    3. How do you want to create your report? (clicked on Used Report Editor)
    4. Clicked Finished (then saved the report)
    5. Then it asked me to create layout (I chose Upload or Generate Layout and then browsed for an uploaded  my excel template with XDO_* column mappings to the data model)
         Template File = Excel Template, Locale = English (US)
    5.  Clicked on Upload
    6.  Then clicked on View Report on the top right, which opened up my report file name "my_report_layoutname.xls"  with sheet 1 (xdo mapped all fine) and a xdo_metadata sheet.
    I just wanted step 6 to be a pdf report of sheet 1.    How do I do that ?  Can't find the place where I can specify that.
    M. Jamal

    Thanks Daniel for pointing that out.  Though you answer is helpful but I am not sure if that is what I would want to do.
    The link you provide for csv says "For each report there's an _report.xdo file that contains the XML structure of the report... "   It suggests I modify the .xdo file for each report.  I currently have 16 reports.
    Does it mean I modify the .xdo file for all 16  and what happens if someone creates a 17th report ?
    Also, what if I run the same report using different input parameters will that change the xml structure for the report  and therefore will need me to modify the .xdo again ? (I think it should not change the xml structure so the answer should be "NO" to that, unless I change the structure of the report).
    Finally, the link you provide says after doing what it suggest  "Now log back into BI publisher and select the report. You should now be able to see that CSV is now an option."
    CSV should be an option where ? on what screen/page ?  Maybe PDF is already an option for me that I cant see because I do not know where that option is.
    I was hoping there would be something I could do on the xdo_metadata sheet (in the data constraints section or elsewhere) OR in BI Publisher itself as some property of the report.
    I will try out what you suggest any ways.
    M. Jamal

  • How do i stop the "Opening Ads" download javascript file everytime i access a website which uses googledoubleclick ads??

    Every time a access a website which has embedded googledoubleclick ads in it, i get this pop up-like thing which tells me to download a javascript file called "ads", from http://googleads.g.doubleclick.net and it asks me to save it... i would love to send a screenshot, but this question text area doesn't allow me...
    therefore, i have uploaded the snapshot .jpeg file on my website so you can see it. This has been bothering me a lot, sometimes there are pages which have embedded 5 ads, and i get a pop up for each ad. Mind you, it's not the window popup that you get, it's a download popup...
    snapshot link:
    http://www.avosarafian.com/snapshot.jpg
    regards,
    Amjo

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • XML publisher report not generating output for huge XML files

    Changed Depreciation Projections Report output type to XML.
    Defined a Data Definition and a new Data Template (RTF) for this report.
    Ran the Depreciation Projection Report to generate the XML output.
    Ran the XML Report Publisher report to generate teh PDF/Excel output of the above report.
    Output generated for smaller XML files. When XML size is big, the program is running for hours without generating the output.
    Teh RTF template is basically a matrix report in which the number of columns in the report is based on the number of periods the report is run for.
    The same is not working in the Desktop version also. The system is hanging when i try to view the preview pdf.
    The XML file size is approximately 33 MB.
    Please let me know if there is any way we can increase the memory size to see the output.
    Thanks,
    Ram.

    for publisher use Category: E-Business Suite

  • XML Publisher Report not opening on Desktop

    Hi All,
    I have installed XML publisher on my machine and after creating the RTF and loading XML, when i am trying to preview it, it;s giving me error that file not found. But the PDF output is formed at c:/program files/oracle/XML Publisher Desktop/Template for word/<One more folder>.
    But on my team mater machine it is working fine and he is able to open the PDF when he is pressing Preview link in RTF Template. As per him, many days back he did some thing but he is not aware of this now.
    Kindly help in resolvig this.
    Thanks
    Aryan

    Hi Gurus,
    Please please help me....
    This is taking a toll time of mine..
    Thanks
    Aryan

  • XML publisher report with a template file missing

    I get the following error
    Active template file not found in the template definition <TEMPLATE_NAME> for date <EFFDT>. (235,2515)
    PSXP_RPTDEFNMANAGER.TemplateDefn.OnExecute Name:GetActiveTemplateFile PCPC:15872 Statement:346
    but in
    Reporting Tools > XML Publisher > Report Definition > Template tab
    I did have the setting Effective date, what cause the problem?

    Have a look at following post and run the sql in this post to see if your template definition is missing.
    http://peoplesoft.wikidot.com/xml-publisher-template-file-missing
    You could also run Application Engine PSXPCLEAN to clean orphan rows.
    Are you running the report online or through PeopleCode?
    In last case make sure the effdt is set correct in PeopleCode.
    Also have a look if your server time settings are correct.
    Hakan

Maybe you are looking for

  • I Need Suggestions On Capturing, Timeline Settings and Final Rendering

    Okay folks, this is me confused!  I've been editing videos for the past two years and that isn't saying much as I've only trained myself through trial and error and reading manuals.  I simply pretend that I know what I am talking about:)  I have purc

  • Create document using BAPI_DOCUMENT_CREATE2

    Hi Experts, i am using BAPI_DOCUMENT_CREATE2 to create document like transaction CV01N. When i create it through CV01N, it is fine and I can see the attached file. but when i run my program, the document is created without attached file. can anyone h

  • Hyperion Expertise_3 weeks_Toronto, ON-Canada

    Hi Expertise, We are in need of for Hyperion Expertise. This is a 3 weeks contact opportunity in Toronto, ON. If interested, please email your resume at [email protected] Tentative Start Date: last week of June 2010 or First week of July. Requirement

  • Using firestarter, dhcp..very slow

    help, I have one internet connection that I am wanted to share with a second computer. I am now using firestarter to do this. The second computer connects via dhcp, and it almost works, only, the connection is very slow; it can connect to google, for

  • The Backflush information is not uploaded in SAP platform

    Hi all, I am unable to interprit the sentence "The Backflush information is not uploaded in SAP platform". can anybody explain me what is that and how to achieve that. Thanks, Amar Y.