Cannot output Reports pdf directly to content area

I have registered a report (Oracle Reports rdf) as a portal component. It is included in a content area. I can execute the report and the output file is created (pdf) - but it is not loaded automatically into the content area folder that I specified in the scheduling parameters.
The pdf file is created in the first directory in the REPORTS60_PATH (in our case 'bin').
Version info :
9iAS 1.0.2.2
Portal 3.0.9

Andy,
The integration of Oracle Reports into a Portal content area is possible in two ways. Having registered a report in the Reports security pages the Oracle Report appears a standard Web component and may be added as an item. In this case the report appears as a Link which when clicked will run the report at that time (you indicate that this is working). The second way is to push a scheduled report automatically to a defined folder such that when a user moves to that folder the pre-generated report is already there.
This second technique requires that the report server know where the Portal repository is stored. To do this you need to first set the "REPOSITORYCONN" parameter in the Report Servers configuration file (usually <reportServerName>.cfg) Eg. portal30/portal30@PortalSID. This will then allow the server to push the completed document to the defined folder.

Similar Messages

  • Cannot publish a folder in my content area as a portlet

    All,
    Has anyone out there experienced or encountered the following problem depicted below. If yes, please let me know what you did or what steps/procedures you implemented to resolve this problem.
    1. Go to content area an click the "Edit Folder" link.
    2. Click the "Create Folder" link an select "container" as your folder type.
    3. Click the next button and enter your folder display name and internal name. Leave the Category combo box as is General).
    4. Click the finish button.
    5. Edit the new folder.
    6. Under the "Portlet Properties" section, set the "publish as portlet" checkbox.
    7. Click the "Apply" or "Ok" button.
    When I click the "apply" or "Ok" button, I receive the following error message:
    Error: (WWS-00000)
    Copyright) 2001, Oracle Corporation. All Rights Reserved
    Location: PORTAL30.wwv_main.main?p_language=us&p_cornerid=11470&p_edit=1&p_siteid=35&p_currcornerid=11470&p_calledfrom=1
    I then click the "back" link on this error page that takes me back to the folder properties page. When I click the "apply" or "ok" button again, I am taken back to my content area page, which is the normal way for this process to work.
    When I try adding a "URL" item to this folder, I get a blank page after hitting OK.
    Next, I then try to add this folder as a portlet on my page. This folder portlet does not appear in portlet repository.
    I subsequently go to the portlet repository and click the "refresh" link. I again encounter the following error message:
    Error: (WWS-00000)
    Copyright) 2001, Oracle Corporation. All Rights Reserved
    Location: http://www.reeis.usda.gov/servlet/page?_pageid=52&_dad=portal30&_schema=PORTAL30&_type=site&_fsiteid=2&_fid=1&_fnavbarid=1&_fnavbarsiteid=2&_fedit=0&_fmode=2&_fdisplaymode=1&_fcalledfrom=1&_fdisplayurl=
    Oracle support is currently working on this problem through metalink. But, if anyone out there has encountered this problem and had it resolved, can you please forward your solution to me.
    This is very urgent.
    Abrom

    In the Catalog, select the folder for the report(s) you want to update in the Folders pane. It should then appear in the Tasks pane (bottom left) with some options.
    Select 'Permissions' and make sure that 'Hidden' attribute is unchecked. That worked for me.
    There's also a 'Show Hidden Items' check box at the top right of the Catalog area that should be checked to view the filters in the Catalog area (rather than when ediiting a report).
    Edited by: Raj on Apr 11, 2013 2:44 PM

  • Loading PDF's to content area

    On a daily basis, i receive a few dozen pdf's from an outside source that I would like to upload to various content areas. I can do this manually quite nicely, and put them into the various content areas they need to be in, and have them versioned and expired, etc.
    The process just takes too long. The pdf's come during the night and need to be out by open of business. How can I load these pdf's where they need to go in an automated fashion?

    Check out the apis on portalstudio.oracle.com. There is a plsql api that you can use. The directory where the files reside
    must be visible to the db server
    On a daily basis, i receive a few dozen pdf's from an outside source that I would like to upload to various content areas. I can do this manually quite nicely, and put them into the various content areas they need to be in, and have them versioned and expired, etc.
    The process just takes too long. The pdf's come during the night and need to be out by open of business. How can I load these pdf's where they need to go in an automated fashion?

  • I cannot print a pdf-file normally, parts are good (good black printed) and parts are very light

    Some parts of my page i can read some parts i cannot, that is, the text is much to light.
    Mostly it happens with PDF-files and email and internet, i use the hp laserjet P1006

    Yes i tried with new reader version 11.0.8, If i print file using these two reader versions 9.1 and 11.0.8 are giving good print exactly like in the file but the only problem is from c# program using 'DDE Commands' if i send the same file to the same printer this print looks differently ('colors shift and the black text prints a lot darker'') for sample code please see my first message. Do i need to change any thing in my code? Please do the needful.

  • Financial Reporting - PDF Table of Contents not working

    I am using FR to run scheduled batches each weekend. Some of the books are over 100 pages in length and we have a Table of Contents (TOC) with each book created. The page numbers within the TOC are correct and correspond to the correct report. However, when clicking on the page number in the TOC, it takes us to the incorrect location. It can be a page or two off or it can be 10 pages off. Has anyone experienced this problem? If so, how did you resolve it?
    We are on 11.1.2.1 in Prod.

    Try with latest patch # 14406630 for 11.1.2.1 as it fixes page number issues.

  • Need an adobe pdf with 2 content areas like a book

    Dear all,
    maybe an easy question for you but I didn´t find a solution yet.
    I need a PDF like a book. Means Page 1 on the left side, Page 2 on the right side.
    On Next page: Page 3 on left, Page 4 on right side and so on.
    Thanks.
    Kind regards
    Frank

    Hi Frank,
    you just have to set a own paperformat (for example A4 special) and afterwards setting up the XDC-File to the specific printing-mode.
    ~Florian

  • Cannot open the pdf when using the xml publisher to generate rtf report

    Hello Everyone,
    I followed the below link to generate a pdf using xml publisher in OAF.
    http://apps2fusion.com/at/ps/260-integrating-xml-publisher-and-oa-framework
    When i try to save the pdf and open it, i get the below error:
    Adobe Reader could not open the pdf because it is either not a supported file type or because the file has been damaged(for example, it was sent as an email attachment and wasn't correctly decoded).
    Below is the code in CO.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am= (OAApplicationModule)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if("GenerateReport".equals(event))
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    // System.out.println(outputStream.toString());//Testing the output by printing the contents in the outputstream.
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    // System.out.println("language is "+pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage());
    // System.out.println("country is "+pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().geCountry());
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    // APP_NAME,
    "PER",
    // TEMPLATE_CODE,
    "Emp_Template",
    // ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    "English",
    // ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    "United States",
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    pdfFile.flush();
    pdfFile.close();
    catch(Exception e)
    response.setContentType("application/pdf");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(false);
    Any suggestions on this would be great!
    Thanks
    Kumar

    Below is the code. Can you change so that that the output can be seen in HTML? I checked the language, country etc and they are fine.
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am= (OAApplicationModule)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if("GenerateReport".equals(event))
    // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    ServletOutputStream os = response.getOutputStream();
    // Set the Output Report File Name and Content Type
    String contentDisposition = "attachment;filename=PrintPage.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/pdf");
    // Get the Data XML File as the XMLNode
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpDataXML");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    // xmlNode.print(outputStream);
    // System.out.println(outputStream.toString());//Testing the output by printing the contents in the outputstream.
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    // System.out.println("language is "+pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage());
    // System.out.println("country is "+pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().geCountry());
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    // APP_NAME,
    "PER",
    // TEMPLATE_CODE,
    "Emp_Template",
    // ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    "en",
    // ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    "US",
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    pdfFile.flush();
    pdfFile.close();
    catch(Exception e)
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(true);
    Thanks

  • CE10 Converting All reports output as PDF from A4 to US size paper.

    I have created a number of reports which on Crystal are set as A4. These are then published to CE10 and set to output as PDF.
    When they are previewed in History after being scheduled they appear as US size 11.68 x 8.26 in, and are thus cropped on bottom and righthand side.
    Even when I preview the report on the Properties tab they are cropped to US size.
    I have looked every where on the CE Admin page but can not see any where that a page size can be set. Is it something to do with how Acrobat has been set up on the CE server? Or have I missed something on the CE configuration.
    We did not have a default printer on the server so we added one and that made no difference.
    Acrobat is not installed on the server.
    It looks like its something to do with the ActiveX conversion as the object is stored as a .cwr file and then ActiveX converts it to PDF, but in doing so changes size to US Paper rather than A4.
    It must be somewhere in this code
    http://srvcors08/crystal/enterprise10/admin/en/infoobject.cwr?action=-10005&cmd=view&id=603250&iid=617366&WCSID=12809936971026%2D2886740171%3A6401
    But as I know nothing about ActiveX I can not see what is happening and even if I did I would not know where to start in changing it!
    I know CE10 is no longer supported but there are no plans to upgrade, so other than making all my reports a bit smaller is there a solution to this?
    Ian

    Hi Ian,
    I moved your post to the BusinessObjects Legacy products forum.
    Thank you
    Don

  • I am using OS 10.6.8 and cannot view any PDF files - they are all black.

    I am using OS 10.6.8 and cannot view any PDF files.  They are all black.  Any suggestions?

    The answer is probably in one of the posts on the right side of this page under 'More Like This'.

  • Updating Content Area File Items

    I have added an item (type FILE) to one of my content areas. This file is an HTML document named Oracle.HTML. The problem that I am having is that if I have to update the Oracle.HTML file and re-upload that file to the database, Portal is kind enough to rename the file (Oracle_0.HTML). If I do it again (Oracle_1.HTML).
    This is problematic in a web environment where we have links to other documents.
    I have set item versioning to NONE on the content area. I have also tried setting the item versioning to simple and then telling Portal to overwrite current version when updating the item. Neither of these help out.
    Is there a way around this? Is there a way to directly load the BLOB into the database?
    Help, I cannot have HTML documents in my content areas that link to each other!

    Mark,
    You are hitting bug 1531318. A workaround to this bug is to zip the files you want to update. Add the zipfile to the content area, and unzip the files. In this way, the original file names are kept. This works for more files simultaneously, but also for 1 file at a time.
    The bug should be fixed with portal 3.0.8.6.4 , but in my case, oracle customer support could send me two updated packages, which solved the problem.
    Hth,
    Ton

  • Can not create .PDF directly from file

    I just reinstalled Acrobat 9 (9.5) to a new computer. I cannot create a PDF directly from a Word or OpenOffice document. When I look at the "convert to" or "convert from" tab the file extensions are not listed. I was able to do this before. I tried repair installation with no luck. How do I fix this?

    Does anyone have idea?

  • Reducing the Content Area in Panel Widget

    I know that the size of the content area is constrained by the size of the content within - text frame or images - but I only have a text frame and its is much smaller than the content area and I still cannot reduce the size of the content area. Please help.

    Please send your file into [email protected] and we can have one of the support team take a look for you.  Justin

  • Content Area: Cannot edit/drill down to folders at the lowest level

    URGENT: Need your help.
    I am using Oracle Portal 3.0.6 (Production) installed on Win NT 4.0 Server with Oracle 8.1.7. I am working on hosting a website for my development group.
    I created a Content Area and associated it with a page style. Then I created numerous folders to meet the requirements of the various product teams working in my team. Under each folders, I created various sub-folders. Now I want to add items under each folder I created. Earlier, using the link "Edit Folder", I could do by clicking on the folder under which I wanted to create an item. Now when I click on the folder, it returns back the same page showing all the folders along with the icons meant for "Edit", "Add", "Delete", "Move" and "Copy". Nothing is happening and I am stuck here. It displays all the sub-folders with links upto 2-level, since I set the navigator property to the level 2. But I cannot navigate to the sub-folder created at the third level by clicking on the sub-folder link above it (at the 2-level) and add any items under the clicked folder.
    Only mistake I could think about was by mistake, I tried to delete a content area which was created for test purpose. There were folders created under this. But I attempted to delete the content area directly without deleting the folders underneath. I got an error saying ".... child records exist". Later while clicking on the tab "content area", I was getting the following error:
    An unexpected error ORA-06503: PL/SQL: Function returned without value occurred when executing action of the SITE datasource. (WWC-38130)
    (WWS-00000)
    Error:No data found (WWS-32101)
    ORA-1403: ORA-01403: no data found
    ORA-01403: no data found (WWC-36000)
    normal, successful completion (WWS-00000)
    All product teams already submitted the contents they want me to put on the folders but I am unable to resolve the above problem. Any help / pointer to the above issue will be highly appreciated.
    Thanks in advance
    Jay

    Hierarchy keys are set properly and "use for display" is checked.
    Dimension presentation hierarchies does not work only when I use particular two hierarchies togather in one report table. When each of hierarchies is displayed separately it works ok.

  • English and Arabic reports output in PDF

    Hi,
    We generate reports in pdf through our application. We have some English reports(left to right) and some Arabic reports(right to left) but directions settings in our application server is left to right so our Arabic reports are also coming left to right.
    How to resolve this?
    Application server 10g
    Report Builder 10.1.2.0.2
    Thanks
    Tariq
    Edited by: tariqonnet on Apr 22, 2012 10:20 AM

    if you are using JSP reports that is means you are encountering the following bug: please change it to RDF and try again.
    Bug 7671625 "PDF OUTPUT IS LTR WHEN RUNNING JSP REPORTS REGARDLESS OF NLS_LANG SETTINGS"
    otherwise change this parameter in the windows regestry REPORTS_BIDI_ALGORITHM=UNICODE and restart the report server then try printing the report
    or
    1. Backup and edit the Reports Server configuration file $ORACLE_HOME/reports/conf/REPORTSERVERNAME.conf.
    2. Add the following lines :
    <environment id="AR">
    <envVariable name="NLS_LANG" value="ARABIC_EGYPT.AR8ISO8859P6"/>
    <envVariable name="TK_LOCALE" value="bidi"/>
    <!--envVariable name="REPORTS_BIDI_ALGORITHM" value="UNICODE"/-->
    <!--envVariable name="REPORTS_ARABIC_NUMERAL" value="ARABIC"/-->
    </environment>
    3. Modify the line for the engine tag to use the specified Environment ID. For example, change:
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1"
    minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000">
    TO:
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1" maxEngine="1"
    minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="90000" defaultEnvId="AR">
    4. Save and exit the Reports Server configuration file.
    5. Restart the Reports Server for the changes to take effect.

  • PAYABLES NOT GETTING THE REPORT OUTPUT IN PDF AFTER APPLYING RUP5 R12

    Hi All,
    RDBMS:10.2.0.3.0
    Oracle Apps :12.0.4
    OS:AIX 5.3
    Problem Description:
    We are presently facing an issue in Payables not getting the report output in PDF esp for the reports "Invoice Register", Invoice Hold Report and also other reports. We were able to generate the reports till our last test performed on last Thursday. This instance was cloned over the last weekend and probably the new upgrade to RUP5 R12,would have impacted it.
    Concurrent Programs submitted are completed normal but on clicking "view output" results in Blank PDF output.
    The error message what was shown is as below:
    "Adobe Reader could not open 'AcrC.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)".
    Where could we locate ther above 'AcrC.tmp' of Adobe Reader..
    could anyone please share such an experience encountered for resolution..
    Would appreciate an early response..
    Thanks for your time!
    Regards,

    I suggest you speak to your DBA/sysadmin. This is not likely to be a reports problem.
    Check that you can see the output from apps through the viewer (the report may not hav output anything)
    Check whether you can print anything on that printer from apps.
    May also be worth checking to see if you can print to another printer from this report.

