FR: Opening Reports in .pdf over a Web Link URL

Hello,
I want to build a kind of start page in html, from where the users can launch financial reports. For this, I have integrated the URL link to the document like
href="http://localhost.ads.company.nl:19000/workspace/browse/get/Reports/Controlling/Development/PortStrukABCSplit">Profitability Overview</a>
This opens the report in html.
The question is how to modify the link so it opens in .pdf?
Thanks in advance for your answers.
Regards,
Philip Hulsebosch

I've used the following on 901 and 931 to toggle between PDF and html reports for users:
?repository_format_id=pdf
?repository_format_id=html
I actually assign this to a variable so I just need to append to the URL, this also opens in a new window:
printPDF = "?repository_format_id=pdf"
Application.OpenURL( ServerName + url +printPDF,"_new")                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Safari will not open or download pdf files from web?

    Safari will not open or downlaod pdf files from web? IS there a setting, or something else to do this?

    Open browser preferences
    ex Safari>Preferences>Extentions   and un-enable any ext that mabe interferring , ex divX
    or open Help> installed Plug-ins and remove Adobe Acrobat.
    if still a problem
    Quit Safari.
    In the Finder, select Go ▹ Go to Folder from the menu bar, copy the text on the line below into the box that opens, and press return:
    ~/Library/Preferences/com.apple.Safari.plist
    A Finder window will open with an item selected. Move the selected item to the Desktop, leaving the window open.
    Launch Safari and test. Its settings will have reverted to what they were they first time you launched it. If it works as expected, recreate the settings and delete the item you moved to the Desktop. Otherwise, quit Safari again and put the file you moved back where it was, overwriting the newer one created in its place.

  • Open report in pdf format without opening in browser.

    Hi,
    Any body know show can save my report in pdf formate in a specific folder without opening in browser. I am using 9.0.4 developer suit.
    Regards

    Hi,
    Thanks from replyl. But i want to run report from form and this is used to run report from command prompt.
    Please tell me a way that how could I able to run a report without using web.show_document and it save in a specific folder without opening in browser.
    Regards

  • Error while opening report in pdf through OAF.

    This is my first report through OAF and I followed a couple threads discussed on this but I am unable to debug this problem
    Requirement - User clicks the image and is prompted to open/save pdf result file.It doesnt take any user parameters
    Error is : I get prompted to open/save the pdf file . I click on Open or Save it and then Open, it gives me the following error :
    'could not open because it either is not a supported file or because the file has been damaged(for example , it was sent as an email attachement and wasnt correctly decoded)'
    Steps taken so far :
    1. Created VO with query select a,b,c from Table A
    2. Created a simple xml page, with a torch image : Set Action Type and Event property of the Torch Image Item to FireAction and GenerateReport
    3. Wrote the code in CO and AM to get the data in XMLNode.
    4. I did SOPs , copypasted the xml in notepad saved it as xml, loaded in MSWord and created a template.Viewing pdf generates a pdf here on this data
    5. With "XML Publisher Administrator" Responsibility, I created Data Definition and Template Definition.
    6. I deployed all the files on server and ran the report. It prompts me to open the pdf but it seems corrupted. In Jserv.log, xml gets printed through SOPs.
    One thing I noticed is: <?xml version="1.0"?> is missing from xml.
    please assist me , what am I missing here ?
    Thanks a lot.
    My CO code :
    public class EmpCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    private static final String APP_NAME = "AK";
    private static final String TEMPLATE_CODE = "Emp_Template";
    private static final int BUFFER_SIZE = 32000;
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if("GenerateReport".equals(event))
    System.out.println("user clicked the pencil");
    // 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(" xml data");
    System.out.println(outputStream.toString()); //outputs the xml correctly
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    System.out.println("1**");
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    System.out.println("2**");
    //Generate the PDF Report.
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext(),// AppsContext
    "AK",// Application short name of the template
    TEMPLATE_CODE,// Template code of the template
    "en", //language code of the template
    "US",//Country Code
    inputStream, //// XML data for the template
    TemplateHelper.OUTPUT_TYPE_PDF,//Output type of processed document
    null, //Properties
    pdfFile); //OutputStream where the processed data goes
    System.out.println("3**"); //doesnt print and goes in catch block
    // Write the PDF Report to the HttpServletResponse object and flush.
    byte[] b = pdfFile.toByteArray();
    System.out.println("4**");
    response.setContentLength(b.length);
    System.out.println("5**");
    os.write(b, 0, b.length);
    System.out.println("6**");
    os.flush();
    System.out.println("7**");
    os.close();
    System.out.println("8**");
    catch(Exception e)
    System.out.println("9**");
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    System.out.println("10**");
    pageContext.setDocumentRendered(false);
    System.out.println("11**");
    ///////////////------it prints only 1**, 2** and goes in catch block to print 9**
    AM Code :
    public void initEmpVO()
    EmpVOImpl vo = getEmpVO1();
    if(vo == null)
    {       MessageToken errTokens[] = { new MessageToken("OBJECT_NAME", "EmpVO1")   };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    } else
    {        vo.executeQuery();      }
    public XMLNode getEmpDataXML()
    OAViewObject vo = (OAViewObject)findViewObject("EmpVO1");
    XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    }

    Hi,
    Basically the reason for this is that your "PDF file" is not populated with the correct pdf structure that Adobe recognizes (i.e. save the file and look at it in notepad, you'll see it's probably in html or a java stack trace). 2 reason's this happens
    1.You do not have the necessary library files attached to your project i.e. for XMLPublisher you will need $JAVA_TOP/oracle/apps/fnd/* and $JAVA_TOP/oracle/apps/xdo/*. Zip these up and add them to your libraries section of your project.
    2. Your XML Publisher properties are not configured correctly. (usually causes a blank file) To change this go to (E-Business Suite>XML Publisher Administrator>Administration>General>Temporary Directory). Depending on what your doing you will need to point this to either a server location or a local location. i.e. when uploading defintion/template and previewing it requires a server-side location to generate a temporary file for the preview, when running a jdeveloper project it will look for a local directory to generate the temporary file. If it cannot find the directory it will throw an error to System.out, and send the HttpServletResponse container a 0bytes file. For local development on a windows box I suggest setting the "Temporary Directory" to something like "C:\oracle" and ensure that folder exists.
    Hope this helps
    Brad

  • Error while opening reports in PDF

    Hi,
    I have few reports which i open in PDF format. But when i try to open the report i get the following error message.
    Adobe Reader could not open "file name.pdf" becasue 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).
    Earlier it was working fine, but today its not working.
    Any help would be really appretiable.
    Thanks,
    -Amit

    Another thing to consider is the data that your report contains. It's possible that the data within the report output contains special characters that are causing problems with the well-formedness of the XML.
    I would look at this closely in a case where the reports were running fine and suddenly they stop. Especially if you have a pretty decent amount of DML traffic in the application.
    Earl

  • RWI 00236 error while opening report in PDF mode

    Hi All,
    I'm getting the RWI 00236 error while the report is opened in PDF mode.I have searched on this error but couldn't got the answer so far.My report is quite a large one and i wont get any error while running simple reps.If this is something to do with temp files deletion at server side ,pls let me know which temp files needs to be deleted bcoz there quite few temp files at server level.Ofter getting this error msg ,the report browser hangs up and i needs to logout completely from infoview.
    Im using BO X1r2 version and service pack is SP4.

    Hi,
    Are you able to open other reports in PDF Mode or not
    If you are not able to open any report in PDF format then try to follow  below mentioned steps.
    1. Open Adobe Acrobat Reader. Click Edit > Preferences.
    2. Click Internet in the Categories column of the Preferences property sheet.
    3. Choose Display PDF in browser check box as shown below.
    4. Click Ok, Adobe will reconfigure the setting, close Reader.
    5. Now, when we view in pdf format in IE, we might see one  message
    6. So, when IE is launched, go to Tools>Manage Add-ons>Enable or Disable Add-ons and then enable
    "Adobe PDF Reader Link Helper" add-on. Click Ok, restart IE.
    Cheers,
    Suresh Aluri.

  • Creating DVD with PDF files and web links

    Hi all, first I'd like to say that these forums are a big help. I've spent DAYS scouring through topics learning. Of course, I know this opens it up for someone to post a link to a thread where my question has already been answered. Unfortunately, I haven't been able to find the specific help I need and would like to open a dialogue with experts.
    I am creating a marketing DVD for a product. We produced a video for it, but the client also wants the audience to have access to a large amount of research in this specific field. This exists as PDF files and links to websites.
    His previous Marketing CD was just that, a CD made with FileMaker and had the files and links and only worked in PC computers. I do not want to go back in that directions.
    I want to make an informative DVD with the video and a few pages of selling points and cool tricks (I discovered multilayered menus working on this!) for those viewing on TV or Computer, and then an option for Computer users to click for more info.
    How do I put PDF files on the disc and how do I put web links on there?
    Thanks,
    Byron

    DVDSP uses a tool called DVD@Access. It enables a user to link to URL and call such documents as pdfs. The problem is that its never was reliable - especially on the PC side of things.
    There have been many of posts in the last 2 days about its use. Do a search and you'll see.
    DVD was not designed with the web in mind - it was conceived long before that time. linking to "outside" documents requires a third party tool to take over.
    Just beware! - in fact if your client came to me I would refuse to do the job. I've seen the problems that exist doing work like this especially if your distributing to a large audience with different OS sets ups. If one of the users has Vista you can forget about it working at all.
    My suggestion would be to design a menu that tells the user the file paths to your pdfs or URLs on the disc.

  • Pdf/adobe acrobat web links yield black screen

    When I click on some web links I receive only a black screen ...
    Examples are:
    http://www.montereylawngarden.com/pdf/remuda_supl_0404_03.pdf
    http://www.clcaslo.org/j_ip/downloads/sloxpress0412onlineV2.pdf
    I keep all software updated as prompted, including Adobe, Mac and Word ... etc.
    I run disk utilities Repair Disk Permissions each time I update or add software, and then Log Out, Shut Down or Restart ...
    Is there some setting on my Mac I must adjust ?
    Thanks Dale38

    Back up all data.
    In the Finder, select Go ▹ Go to Folder... from the menu bar, or press the key combination shift-command-G. Copy the line of text below into the box that opens, and press return:
    /Library/Internet Plug-ins
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
    If you still have the issue, repeat the above steps using this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Keep pausing , sometimes opening a new tab using a web link stay blank

    the web browser pauses, becomes unresponsive and you cant do anything apart from closing it, when i right click open link in tab i the new tab stay blank.
    bp-f6eb4e75-9fe0-49ab-b3e3-d5fd02140722 23/07/2014 00:45
    5331d2bf-d959-4316-8412-b99cec91ebc7 13/07/2014 15:18
    1eee2cea-567f-4ed3-95cb-26fd2553ba21 09/07/2014 12:12
    53bea526-96a3-44f5-baa5-d8a95034cced 24/06/2014 04:53
    8ad5d10c-bdf8-4251-9b81-eb7e0570c256 23/06/2014 02:01
    623f83d2-4be3-41b1-949b-bb69eb59ce79 22/06/2014 07:06
    a3ef29f9-b096-409e-888f-bb15e5ec1a4a 13/06/2014 00:05
    58df4f2f-2926-4d79-b9b8-80975578ba62 09/06/2014 01:37
    bea5339a-b04a-4ac9-891e-278df0267b3e 05/06/2014 03:06
    bp-d9427f55-357f-4606-a126-9cacd2140604 04/06/2014 16:53
    bp-01e6dabc-6dec-485d-aa81-1a87c2140604 04/06/2014 16:35
    b5b92dab-14f2-4251-bdc6-be6fd93108

    One of your crash reports says;
    Crash Report [@ atidxx32.dll@0x494d1e ]
    Atidxx32.dll is part of the ATI graphics library to support DirectX on 32-bit systems.
    Another had '''unknown''' as the fault
    Update or re-install the DLL file.
    Also try;
    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Press the '''Alt''' or '''F10''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?. Then restart.

  • Saving as a PDF with Active Web Links

    I need to save Word documents that have active web links in them to PDF files. When I save them to PDF, the links are no longer active. How can I save them with the web links in tact?

    You need Adobe Acrobat to do this (the Professional version, not the free Acrobat Reader or the OS X Print to pdf function. The software is rather expensive, though. There are less expensive versions (Acrobat Elements) but these only run under Windows.
    You can also use Adobe's online pdf creation service, which may be a better (i.e. cheaper) option.
    Hope this solves your problem...

  • Web links (URLs) are being parsed in the conversation feed - disable this?

    I noticed that some of recent updates in skype for mac started to be too clever with links I post in conversations - it tries to fetch the content, parse it and present some small excerpt if it in the conversation.  But I mostly message links to closed sites - like Google Docs or internal knowledge base - and they require logging in. So, I know mostly see in my conversations with collegues something like this. How can I disable this behavior? I want to see plain links, I do not need this supersmart parsing.  

    Well, I want to see IMAGES in the chat (i.e. someone transmits actual image data), but I don't want to see WEB PREVIEWS (previews of web pages, or the picture an image URL points to) in the chat. Data is data, and a link is a link. Data should be displayed, and links should remain links. If someone wants me to see a web page, they should make a screen grab to their local computer, and then send me the picture as an image. Otherwise they should send me a link, which then I can peruse at my own convenience (which usually includes first scrubbing the link of any identifying trailing garbage.)
    As a matter of fact, I don't want Microsoft/Skype to PARSE ANYTHING that I transmit.
    Just as automatic loading of remote images in HTML e-mail messages constitutes a major security risk and privacy breach, so does this web preview function.
    I have absolutely no intention to disclose who I'm conversing with and what we talk about, but if someone sends me a link that hasn't been properly "cleaned up", then the site will know who sent me the link, who received it, what the conversation might have been about etc. and that information is sent without my consent.
    I have ZERO tolerance for Microsoft's lack of sensitivity to privacy, and where we users are being stripped naked to prying eyes, all in the guise of some "neat features".
    I don't need no "neat features". If you want web links to work the way they are supposed to work on the Mac, then allow for a right-click with a QuickLook option, but display the link in it's full length with all the "garbage" that will be transmitted to the site when the link is clicked upon, no "user friendly URL" version, that makes a link look like it were a harmless, state-free static link, while in fact it's a 900 character long monster with encoded state and personal details. One might think that's part of the PRISM program...

  • Web links (URLs) are being parsed in the conversat...

    I noticed that some of recent updates in skype for mac started to be too clever with links I post in conversations - it tries to fetch the content, parse it and present some small excerpt if it in the conversation. 
    But I mostly message links to closed sites - like Google Docs or internal knowledge base - and they require logging in. So, I know mostly see in my conversations with collegues something like this.
    How can I disable this behavior? I want to see plain links, I do not need this supersmart parsing. 

    Well, I want to see IMAGES in the chat (i.e. someone transmits actual image data), but I don't want to see WEB PREVIEWS (previews of web pages, or the picture an image URL points to) in the chat. Data is data, and a link is a link. Data should be displayed, and links should remain links. If someone wants me to see a web page, they should make a screen grab to their local computer, and then send me the picture as an image. Otherwise they should send me a link, which then I can peruse at my own convenience (which usually includes first scrubbing the link of any identifying trailing garbage.)
    As a matter of fact, I don't want Microsoft/Skype to PARSE ANYTHING that I transmit.
    Just as automatic loading of remote images in HTML e-mail messages constitutes a major security risk and privacy breach, so does this web preview function.
    I have absolutely no intention to disclose who I'm conversing with and what we talk about, but if someone sends me a link that hasn't been properly "cleaned up", then the site will know who sent me the link, who received it, what the conversation might have been about etc. and that information is sent without my consent.
    I have ZERO tolerance for Microsoft's lack of sensitivity to privacy, and where we users are being stripped naked to prying eyes, all in the guise of some "neat features".
    I don't need no "neat features". If you want web links to work the way they are supposed to work on the Mac, then allow for a right-click with a QuickLook option, but display the link in it's full length with all the "garbage" that will be transmitted to the site when the link is clicked upon, no "user friendly URL" version, that makes a link look like it were a harmless, state-free static link, while in fact it's a 900 character long monster with encoded state and personal details.
    One might think that's part of the PRISM program...

  • Is it possible to send the Pdf format of WebI linking report through email?

    Hi All,
    I have created linking between 2 WebI reports through OpenDocument. I can schedule the parent report and send it to User Email as PDF format, But when the user click the link in parent report its not opening the PDF format of child report after passing the parameter from Parent report. It throws following error.
    Is it possible to send the linked reports(without breaking the functionality of passing the parameter to Child report) to user who don't have access to BO environment? Please help me out.
    User needs to get the Parent PDF report in email, once they click the link it should pass the parameter to child report and the corresponding child report should open in PDF format. (In Infoview "View Mode" i can able to achieve this, how about in Email?).
    Thanks and Regards,
    Tharini Prabhu

    So to achieve my requirement, according to my understanding I have to do the following steps.
    Please correct me if I am wrong.
    1.     Without BO credentials the user can’t able to access the Link and child report created using OpenDoc.
    2. To overcome this I have to create one reserved userid through Admin and assign to all set of Users who will use the Reports.
    3. Have to use Single Sign on function through SDK to avoid the popping window for entering credentials right ?
    I can’t able to find the Sap Note 1326701 in http://www.sapossnotes.com/
    Could you please provide me the details how to implement that?

  • Pages document opened as a PDF on the web shows old name; why?

    I created a pages document with a file name "Seifert Waldren" last year. Then this year I used that same document, either as a duplicate or version and saved it with a new name Seifert Thum. Then I've put this in my web page and when I use Firefox to open the document the new tab show Seifert Waldren; but in Safari it shows Seifert Thum! I just went back to see info of the PDF and see the original title says Seifert Waldren copy. Is there a way I can discover this befor adding it to my web page? Or is this a trial and error situation?

    When you use whatever you use to upload your files to your websites, check that both files don't exist in the site's directory.
    Get Info shouldn't be necessary to check a file name in your directory, unless in this case there is a contradiction between what it show in Finder and any internal naming, which I have never heard of before.
    Use Disk Utility to Verify/Repair your Mac hard drive, in case there is some directory damage, then reupload the file to your site.
    Peter

  • Oracle reports in pdf format on web

    What are the steps involved in calling the oracle reports from web and work with ASP application in the pdf format.If you have some details on that or if there is any book/online resource I can look at please respond.
    Thanks

    I allways have to cancel the current job stacked from the Enterprise Manager.
    If I restart the web application and try to generate PDF without cancel the current job stacked in the Enterprise Manager in Current Jobs Queue it doesn't work. It's blocking that job too in the current jobs. ("Formatting page n").
    After that I can continue generating other PDF.
    How can I do to succeed in generating other reports without using the Enterprise Manager to kill the sessions?

Maybe you are looking for

  • Running an OA framwork page in Jdeveloper issue.

    HI all I am looking to run an iSourcing page SelectTemplatePG.xml within JDeveloper. However when I run it I am getting a nullpointer exception ## Detail 0 ## java.lang.NullPointerException      at oracle.apps.pon.negotiation.creation.server.Negotiat

  • S_ALR_87012078

    Hi, SAP  transaction  S_ALR_87012078 provides the due date analysis for vendor open items for the below intervals in days 0 -30,30-60,61–90,91-120,12–150,151-180,181-210,211-99999. However my business is requesting new Custom report for vendor open i

  • Using RDBMSRealm as backup realm and filerealm as primary realm

    I want to use filerealm as primary realm and RDBMSRealm as backup realm in my custom realm. How can I do that? Or how can I get access to filerealm from RDBMSRealm so that I can call filerealm.getUser() before I try to get it from database. Thank you

  • UOM in master ORG and Child Organization

    Hi all, In INV user guide, in "Primary Unit of Measure" section, I read the "Note: If an item belongs to both a master organization and a child organization, and these organizations belong to the same costing organization, the primary unit of measure

  • Link external Video with Movie Clip

    Hello all. I captured audio with an external recorder and would like to know how to link it with the clip in the timeline? I currently have them all sync up and would like to have them linked so they are locked and place and any changes in the timeli