Regarding open pdf files

Dear Frds
I have to open a pdf file when i click the button...
the pdf file should be kept in the application
using webdynpro....
How to keep the pdf file in my application
or how to keep pdfile resource in server....
Thanks in advance
G .kumar

Hi Shravan,
I suggest storing the PDF inside your mimes folder and if you have to internationalize it apply two-letter for the different countries (en, fr, es, it, ...).
Create a context element of type IWDResource to map document to, generate the url with the following code and add the content of your context element to a FileDownload ui element.
          String currentFileName = "MYFILE.pdf";    
          String resourcePath = WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(), currentFileName);
          IWDResource resource = WDResourceFactory.createCachedResource(new FileInputStream(new File(resourcePath)),
               currentFileName,
               WDWebResourceType.PDF,
               true
          wdContext.currentContextElement().setFileResource(resource);
regards,
Christian

Similar Messages

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • Hi.  I have a Dell PC running Windows 7 64 bit.  I have the latest version of Adobe Reader,  It worked yesterday.  Today I have job training to do that is due tomorrow morning and I can't open PDF files.  I have to open a guide and read it and take a test

    Hi.  I have a Dell PC running Windows 7 64 bit.  I have the latest version of Adobe Reader,  It worked yesterday.  Today I have job training to do that is due tomorrow morning and I can't open PDF files.  I have to open a guide and read it and take a test tomorrow.  I have deleted and reinstalled the application.  I have rebooted.  I have made sure my PDF's are associated with the program.  Every PDF on my computer won't open and I get the same error message.  It simply says Attempt to access invalid address.  How can I fix this?  Thanks.

    Hi Don,
    I have seen this issue fixed for some users by modifying the following registry key:
    The key is "HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management" MoveImages
    Set the key to 1 instead of 0 then reboot the machine.
    In case you still face the issue try the following registry key change:
    The only thing you have to do is rename the following key at the REGEDIT, and everything will be fine !!
    BEFORE:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplore.exe
    AFTER:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\iexplore.old
    Note: Please take a backup of the registry before attempting this change.
    Regards,
    Rave

  • Mail app doesnt open pdf files (iPhone5 & ios 7.0.4)

    Hello,
    our CEO can´t open pdf files from email attachments on his iPhone 5 on ios 7.0.4.
    Normal behaviour:
    Usually the mail app opens the pdf from the email and you can scroll through the pages and everything is okay.
    Error description:
    But in our case when tipping on the pdf icon at the bottom of an email, the mail app just jumps to the top of the email and nothing else happens.
    After doing this two or three times,  the icon changes to a picture showing  the first page of the file. Tipping on the picture opens the known "save picture" menu.
    Solutions I tried:
    - Holding the thumb on the pdf icon does nothing.
    - After forwarding the email to another ios device (verified with iPhone and iPad) the pdf file can be viewed without problems.
    - Restart (holding top and home button)
    - I read in a community that the app "Stanza" can cause the problem. Check: It has never been installed on the device.
    Solutions I didn´t try:
    - Recovery from an iTunes backup. (As i read, this doesn´t solve the problem.)
    - Recovery without an iTunes backup. (As i read, this will solve the problem (-no surprise). But this is no valid solution for our CEO.)
    Question:
    Does anybody know the problem and a constructive solution? Thank you very much!
    Best regards
    Mr Flame

    Thanks for the answer.
    The error is occuring with every pdf file attached to an email.
    I know, you don´t need 3rd party software. That´s why I posted this as a problem to the community.

  • How come pages won't open PDF files made by Pages?

    How come pages won't open PDF files made by Pages?
    I have files I made with Pages and exported as PDF but I can't open them with pages to edit?
    Also, where are the recent files created by pages located? Can't find those to open either..

    Hi Tom,
    I was delighted when I signed up for Pages. Clunky yes, but it worked. I've been a graphic designer on a Mac for 25 plus years and have logged too many horror stories of "upgrade" wars which cost me massive lost time, data and money forcibly extracted just so I could finish a project.
    When I first used Pages in April of 2012? or there about, I was able to open Word documents exported to .pdf format, emailed to me, which I then dragged into Pages. I could make the changes I needed to make, export as a .pdf, return it back to my client which they could then edit on whatever it was they were using. I'm not a neophyte with this. I've had Original Photoshop as a stand alone, Quark (which locked users out 6 months after I purchased it.) Quark again, Freehand, Pagemaker, Illustrator, Photoshop again, Creative Suite for several upgrades, Acrobat Pro. 2 years ago I lost 6 years of Quicken data and had to and "upgrade" start over. This last go around I  had to "upgrade" my Apple ID - yes I had 2 on purpose, lost my Pandora One and my ability to get into the Tulsa County Library website.
    At this point, I'm retired and feel like what I've paid for in the past should WORK today. I have a 100+ page cookbook in Quark which I was able to export as a .pdf, that I've lost the tags too, Easier to start over. I have artwork that is hundreds of megs in Photoshop. Not the least bit interested in anybody's "cloud".
    Thanks for letting me vent. I'm determined to keep my equipment and software up to date so I can enjoy the skills I've acquired, but I completely cringe at Apple's antics. I truly hate it when I have to respond to some new "tip" or product offer. BooHiss. Happy Turkey Day. Pages is a "turkey" program.
    Best regards, mbd

  • Adobe Reader 8.1.2 (admplugin.apl) crash when opening PDF files

    Hi,
    I did spend some time today trying to get Adobe Reader 8.1.2 to run on a Citrix Access Essential 2.0 server.
    Setup
    Server OS:
    Windows Server 2003 SP2 - fully patched.
    Other software:
    Office 2003 Standard, Danish, SP3
    Symantec Antivirus 10.1
    Adobe Reader 8.1.2, Danish
    The installation is clean (1 week old).
    Problem description:
    When opening PDF files, Adobe Reader crashes before showing any content from the PDF file. The module crashing is admplugin.apl.
    Work-arounds tried:
    Uninstalling and reinstalling Adobe Reader 8.1.2 (DK).
    Disabling Antivirus (service stopped)
    Replacing admplugin.apl with admplugin.apl from Adobe Reader 8.0
    Uninstalling DK version and installing US version.
    Adding user to local Administrators to exclude any permission related problems.
    Deleting Adobe folders from users profile Application Data\Adobe\... and Local Settings\Application Data\Adobe\...
    Turn DEP off
    Solution:
    Finally I gave up and installed 7.0.9 (Danish). It works as expected.
    It seems that the problem is known and a few user has reported this. One Adobe KB article mentions the problem, and the solution is to disable some 3. party diagnostic/support tools provided by DSL providers. This is definitively not the issue in this installation.
    Anybody from Adobe having any input to this problem?
    Best regards from Denmark!

    Hi,
    I am having a similar issue with Ver 8.1.2 running over cirtix with a similar setup to Jans-Peter.
    The difference is that Reader opens fine but when you try to edit preferences it crashes.
    This only happens on an citrix session. If I run reader on the server directly it works OK.
    However after reading above I can replicate the problem on the server by moving or deleting the ADMPlugin.apl file.
    Any further ideas at all?
    Mark

  • How to open *.pdf files in BOXI r2 inbox

    I am scheduling as  *.pdf file for deski report.After scheduling i am getting *.pdf in my inbox.if the report is deski or webi we can use FC_REPORT_ENGINE or WI_REPORT_ENGINE to open the report's using java code.In same way how to open *.PDF file in Inbox?
    Edited by: ramkishore kishore on Nov 7, 2008 8:31 AM
    Edited by: ramkishore kishore on Nov 7, 2008 8:31 AM

    Hi Ram,
    Following information might help you to resolve the issue.
    After logging into Desktop Intelligence, you may be presented with a message stating:
    u201CYou have received 1 document from users"
    Examining the Inbox from within the Desktop Intelligence client shows no objects visible in your Inbox.
    The object in your Inbox is in a format other than Desktop Intelligence format such as, PDF, XLS or other format. Therefore the object is not recognized by the Desktop Intelligence client inbox browser.
    Log in to Info View or the Central Management Console, browse to your Inbox and verify the file name and format that has been sent to your Inbox. The object may be saved, copied, moved or deleted as necessary.
    Regards,
    Sarbhjeet Kaur

  • How to Open PDF Files Embedded in an Excel File

    This is a solution for Mac users who need to open .PDF files that are embedded inside an Excel file created in Office for Windows.
    I hope this solution works for other file format combinations. I am doing some experimentation to find out and will repost if I have new learnings.
    Problem:
    - Colleague sends me a .XLS which has an embedded .PDF on one sheet
    - Office: Mac 2011 will not open the .PDF because of lack of OLE support
    Solution:
    - Copy the .XLS file to a new file
    - Rename the file from <filename.xls> to <filename.zip>
    - Open the .ZIP with Archive Utility
    - Browse into the resulting "decompressed" folder to filename > xl > embeddings
    - Find the file of interest, named something like <oleObject2.bin>
    - Rename to <oleObject.pdf>
    VOILA!
    The PDF is recovered in its fully glory.

    Hi Ram,
    Following information might help you to resolve the issue.
    After logging into Desktop Intelligence, you may be presented with a message stating:
    u201CYou have received 1 document from users"
    Examining the Inbox from within the Desktop Intelligence client shows no objects visible in your Inbox.
    The object in your Inbox is in a format other than Desktop Intelligence format such as, PDF, XLS or other format. Therefore the object is not recognized by the Desktop Intelligence client inbox browser.
    Log in to Info View or the Central Management Console, browse to your Inbox and verify the file name and format that has been sent to your Inbox. The object may be saved, copied, moved or deleted as necessary.
    Regards,
    Sarbhjeet Kaur

  • Can't open PDF files in Exporer

    I can't open PDF files in Explorer. When I try I get an error box that says
    Internet Explorer has quit working
         Windows can check for a solution
         Check Online
         Close program
    I have reinstalled Adobe and the problem is still there
    I can open PDF files without going to Explorer

    Windows 7, and Adobe Reader XI. I get these details regarding the IE error:
    Faulting application name: IEXPLORE.EXE, version: 11.0.9600.17207, time stamp: 0x53a20c50
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x0754ff20
    Faulting process id: 0xf58
    Faulting application start time: 0x01cfa01acc1fbfd5
    Faulting application path: C:\Program Files (x86)\Internet Explorer\IEXPLORE.EXE
    Faulting module path: unknown

  • Open PDF file in Acrobat reader rather than SAP Document viewer...

    Hello everyone,
                    Whenever we attach a pdf file using Services for objects-->Store Business documents, an attachment list list is created and the file is archived in the repository.
    If we double click on it, the pdf is opened in SAP Document viewer and not in Acrobat Reader unlike word document....
    Can anyone tell me what configuration changes should be made and where so as to open pdf file in Acrobat?
    Similarily what changes should be made so as to open Email files in Outlook?
    Edited by: Suruchirazdan on Mar 31, 2011 8:33 AM

    Which version of the Acrobat Reader do you use?
    According to my experience with our desktop this might be a feature of ACROBAD READER X.
    Kind regards
    Herbert

  • Safari 7.0.4 will not allow Acrobat to open PDF files, Works ok with Chrome?

    I cannot open PDF files with Acrobat using Safari 7.0.4
    No problem if I use Chrome
    Help

    OK I will try to elaborate this time with pictures so it is clear what I am asking and what the issue I am facing is.
    The specific option I want to be able to use from within the Adobe Acrobat Pro user interface is
    File\Create\Batch Create Multiple Files
    When I select that menu item a floating tool bar thing pops up that I can drag and drop files onto.
    If I drag excel or powerpoint documents onto it and press OK it converts them fine.  If I drag MS word documents into it the documents appear in the list but when I click OK it says no files processed.
    In the process of troubleshooting I also tried using the Add Files button.  That is when I discovered that MS word documents (*.doc, *.docx) are not showing up in the list of supported file types.
    The same thing happens when I try converting a single file using the File\Create\Create PDF From File menu item. Just like above the MS word documents do not show up in the list of supported file types.
    Looking in my registry entries as suggested by the article linked to by one of the posters above I can see both *.doc and *.docx types registered in the correct place.
    Unless I can use the batch convert command as intended by the time my trial period runs out in 13 days I cannot justify buying this software. If converting the documents one at a time was acceptable I would just use Save As PDF from within MS Word which works just fine. I need the batch convert function so I can convert my whole library of word documents to PDF at once.
    Any further assistance greatly appreciated!
    Regards,
    Gray

  • Cannot open PDF files in AIR app on Mac OS error 3204

    Hello,
    I am having trouble opening a PDF file in adobe air application on Mac OS 10.9.2. I already installed adobe reader 11 and air on mac.
    I also traced HTMLLoader.pdfCapatibility, which returns 3204 (An error was returned by the OS when trying to load the Adobe Reader or Acrobat application or one of its necessary libraries.) .
    I am showing you some sample code to you.
    if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
                var request:URLRequest = new URLRequest(tempFile.url);
                pdf.load(request);
                var ui:UIComponent = new UIComponent();
                ui.addChild(pdf)
                container.addChild(ui);
      else
      trace("PDF cannot be displayed. Error code:",HTMLLoader.pdfCapability);
    It shows the output :  PDF cannot be displayed. Error code: 3204
    Please let me know if anyone have any ideas ............asap

    Hi jon123_123,
    I dont understand what you mean by opening PDF file in Adobe Air, that is platform.
    You should try uninstall Adobe Reader and install Latest version of Adobe Reader with latest updates patches and check again.
    Regards,
    Ajlan Huda.

  • Issue with opening .PDF files after recalling from Symantec Enterprise Vault

    Good Morning,
    I am having issues with opening PDF files that have been recalled from Symantec Enterprise Vault and some of the files are anywhere from 3-4 years old.  Some files open, while others return the error: Adobe Reader could not open filename.pdf because it is not a supported file type or might have been damaged.  It is inconsistent as to which files it occurs with.  I am not ready to believe that I have that many corrupt files out there.  I am opening them on a Windows 7 Enterprise SP1 x64 desktop. Adobe 10.1.7. I have already configured the registry setting for bValidateBytesBeforeHeader that I found in another article to no avail.
    The files are on a network share, but I also tried copying them to my local desktop and still received the error.
    I have seen other posts regarding this error, but do not see a definitive solution and am hoping that in recent days someone has come up with a solution.
    Thank You
    Brian Dougherty

    Not supported file type can (but not always) mean the PDF was created with an old enough version of Acrobat, that it isn't comaptible with reader X or XI.
    Might have been damaged is pretty cut and dried in its meaning and interpretation.
    There's a known issue with Mac OS and Safari Browser "breaking" PDFs as they download, but it's not so common for Windows. Since these are files you already had, it would be even less applicable.
    You can try downloading an older version of Reader to check if it's a compatibility issue, but you'd have to uninstall the latest to do it and it'd be a lot of bother if they still don't open. It would also mean they are "broken" and cannot be repaired, that I know of.

  • Open PDF files with lightning speeds !

    To open PDF files very fast do this:
    Go to Adobe Acrobat installation directory : eg: C:\Program Files\Adobe\Acrobat 7.0\Reader\
    Cut everything from the "plug_ins" directory & paste it into the "Optional" one, this will stop all unnecessary plugins from loading up automatically whenever you open the PDF files hence speeding the overall application :) Enjoy :-)
    Regards,
    Clive Robertson.

    That works great all right, but if you need the plugins then you've got problems.

  • Acrobat 7.1 IE plugin cannot open .pdf Files with mt/application/octet-stream

    Hi Folks,
    we have some problems to open pdf - files via Hyperlink in an IE Explorer. this files get from the web-server the MIME-Type "octet-stream".
    the only option is to save and then open the pdf files. But we want to open the pdf files directly IN the IE. the option to open it not in IE is not possible because then another application will not work.
    Is it generally possible to open an pdf File with an octet-stream MIME-Type with the IE-Pluin, and if Yes is ther any possible configuration we could try.
    Thanks for your help
    regards
    Felix

    Hi Bill,
    we already tried to change that checkbox that solves the problem but we get new problems with other applications, so this way is also no option for us.
    also we tried to repair / reinstall acrobat, but it has no effect.
    I suppose that maybe adobe just closed that door to open pdf documents with the octet-stream MIME-Type. Because it could an way to insert executable files in the system.
    maybe a higher version than 7.1 can do this?
    Thanks for your help, here in Germany it is already 2 pm so not far from quitting-time ;)