Maybe you are looking for

  • What cable do I need to connect my MacBook Pro 17 inch to an Epson EX71 Projector

    My old MacBook Pro had a video adaptor port that is no longer on the newest MacBook Pro that I purchased in June 2011. Not sure which cable I need.

  • Adobe Creative Cloud Crashes on startup under OS X 10.8.5

    After working with Adobe Support on the problem of the Adobe Creative Cloud Installer crashing: http://forums.adobe.com/thread/1301546 The Adobe Support person had be create a root account to install Adobe Creative Cloud.   While this did allow me to

  • F-44 Clearing - Disable clearing of blocked invoice

    Dear all, We encountered problem with vendor clearing F-44 transaction. We have invoices with payment block, we expected those invoices are unable to be cleared since they are in payment block status. However the F-44 transaction still can clear invo

  • Print Booklet as a PDF in InDesign CS4

    I am trying to print a ID document as a booklet 2-up saddel stiched.  I am using a mac on lepoard.  I choose Adobe PDF 9.0 as my printer and set everything up.  It goes through the entire print process it sends it to the printer, BUT it never brings

  • Position search iView event subscribe

    Hi all, This is an MSS question.  I have posted it in the Portal Development forum as well, so please ignore if you have seen it already... Note 1112733 specifies the namespace and event of the employee search iView for subscription by custom iViews.