Display portal report in new window

In 9.0.2, I have a sql based portal report displayed on my page. I would like to create links that open up a new report in a different browser window. Is this possible? For example:
My 1st report lists the Deptno, Deptname in a tabular display. I created a link on the Deptname that calls up all employees in the department. I want that report to show in a new window. When I select a different Deptno, it should re-display with the correct employees.

Not familiar with using this:
wwctx_api.get_proc_path(p_url =>
Can you give me a little help. Here is my SQL curentky be processed on the graph.
select 'STARS3.ADMIN_DAILY_ATT_DET.SHOW?p_arg_names=v_student_id&p_arg_values='||replace(:student_id,'%','%25') ||
'&p_arg_names=v_atcode_desc&p_arg_values='||replace(replace(C.atcode_desc,'%','%25'),' ','%20')||'&p_arg_names=_v_atcode_desc&p_arg_values=%3D'
the_link,
the_name,
count(*) the_data

Similar Messages

  • Display Oracle Report on new window

    Hi,
    How can I display Oracle report from HTML DB on a new browser window? I have branch to this report. Thanks much for your help.
    Lakshmi

    Search this forum for "new window". You should find it. Try:
    checkbox and report page in new window

  • Error message when displaying a report in a windows form

    Hi,
    use Cr 2008.SP3 Fixpack 3.5,
    Visual Studio 2008 prof. editon version 9.0.30729.1 SP,
    :NET Framework 3.5 sp1
    vb.net 2008
    when displaying a report in a Windows form sometimes the following error message appears
    System.NullReferenceException: Object reference not set to an instance of an object
       bei CrystalDecisions.Windows.Forms.PageControl.OnMouseMove(MouseEventArgs e)
       bei System.Windows.Forms.Control.WmMouseMove(Message& m)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
       bei System.Windows.Forms.UserControl.WndProc(Message& m)
       bei CrystalDecisions.Windows.Forms.PageControl.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The rest of the error message is in german:
    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.
    Zum Beispiel:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
    Thank you
    Otto

    Can you define "sometimes" a bit more?
    Is it after a number of runs of a report?
    Is it on a particular report?
    Is it after you do certain operations on the report (paging, zooming, dill down, print, etc., etc.)?
    Can you duplicate the issue if you isolate the report to a new test app?
    Did you happen to notice if the issue existed prior to FP 3.5?
    Is this on your dev computer or a client computer?
    OS?
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How to open Jasper report in New window (new Browser,new Tab)

    Hi,
    I'm Using oracle jdeveloper 11.1.1.4.0 fusion middleware for Jasper report. i want to open the Jasper report in new window
    In Application On click of CommandMenuItem(ExportToHTML)it opens the New Window,.While opnening this window i want to call a method (This method opens the jasper report in current browser)
    I Tried the afterPhase and beforePhase for this but doesnt work for me.while executing this using beforePhase I'm getting following Exception :
    Pls Help on this.Thanks in Advance......!!
    Java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()
    at weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:280)
    at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:112)
    at ReportsDisplayBean.exportHtmlReport(ReportsDisplayBean.java:272)Is any other way to do this ? :(
    Thanks.

    Hi,
    The view itself is a Web Part called an XSLT List View Web Part (XLV for short). This Web Part is stored on an ASPX page that is by default associated with a list or library on your site.
    I suggest you can check if the view page is valid, also, you can try to create another view, then redirect to the view page to see if there is xslt in the page.
    Here are some detailed articels for your reference:
    Create a custom list view using SharePoint Designer
    Using SharePoint Designer 2010 to Work with Web Parts
    How to: Customize the Rendering of a Field on a List View
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Open "Navigate" enabled report in new window - OBI10g.

    Hello Experts,
    May be its novice user question, i have 2 reports, source and target reports. Both reports are connected using "Navigate" functionality.
    Issue is, i wan to open the target report in new window? is that possible?
    using GO URL: we have an option like target='_blank'. but in navigate.. what is the option?
    Thanks in advance....
    Regards,
    Kiran

    The Navigate feature can be modified to open targets in a new window by following the below steps:
    - Edit OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\b_mozilla\viewhelper.js
    - Search for function NavigateInfo()
    - Find the line with code this.sWindowTarget = "_self";
    - Replace the line as this.sWindowTarget = "_blank";
    - Clear the browser cache and reload the page.
    The navigation targets will now open in a new window.

  • Display pdf in a new window

    I need to display the pdf in a new window on click of a button in the iview. The pdf is fetched as an array of bytes from an RFC. It displays correctly, but in the same window. Pls see the extract of the code:
    To Write
    writeText(IPortalComponentRequest request, IPortalComponentResponse response, byte[] pdfResult)
    try{
    Document doc = new Document(PageSize.A4);
    javax.servlet.http.HttpServletResponse myResponse = request.getServletResponse(true);
    myResponse.setHeader ("ContentDisposition", "inline;filename=\"ShortCV.pdf\"");
    myResponse.setContentType("application/pdf");
    OutputStream os = myResponse.getOutputStream();
    os.write(pdfResult);
    PdfWriter.getInstance(doc,os);
    catch(Exception Ex){
    OnView(Event evt){
    JCO.Field Table1 = m_function.getExportParameterList().getField("PDF_STRING");
    client.execute(m_function);
    writeText(request, response, Table1.getByteArray());
    onView is called on
    Button myButton11 = new Button("myButton11");
    myButton11.setText("View");
    myButton11.setOnClick("View");
    myButton11.render(rendererContext);
    Pls advice

    See Display pdf in a new Window in a JSPDynPage

  • Need to open click through SSRS report in new window

    Hello :)
    I have a click through report and the requirement that I have is that I should be able to open it in a new window. The report has lot of parameters and I tried to use this query but it gives me error that parameter is missing
    ="javascript:void(window.open('http://reportservername/Reports/Pages/Report.aspx?ItemPath=%Reports%&rs:Command=Render &Parameter1="+Parameters!Parameter1.Value+"&Parameter2=" + Parameters!Parameter2.Value +
    "&Parameter3=" + Parameters!Parameter3.Value+"'))"
    It does open the report in new window, however it says that parameter is missing.....(few parameters are dates and few strings). Please any help would be very appreciated.
    Thanks!!!
    Malini

    Hi,
    You need to use the URL of report server rather than report manager. Modify the URL like:
    ="javascript:void(window.open('http://servername/ReportServer/Pages/ReportViewer.aspx?%2ffolder_name%2fdrillthrough_report_name&rs:Command=Render
    Reference:
    http://msdn.microsoft.com/en-us/library/ms155391.aspx
    http://msprojectnow.com/Blog/tabid/142/entryid/367/SQL-Reporting-Services-2008-R2-Using-URLs-to-call-reports-with-single-and-Multi-value-parameters-HTML-and-Report-Viewer-applicable.aspx
    Hope it helps.
    Tracy Cai
    TechNet Community Support

  • Transfer_State (open report in new window) with a PreQuery

    Hi
    As part of the standard template that we deliver to end users, one of the buttons in the toolbar is a button that allows the user to open the report in a new window. This means they can view the report without all the additional information that portal adds, which is quite useful for large reports.
    However, what I have found is one of our templates is not opening correctly, as the variable selection screen appears when the report is transferred to the new window (using TRANSFER_STATE command). For all the other templates, the filter values are remembered, so whatever values were entered on the selection screen, and whatever navigation was performed is transferred to the new window.
    The only difference I can see between the templates that work and the one that doesn't, is that the "error" one has a query which in turn has a pre-query.
    Is this a SAP bug, or standard behaviour, or something that we can get around?
    Cheers,
    Andrew

    Hi Andrew,
    We too had this issue when using transfer state.  All filter values where we used an exit would reset.  SAP said this was standard behaviour.  We ended up having to re-design and create all out templates!
    Cheers,
    Nick.

  • Open a report in new window ADF 11g

    I am trying to open a report in a new window. The problem is that I am having a link in a .jsff file when I click this link I go to another view activity using dialog: outcome and in the constructor of the backing for the target page I write the following code:
    ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
    HttpServletRequest request = (HttpServletRequest) ectx.getRequest();
    String temp = "http://localhost:7101/cms/report";
    try {
    ectx.redirect(temp);
    } catch (IOException e) {
    This code was working fine with ADF 10g but in 11g this code throws for me ResponseAlreadyCommit exception. I think that this is coming because .jsff is using PPR and this is not a full request but it is XMLRequest.
    SO, I tried to use the URL activity and make an outcome to this URL view activity BUT although the report appears but it is not displayed in a new window
    I can't use a javascript because to open a new window because some processing is done in the backing bean for the report parameters send from the page.
    Please any suggestion for this
    Thanks in advance

    Hi,
    one option I would see is to create a task flow that uses a JSPX page. The input parameter for this page would pass in the URL to call. Then you configure the task flow to be called from a call activity in the bounded task flow with the page fragment. On the task flow call activity configure it to open in a separate window
    Frank

  • JSF app - open report in new Window - via JSP?

    I have been reading through this forum but no one has done quite what I am trying so I thought I'd post my own version of this problem.
    The web app I'm working on is basically a report generator. Data is formatted via XSLT to .html files - that part works great. The problem is getting the app to open this new HTML file in a new window. I want to get this working with little or no JavaScript.
    startReport.jsp (a JSF file) is the form that validates the user input. The sole h:commandButton (I do NOT want a link) works fine sending the form and JSF returns its errors or mine (if the criteria results in nothing) as it should; the action method returns "failure" so the page stays the same.
    But when the action method returns "success" the JSF navigation-rule is setup to route to showReportFile.jsp (which is NOT a JSF file). This JSP is very simple:
    <%@ page import="java.io.File" %>
    <%@ page import="java.io.PrintWriter" %>
    <%@ page import="java.io.FileReader" %>
    <%@ page import="com.logipath.gict.cts.reporting.client.ReportClient" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" %>
    <jsp:useBean id="reportClient" scope="session" class="com.logipath.gict.cts.reporting.client.ReportClient" />
    <%
    String fileName = reportClient.getReportOutputFile();
    PrintWriter writer = response.getWriter();
    char[] buffer = new char[1024];
    FileReader reader = new FileReader(fileName);
    int numRead = reader.read(buffer, 0, buffer.length);
    while ( numRead != -1 ) {
         writer.write(buffer, 0, numRead);
         numRead = reader.read(buffer, 0, buffer.length);
    reader.close();
    writer.close();
    File file = new File(fileName);
    file.delete();
    %>This works believe it or not. If I put the target="_blank" on the form tag in the startReport.jsp it even opens in a new window. Great. But with that attribute on the form element, if the page comes back in error - it shows up in a new window (as it is apt to do given the attiribute).
    Ok, the h:commandButton tag's target attribute is ignored. Fine. There has to be a way to do this but I just cannot figure it out and I'm no JSP expert.
    What I think will work is this. Since my report beans create HTML files, I've created a session bean called "currentReportBean" which holds a single attribute - the name of the HTML file to display. (This is how the JSP above works.)
    What I need to know now *(this is the question part)* is how can I flush the render response of my JSF life cycle, trigger the opening of this JSP in a new window, the restart the JSF life cycle at the begining so the "parent" page repaints normally? The JSP isn't part of the JSF page flow so I there's no "going back" or "refresh" to worry about. I would like to take the showReportFile.jsp file out of the navigation files altogether.
    I know this topic has been worked on at length, but not quite this way. Any help is greatly appreciated.

    arnieAustin wrote:
    No, the JSP resets the bean value after showing the file.My mistake; it wasn't the reload scenario that is an issue. It is when the user goes back and forth in history that this can be a problem.
    >
    But now I'm confused. JS cannot access server-based session values. How is it going to know to open the page? A cookie?Write the value to a JS variable when you render the page.

  • How to run Oracle Report in new window

    Hi,
    There appear to be many threads regarding this issue, but so far I've been unable to piece together a solution to my problem.
    My requirements are quite simple really.
    - Invoke an Oracle Report from an HTMLDB page
    - Pass parameters form the page to the report URL
    - Run the report in a new window
    I have created a simple example at:
    http://htmldb.oracle.com/pls/otn/f?p=36506:1
    Page 1 contains the following HTML Header attribute
    <script language="JavaScript" type="text/javascript">
    function callMyPopup (url){
    w = open(url,"winLov","");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>
    The URL i wish to invoke is
    http://myappserver/reports/rwservlet?test/test@test+report=test.rdf+&P1_PARAMETER.
    My question is, where would I put the code to invoke the URL? I'm trying to use the following code
    javascript:callMyPopup('http://myappserver/reports/rwservlet?test/test@test+report=test.rdf+&P1_PARAMETER.');
    I've tried putting this in a branch but I get a 'Page can not be displayed' error.
    Any help would be appreciated.
    Thanks
    Andrew

    Hi,
    I'm trying to invoke an oracle report through a button in apex2.2. Please let me know how to display the report in a new window.
    I have put the URL as of now in the branch of the button, and the report is getting displayed in the same window.
    I've read some of the posts and put the URL as the target of the button instead of a branch and also used the javascript:popupURL(), but it still doesnt work for me. The URL works fine without the javascript.
    I have put the URL as of now in the branch of the button, and the report is getting displayed in the same window.
    Thanks in advance,
    Priyanka

  • ExternalLink in KM  which open portal Page in new window whithout masthead.

    Hi All,
    I have a requirement to create an external link which opens in new window and the content of the window is an Page which has iviews.
    I created an external link and gave the following details.
    Target: /irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?NavigationTarget=pcd:portal_content/com.abc.Test_Page
    Name: Test
    When I click on the external link, it opens a new portal window which has the mast head and in the content area the page is displayed.
    My requirement is : I don't want the masthead to appear and I want only the page to be displayed in the new window.
    Thanks,
    Shilpa.

    Hi Krishna,
    In the iview Property -> Launch in New Window, i have only 2 options ie
    Display in Portal content Area
    Display in New Window.
    Where do I find display in seperate portal headerless window? Is it the customised one?
    I have set Launch in New Window Property to Display in New Window. When i click on the link new window is opening which has masthed.
    Please Suggest.
    Thanks,
    Shilpa.

  • Display pdf in a new Window in a JSPDynPage

    I need to display the pdf in a new window on click of a button in the iview. The pdf is fetched as an array of bytes from an RFC. It displays correctly, but in the same window. Pls see the extract of the code:
    To Write
    writeText(IPortalComponentRequest request, IPortalComponentResponse response, byte[] pdfResult)
    try{
    Document doc = new Document(PageSize.A4);
    javax.servlet.http.HttpServletResponse myResponse = request.getServletResponse(true);
    myResponse.setHeader ("ContentDisposition", "inline;filename=\"ShortCV.pdf\"");
    myResponse.setContentType("application/pdf");
    OutputStream os = myResponse.getOutputStream();
    os.write(pdfResult);
    PdfWriter.getInstance(doc,os);
    catch(Exception Ex){
    OnView(Event evt){
    JCO.Field Table1 = m_function.getExportParameterList().getField("PDF_STRING");
    client.execute(m_function);
    writeText(request, response, Table1.getByteArray());
    onView is called on
    Button myButton11 = new Button("myButton11");
    myButton11.setText("View");
    myButton11.setOnClick("View");
    myButton11.render(rendererContext);
    Pls advice

    Detlev .....
    I am still not able to implement your suggested solution.
    If I call javascript written in JSP, will I be able to pass a bean to it. Pls see the code that I hv in addition to the one posted ...
    In ICellRenderer ....
    if ( column == 11 )
    Button myButton11 = new Button("myButton11");
    myButton11.setText("View");
    myButton11.setOnClientClick("Test("beantv2")");
    In JSP
    <script>
    function Test(zBean)
    popAssetWinSpecs = "left=250,top=250,width=300,height=300,scrollbars=no,toolbar=no,menubar=no,resizable=no,status=no,titlebar=no,location=no";
    htmlfile="/irj/servlet/prt/portal/prtroot/AIPLetters.HersheyTeamViewerAIPPDF?zBean="+zBean;
    window.open(htmlfile,"editWindow",popAssetWinSpecs);
    return false;
    </script>
    in the doInitialization of the second comp
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    IPortalComponentContext compcontext = request.getComponentContext();
    AIPBean = new HersheyTeamViewerAIPBean();
    HttpServletRequest zHttpRequest = request.getServletRequest();
    AIPBean = (HersheyTeamViewerAIPBean)zHttpRequest.getAttribute("zBean");
    nothing gets executed ....
    I am not sure whether I am passing the bean correctly
    Thanks for your help,
    Devina

  • Drill Down report in new window

    Hi All,
    i have report prompt ( Dashboard) and report . if i click on date column then it will display drill down report.
    My issue is drill down report iis displaying in current window. if i click on return to previous screen button then prompt are refreshing. user was confusing which parameters he was selected.
    I need solution like.
    1) After coming back also prompts are should not refresh . it should display prompts which were user selected.
    or
    2) drill down report should display in other window. ( then user will close that window he can see his selected prompts)
    how can achieve this one in OBIEE. please help me.
    Thanks in advance for your time.

    Couple things,
    you can create primary interaction as Action Link and then in the action link menu you can select option for the new window (that I what I did)
    Edit Action Links > More... > Edit Action > Options
    For the values, you can use presentation variables and they will carry the values (your fields also have to be prompted, but I think you already have that).
    Again this works for me just fine.
    Hope this helps.

  • Open oracle report in new window from method

    Hi,
    I have a requirement to do some stuff in the view object, save changes, launch an oracle report 10g in a new window, and then navigate to a new page on a SINGLE button press.
    I can get all this done using a command button to call may backing bean and a goButton to launch my report, but need to combine these into a single button.
    My question is, is there any way to launch my new window and report from the backing bean?
    Or is there some other way to accomplish these requirements?
    this is a JSF/BC app, jdev 10.1.3.3
    Thanks,
    Jim

    What if I have to do validation against the inputs that are used to dynamically generate the report url in the backing bean when clicking the "Button". I couldn't see there is a way for <af:goButton> to implement that. I think there should be some kind of action or listener in the backing where I can do the validation before I decide to open the new window for report.
    I searched the forum and there is a post that will use a form to open the report window using target="_blank" in the form's attribute, but that works only if we don't have to validate the inputs.
    I also tried to find a solution that will open a new windows in the backing bean by invoking a javascript, that javascript function will have the report url generated in the backing bean as the parameter. But so far, I couldn't find one with my ADF version 10.1.3.2.0. It looks like that in ADF 11, this approach might be feasible.
    Any idea, hints?

Maybe you are looking for

  • Error while sending the PO to Fax

    Hi Friends, we are sending a PO to the fax. we are getting a error message saying processing routine ENTRY_NEU in program /SMB40/FM06P does not exist. but processing routine exists for the same. Could you please tell me what could be the reason for t

  • Cost center (KS02)

    Hi Experts, Iam trying to add new fields in cost center(ks02) using COOMKS01 enhancement(CMOD). My doubt is in ks02 there is BUKRS field.How can i get this bukrs value into my new tab? I could not find any structure to hold the CSKS data. Reward guar

  • Monthly Budget data transfer not working

    I am creating a personal budget using Numbers' "Monthly Budget" template, and the categories I'm entering on the Budget page are not transferring to the dropbox on the Transactions page.  I have tried shutting down and restarting the application, but

  • Probelm in transpoting Cmod Coding in ECC

    Hi All, We are transporting C Mod coding request to ECC Quality system for the first time.We have collected the coding in request and transported to quality but in quality system Iam not able to fine the project in which we do cmod coding, Is there a

  • Internet accounts preference pain won't load

    I have an issue where my Internet Accounts preferences pane won't load and when I try to sign-out of my iCloud account, it tells me that Parental Controls are turned on (which they aren't).  You will see a bunch of Calendar errors because I was follo