Download PDF inside a folio

Hi,
I want to make a folio, where I can embed a link to a website on which the user can download a pdf (to open it in iBooks, if Folio can´t read a downloaded PDF).
So for example there is a link in the folio, you click the link and a webview will open a website where a pdf-download will automatically start and it will open a window: "open with iBooks". If you click this option it will open the iBooks-App with the PDF.
Is there a way to make a pdf-download-folio?
Thank you.

Just link to the PDF. The in-app browser will open it.
Bob

Similar Messages

  • Downloading pdf inside adf region issue

    All,
    I am trying to download a pdf inside a region. My code to download it is
            InputStream ios = Thread.currentThread().getContextClassLoader().getResourceAsStream("StatementReport.jrxml");
            Map parameters = new HashMap();
            parameters.put("PAR_CUSTOMER_ID", customerId.toString());
            parameters.put("SUBREPORT_DIR", "./");
            parameters.put("rowid", statementRowId.toString());
            Connection connection = null;
            try {
                HttpServletResponse response =  (HttpServletResponse)FacesContext.getCurrentInstance().getExternalContext().getResponse();
                ServletOutputStream servletOutputStream;
                servletOutputStream = response.getOutputStream();
                byte[] bytes = null;
                //this will give us the existing connection from the AM
                ob = bc.getOperationBinding("getCurrentConnection");
                ob.execute();
                connection = (Connection)ob.getResult();
                //This will create a new connection alltogether.
                /* Context ctx = new InitialContext();
                Context envCtx = (Context)ctx.lookup("");
                DataSource ds = (DataSource)envCtx.lookup("jdbc/om");
                if (ds != null) {
                        connection = ds.getConnection();
                JasperDesign jasperDesign = JRXmlLoader.load(ios);
                JasperReport jasperReport =   JasperCompileManager.compileReport(jasperDesign);
                bytes = JasperRunManager.runReportToPdf(jasperReport, parameters,  connection);
                response.addHeader("Content-disposition",  "attachment;filename=statement.pdf");
                response.setContentType("application/pdf");
                response.setContentLength(bytes.length); //commented this also as mentioned in a number of post. Also tried adding buffersize to the response object but no progress
                servletOutputStream.write(bytes, 0, bytes.length);
                servletOutputStream.flush();
                servletOutputStream.close();
                context.responseComplete();
            } catch (IOException e) {
                e.printStackTrace();
            } catch (JRException e) {
                e.printStackTrace();
            } /*catch (NamingException e) {
                e.printStackTrace();
            } catch (SQLException e) {
                e.printStackTrace();
            } */catch(Exception e){
                e.printStackTrace();
            }I get the following error and the pdf dosent open
    <Sep 28, 2011 10:12:04 AM GST> <Error> <HTTP> <BEA-101104> <Servlet execution in servlet context "ServletContext@8594227[app:DealerOnline module:DealerOnline path:/DealerOnline spec-version:2.5 version:V2.0]" failed, java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '325047' bytes..
    java.net.ProtocolException: Didn't meet stated Content-Length, wrote: '0' bytes instead of stated: '325047' bytes.
         at weblogic.servlet.internal.ServletOutputStreamImpl.ensureContentLength(ServletOutputStreamImpl.java:446)
         at weblogic.servlet.internal.ServletResponseImpl.ensureContentLength(ServletResponseImpl.java:1432)
         at weblogic.servlet.internal.ServletResponseImpl.send(ServletResponseImpl.java:1511)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1462)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         Truncated. see log file for complete stacktrace
    >
    I tried it on all browsers but the error continues
    thnks
    Jdev 11.1.1.5

    i even removed the Jsaper related code and tried using
                byte[] content =
                      { '<', 'H', 'T', 'M', 'L', '>', '<', 'B', 'O', 'D', 'Y', '>', 'H', 'e', 'l', 'l', 'o', '<', '/', 'B', 'O', 'D',
                        'Y', '>', '<', '/', 'H', 'T', 'M', 'L', '>' };but the error is there. So for sure it has nothing to do with Jasper reports
    Also the form that has region has usesupload property set to true
    Edited by: in the line of fire on Sep 28, 2011 10:40 AM

  • Create a link to a PDF file inside a .folio file.

    Hi All! Can I insert a link to a PDF file inside DPS .folio, as you can see in the Adobe app: "Adobe& higher education"?
    How can I do that? I think it isn't a web content, what is it?
    Thanks in advance for you collaboration.
    Michela

    Dear Bob,
    some mounths ago, you aswer me about the possibility of adding a PDF file inside a .folio and you told me to see the Advanced Overlays issue of the free DPS Tips app for an example and instructions.
    Now, I'm looking for that example inside the DPS Tips, but I can't find it anymore. Have you removed the article?
    I remember when I tryed everything worked well, but now I can't repeat the operation and I need to see again the right steps to do this operation.
    Thanks in advance for your reply.
    Michela

  • Can no longer download PDFs, advice & suggestions requested.

    I work in an office with a Mac that has OS X 10.4.11 (400 MHZ Power PC G4).  I have Acrobat Standard version 7.1.3, which is horribly outdated, but finances only allow for free upgrades.
    A month or so ago I was no longer able to download PDF files, and at times my work requires me to download various government forms. I had Adobe Acrobat Standard 7.1.1 when the trouble started, but was able to download free upgrades to the present Acrobat 7.1.3.
    My favorite browser is Safari 4.0.3, and when I try to download a PDF in Safari I get a nearly blank screen, but in the upper left hand corner is a small blue box with a question mark inside.
    A few months ago I downloaded Firefox 3.5.3, and for a time that worked well, but now when I open Firefox and attempt to download PDF files I get a blank screen, and up in the gray bar area (where saved websites are shown) I get what appears to be the web address for the particular PDF file, but the download isn't there.
    This computer also has Internet Explorer 5.2.3, and I believe higher upgrades aren't available for Macs. I started working here in 2005, and even back then Explorer didn't work well, it seemed to only half-open a website. (My terminology is bad, I don't know how to say technical things properly.) For years I've been ignoring Explorer, but just to see what would happen, today I opened Internet Explorer 5.2.3, attempted to download a PDF form, and it more or less worked. I went to the IRS website, downloaded a 1040 form, and was able to fill in the blanks. I then went to our state Revenue website, was able to download tax forms, but wasn't able to fill in the blanks. I don't like Internet Explorer, but if it was possible to get a free upgrade that would work with Macs I'd download it, just to have access to needed PDF forms.
    Does anyone have any ideas what I can do to once again have the ability to download PDFs while using Safari or Firefox? I posted a question on a Safari discussion forum, but didn't get any answers. I've spend the  last couple of weeks checking out this Adobe site, found several questions about PDF downloading problems, but haven't come across an answer.
    Anyone who can offer help will have my undying gratitude.

    Dear Graffiti,
    I just had a chance to play around with the control>click suggestion. When I'm in Safari and get my "blue question mark in a box" I can control>click the question mark, choose "save image to the Desktop" from the drop down menu, and get the form to download. Unfortunately the fill-in form is in Preview, and not Adobe, so I can see the form and print it out, but I can't fill in the blanks.
    When I did control>click on the form name at the website, instead of getting my blue question mark I got a different drop down menu. One option was "download linked file". That seemed like a possibility, so I clicked that. I got a message that went something like this "view.asp.html is an application. Are you sure you want to open an application?" (or maybe it was create an application) Anyway, I didn't want to mess around with applications for each PDF file I try to open, so I canceled that.
    I tried control>click in Firefox and in Internet Explorer, and discovered that the reason why Explorer had been sort-of working before is because it had been opening the forms in Preview when I was just clicking.
    So control>click gives me different options, but I'm not able to figure out how to download the PDFs into Adobe Acrobat, which is how it used to work.

  • Download pdf-files from websites is disabled!???

    Some websites provide additional information by making the user download a PDF-file. For some reason (can't really say since when), whenever I need to download a PDF, either there's a blank location-address or Firefox just stops whenever the PDF-link has been found, without crashing though.
    I'd be happy to know how to resolve this problem.

    Far as I know the problem isn't on Apple's end. I'm download PDF files with no problem. But I've experienced what you are in the past and I think you were on the right track when you suspected Adobe. In the main Library folder (not the one in your personal directory) there's a folder called Internet Plugins. Look inside for a file called AdobePDFViewer and delete it. If I remember properly, you force Adobe Reader to install a new one by just starting Reader and it will ask if you want to install the PDF reader. Or, you might want to look at this plugin which, in my opinion, beats Adobe's plugin hands down.

  • Unable to download pdf files from websites

    For a month now I have been unable to dowload PDF Files from websites.
    I have un-installed Adobe Software & re-installed hoping this would solve
    this on going problem. But I am afraid it has not this problem seems to
    have accured since the latest up date of Sarfari I trust Apple are coming up with
    some sort of solution to this current problem ??

    Far as I know the problem isn't on Apple's end. I'm download PDF files with no problem. But I've experienced what you are in the past and I think you were on the right track when you suspected Adobe. In the main Library folder (not the one in your personal directory) there's a folder called Internet Plugins. Look inside for a file called AdobePDFViewer and delete it. If I remember properly, you force Adobe Reader to install a new one by just starting Reader and it will ask if you want to install the PDF reader. Or, you might want to look at this plugin which, in my opinion, beats Adobe's plugin hands down.

  • How do I make IE open PDF inside browser and not prompt?

    I am using IE 11, Adobe Reader 11.0.06.
    When I try to open a PDF inside a browser window (for example this one: http://helpx.adobe.com/dk/pdf/acrobat_reference.pdf) I am prompted to Open, Save or Save As. I want open the document directly without being prompted.
    How can I achieve that?

    I have now tried the following: Adobe Reader was completely uninstalled. I then downloaded and installed the Adobe Reader 11.0.00 package directly from the Adobe site and upgraded it to 11.0.06 afterwards.
    In this default configuration it works - PDF files on web pages open directly in Internet Explorer (Windows 7, IE 10).
    I then removed Reader and ran our deployed version (from SCCM). Then it failed to show PDF's in the browser, as before.
    So a setting in our TRANSFORMS file could be an issue. Does anyone know if you can set this open/do-not-open in browser inside the MST file using Adobe Reader Configuration Utility? Our installation CMD file looks like this:
    REM *** Install Reader 11 MUI base package
    msiexec /i [\\servername]\source$\Applications\AdobeReader11\AdbeRdr11000_mui_Std\acroread.msi TRANSFORMS=\\[servername]\source$\Applications\AdobeReader11\AcroRead.mst LANG_LIST=[language] /passive
    REM *** Install 11.0.06 MUI update
    msiexec /update \\[servername]\source$\Applications\AdobeReader11\AdbeRdrUpd11006_MUI.msp /passive

  • I have updated my Adobe Acrobat plugin three times today but the firefox plugin check says it is out of date, a problem as I repeatedly encounter "The Adobe Acrobat plugin has crashed" when I attempt to download pdfs.

    I am attempting to download pdf's from a library search on JSTOR. I can view the pdf but cannot download them as they say "The Adobe Acrobat plugin has crashed". I have been to the firefox plugin check and have updated Adobe Acrobat three times in the last hour, but it still says my plugin is not up to date. This leads me to believe that this may be the source of my crash errors.
    I updated Adobe Flash from the same firefox plugin check page and after one try it now says I am up to date, so my system is obviously accepting these updates.
    Help!!!!!

    The following solution is useful for people who have the full version of Acrobat 9, but are getting the error message "the Adobe Acrobat plugin has crashed". You probably want the features in the full version of Acrobat, but still need to be able to open PDF files from your Firefox browser.
    Go to Tools > Options > Applications. Scroll down and change all of the Adobe Acrobat files to open with Acrobat 9 (or whatever version you have) instead of "Use Adobe Acrobat (in Firefox)". This may not be as handy as having it use Acrobat inside the Firefox browser, but it will still let you open PDF files without having to uninstall the full version of Acrobat. Hope this helps.

  • Folio download file size in Folio Producer possible to view?

    Is there a way to see how large in MBs a folio is inside of Folio Producer without or before you actually download it to the iPad?
    Thanks.

    http://www.megimage.com/easyupload/picstore/200701/200701000004937.tiff
    http://www.megimage.com/easyupload/picstore/200701/200701000004947.tiff
    http://www.megimage.com/easyupload/picstore/200701/200701000004958.tiff
    Finder>View Options check Show Item Info and Show Icon Preview
    HTH

  • Can't Open PDFs Inside Firefox

    I have installed the latest Adobe Reader 9 and want to open PDF documents inside of the Firefox browser on Vista. No matter what I do, I  always get a popup window asking me if I want to download or open in Adobe Reader when I click on a pdf file. I have Firefox's tools - options -  applications set to "use Adobe Acrobat (in Firefox)". I have  re-installed Adobe Reader and Firefox with the most recent versions. I  have manually copied the plugin dll from its Adobe directory to the  Firefox directory, over-writing the existing one in Firefox. I have  deleted pluginreg.dat and let Firefox recreate it. None of this does anything for me. My  IE, however, will open PDF files inline with Adobe Reader. Any ideas?

    I have the same problem, after installing Adobe Reader Ver 9.4.0.  Using FF Ver 3.6.12 and XP home edition.  Prior to this last Adobe installation, I could always download PDF documents from the Internet.  But now, when I try to download, I first get an all white page for a second or two and then the page goes all black and nothing happens after that.  Have tried it many times, and always get the same result.
    I can still open PDFs from those stored on my Hard Drive OK, but I can no longer open or download any PDF from the Internet. 
    Has to be a defect in the latest Adobe version.  Is there any fix for this?
    Thanks,
    ASC

  • I can't download PDF's from iCloud.  Everything else downloads fine.  Any suggestions?

    I can't download PDF's from iCloud.  Everything else downloads fine.  Any suggestions?

    Ok, and is this on your Mac in the native Mail application, or on your Mac using iCloud webmail at http://www.icloud.com/ in a web browser? If the latter, which web browser?
    When you say you "can't download" - do you actually mean download and save to your hard drive as a file, or do you mean you can't view PDFs inside the mail application?
    What happens exactly when you try to download/view these PDFs? Any error message?

  • Can't download pdf from Safari 8.0

    On Mac OS 10.10 and Safari 8.0; Want to download pdf files when found in Safari web browser. It opens inside browser, and I want to download file, not open in browser. I can't find setting.

    On Mac OS 10.10 and Safari 8.0; Want to download pdf files when found in Safari web browser. It opens inside browser, and I want to download file, not open in browser. I can't find setting.

  • Problems Downloading PDF Doc

    I have a issue downloading PDF docs on my ipad air from my bank website. I am working on the website inside the Epson Iprint app and I have tried
    separately within the Chrome Browser app.
    When I press the doc button to download I get the revolving icon but only for a few seconds. Looking for the doc in the ibooks app I cannot find it nor anywhere else.
    I am new to Apple my ipad has 8.1 os. I have previously successfully downloaded PDF docs from emails and websites in the Chrome Browser .
    Could it be a bank website issue or is there a more simple explanation?
    Many thanks
    G

    Sorted.
    i have discovered I need to work in Safari Browser with pop ups unblock and then I can go to the webpage PDFs button  get the option to open in iBooks. The PDFs doc is then available. Alls well that ends well.
    G

  • .htaccess inside a folio

    Hi,
    I have one problem:
    I have a folio and inside a folio a link to a pdf-file (on a server). The server is currently protected with a htaccess user. All is working well if you visit the site in browser, but on the iPad the site will be still empty.
    What can I do to fix that?
    Cheers.

    Is the .htaccess file redirecting. If you so, you need to provide the
    ACTUAL URL.
    Bob

  • How to access a placed PDF inside a rectangle and move it around

    Hi, I have the following code which places a PDF inside a rectangle var f = new File("C:/pdf.pdf");    var doc = app.activeDocument;  var thepdf =doc.pages[0].rectangles[0].place(f, false);  doc.pages[0].rectangles[0].fit(FitOptions.FILL_PROPORTIONALLY);  Now I want to move "thepdf" (which is of object type PDF) but I can only find a way to move the rectangle around it. I need to move the inner rectangle (the PDF), like I would do with the Direct selection tool. is this possible?

    Yes. That's possible.
    The PDF placed inside the rectangle is the graphics[0] object of the rectangle.
    Or, if you look it up in the links collection, the parent of that link. The parent of that parent is the container object, the rectangle.
    myRectangle.graphics[0].move(/*insert your arguments here*/)
    Would move the PDF inside. Where the move() method could have different arguments:
    Adobe InDesign CS6 (8.0) Object Model JS: Graphic
    Uwe

Maybe you are looking for