Maybe you are looking for

  • Questions on IE9 and iTunes

    Dowloaded latest iTunes using IE9.  Went through the procedure normally but iTunes would not open. Uninstalled iTunes then reinstalled with same result.  Any issues with IE9 that could be causing this?         

  • Question about Formatting Buffalo USB 1TB external drive for use with Mac Book Pro Mountain Lion HD

    Hi there, Have Mountain Lion HD operating system (not sure if it is 10.8 or 10.8.1. or 10.8.2)  and have a Buffalo USB 3.0 1TB hard drive. When go to utilities to try and format with Mac OS extended, following 3 files show. DriveNavi. exe, Slm.exe an

  • UCM integration with webcenter

    hi, How to create page runtime and submit data to UCM and dispaly the content. Allow users to in line editing the content like site studio pages. If anyone has any idea on integrateing webcenter with ucm please let me know. thanks manu.

  • Storing Uploaded Audio Files in Your Database

    I have been using the cffile tag to upload files into a directory on the server and then writing the details of that file into a database, but I would like to now instead of uploading and writing the file to a directory, I would like to write that fi

  • How do i make my Nokia n8 screen go blank when i a...

    Hi guys I have been using my n8 for the past days and have noticed something..... At 1st if i press on the power button and click on lock screen it goes into standby with screen blank till i touch it again which helped save battery consumption... But