Custom RH9 WebHelp skin: Problem opening PDF file from custom button

Hi, I've been troubleshooting and checking forums trying to figure out how to get a PDF file to open from a custom button on my WebHelp skin. It worked for me once upon a time, but I changed something in the document and tried to upload the new version and it has errored out ever since.
I want to have the ability to open the PDF in a new window from the custom button (called 'Printable PDF' on my skin), so I am using the following custom JavaScript in the 'Click On' field of the the custom button's components: window.open('print_test.pdf','printWindow','menubar=0,resizable=0,width=900,height=500,scr ollbars=1');  I know the script is good because I have the same script for the Support custom button and it works great. The only difference between those scripts is the Support script calls an .html file instead of a PDF and the window names says 'supportWindow' instead of 'printWindow'.
I've tried deleting and recreating the custom button, changing the JavaScript with a developer's help, generating the help on another machine thinking it was a glitch with my browser (using IE8) or RoboHelp license, and combing the help files numerous times. I've also ensured that the PDF file is stored in the skin and project folders along with the other project files/folders. I've used previous versions of RoboHelp and had no problems attaching a Word document and PDF, so I'm wondering if this is a bug in RH9?? Especially since it worked for me initially. Any assistance and/or fresh ideas are welcomed! Thank you!

Hello again
Happy I was able to help.
MOTW is only present and affects things when you are running content off your local C drive. It's value is in preventing that Yellow Information Bar and all that from appearing when you are using IE. Once you publish content to a server and access it that way you are in a different security zone and MOTW has no influence either way. So there would be no adantage to enabling it before publishing to a server. The only reason you might want to consider enabling it would be if you were copying the WebHelp to everyone's hard drive and having them run it from their hard drives.
Make sense?
Hope so... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7, 8 or 9 within the day!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks

Similar Messages

  • Problem opening pdf file from an app built by Flash Builder 4.5

    problem opening pdf file from an app built by Flash Builder 4.5

    The iPad and iPhone have NEVER supported Flash and never will. In fact, Adobe is no longer distributing Flash builds to mobile devices.
    Time to move on...

  • Problems opening pdf-files from KM of portal

    Hi,
    we store documents in our portal in KM. When I use pdf-files that where not saved with Office2007 tools I get the problem, that I can open the file once. If I open it the second time I get the error message "file doesn't start with "%PDF-". and the file will not be opend. If I delete the temporary files in the internet explorer, the file can be opended, again.
    If I open the file directly in the internet explorer I don't have those problems, so it seems, that the portal uses a different viewer than the internet explorer itself. 
    Has anyone an idea how to solve this problem?
    Regards
    Ulrike

    Ulrike,
    I think this is a known issue.
    Affected versions:
    o KMC SAP NetWeaver 7.0 (formerly named 2004s) SP 14
    o KMC SAP NetWeaver 7.0 (formerly named 2004s) SP 15
    If you have the above KMC and SP Versions then you need to follow the below SAP note:
    Note 1146711 - Problem opening PDF files.
    Have you checked the belowSAP Note?
    Note 954627 - Issues with opening/displaying PDF files from KM
    Regards,
    Karthick Eswaran

  • Problems opening PDF files from Websites

    I just had the contents of my (dying) ibook transferred onto my emac. The tech created a new user/desktop on the emac. Now, when I try to open PDF files from a website, I get a window saying this:
    "Downloading - users/myname/desktop/xxxxx.pdf could not be saved because an unknown error occurred. Try saving to a different location."
    Points to note: 1) The "xxxxx.pdf" part of the above message changes each time I try to open a pdf document, even the same one, and it does not show the real name of the document (e.g. CollegeApplication.pdf)
    2) this never happened on my laptop;
    3) the settings are set in Firefox to download pdf's to my desktop;
    4) I have the latest version of Adobe Acrobat, which I already tried opening before downloading.
    Any ideas? Thank you!

    Will the new account save to a different location?
    Is the "myname" that appears in the error message that of the new account or of the old one?
    Following up on Frank's tip about file permissions, is it possible that the GID of the new user account conflicts with the existing? The existing admin user was likely GID = 501 on both Macs, and depending on how the laptop's data was transferred, the internal ownership of the transferred files still points to 502 rather than say 502.
    have you tried the old standby of running Disk Utility's Repair Permissions on the hard drive?

  • Problem open pdf files from windows xp or W2K3(Not from Windows 7)

    Hi,
    i have some pdf files in a shared folder(W2K3).These are in other subfolders.Some of them cannot be opened .Right click options are limited (photo below).The weird thing is that happens when you try to open the files either from the server or a windows xp machine.From Windows 7 are opening normally.I thought of being an issue with file directory .Any idea ?
    Thanks

    I had to install adobe reader, but   PDF's used to display just fine with IE, any idea what happened ?
    Windows 8.1 pro.
    thx
    lee

  • Can no longer open PDF files from my emails sent from other websites. Problem seems to correlate with automatic upgrade of free adobe software (from version 11 to Reader DC)?

    Can no longer open PDF files from my emails sent from other websites. Problem seems to correlate with automatic upgrade of free adobe software (from version 11 to Reader DC)?

    To configure the browser to use Acrobat or Adobe Reader to open PDF files:
    1. Quit Internet Explorer(any other browser)
    2. Start Acrobat or Adobe Reader.
    3. Choose Edit > Preferences.
    4. Select Internet in the list on the left.
    5. Deselect(Uncheck) Display PDF in Browser, and click OK.
    6. Restart Internet Explorer

  • Problem opening PDF files for Adobe Reader

    Problem opening PDF files for Adobe Reader.
    I installed the latest adobe reader for my Mac. Everything is set up. Every time i go to open a pdf file, this shows up...
    "Before viewing PDF documents in this browser you must launch adobe reader and accept the End User Licence Agreement, then quit and relaunch the browser."
    I installed it through the adobe reader website for free. And even though it says 'by clicking "install now" you are agreeing to accept the user licence agreement terms and conditions' it still says i need to accept the T&C's.
    I've tried uninstalling and reinstalling it and same thing over and over again.
    Can someone help!?!?!
    Please contact me via email direct ASAP at....
    [email protected]
    Thank you
    Message was edited by: nick khzouz

    Adobe Reader PDF problems wrote:
    "Before viewing PDF documents in this browser you must launch adobe reader and accept the End User Licence Agreement, then quit and relaunch the browser."
    Did you actually try doing what the message suggests?  Open Adobe Reader and accept the EULA?

  • Problem with opening PDF files from JSF page using SDO

    Hi all,
    I'm new with JSF and was attempting to read a PDF file from a Database using SDO and JSF. The code below throws an exception when casting from DataObject to Blob. The getLcDoc() method was created by WSAD when I dragged an SDO relational record onto the JSF page. This method returns an DataObject type which I tried casting to a Blob type before using it further. However, an exception is thrown.
    Any feedback is appreciated.
    Arv
    try {
                   FacesContext faces = FacesContext.getCurrentInstance();
                   HttpServletResponse response =(HttpServletResponse) faces.getExternalContext().getResponse();
                   Blob file= (Blob)getLcDoc().get("ATTACH");
                   int iLength = (int)(file.length());
                   response.setHeader("Content-type", "application/pdf");
                   response.setHeader("Content-Disposition", "inline; filename=Attachment");
                   response.setHeader("Expires","0");
                   response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0");
                   response.setHeader("Pragma","public");
                   response.setContentLength(iLength);
                   ServletOutputStream os = response.getOutputStream();
                   InputStream in = null;
                   in = file.getBinaryStream();
                   byte buff[] = new byte[1024];
                   while (true) {
                   int i = in.read(buff);
                   if (i<0) break;
                   os.write(buff,0,i);
                   os.flush();
                   os.close();
         } catch(Exception ex){
              System.out.println("Error while reading file : " + ex.getMessage());
         }

    Hi...I found out that there is actually no need to use a Blob object at all. You can simply call the OutputStreams write() method and pass the DataObject.getBytes() method that returns a byte[] array. The revised code is shown at the end of this posting.
    However, a few other teething problems exist:
    1. This works well only if I specify the content type in response.setHeader() method. What if my users upload different types of files, is there a way that the browser opens according to the file type without setting the content type?
    2. I still have a problem opening PDF files, even if I specify - response.setHeader("Content-type", "application/pdf");
    I get the message - The file is damaged and could not be repaired
    3. I would also like this to open the attachment in a new window and using target="_blank" doesn't seem to work as seen below:
    <h:commandLink
                                                 styleClass="commandLink" id="link1" action="#{pc_DocumentDetailsRead.doLink1Action}" target="_blank">
                                                 <h:outputText id="text5" styleClass="outputText"
                                                      value="Click Here"></h:outputText>
                                            </h:commandLink>
    ------------------------Revised code-----------------------------------------
    FacesContext faces = FacesContext.getCurrentInstance();
                   HttpServletResponse response =(HttpServletResponse) faces.getExternalContext().getResponse();
                   response.setHeader("Content-type", "application/msword");
                   response.setHeader("Content-Disposition", "inline; filename=Attachment");
                   response.setHeader("Expires","0");
                   response.setHeader("Cache-Control","must-revalidate, post-check=0, pre-check=0");
                   response.setHeader("Pragma","public");
                   ServletOutputStream os = response.getOutputStream();
                   os.write(getLcDoc().getBytes("ATTACH"));
                   os.flush();
                   os.close();

  • Problems opening .pdf files created in Windows in MAC

    My clients that are using Macs are having problems opening password protected PDFs that I created in Windows. Any suggestions?

    Are your clients using Adobe Reader on Mac, or the built-in Mac OS Preview?  Preview does NOT support the full PDF standard :(.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 26 Sep 2011 15:04:18 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Problems opening .pdf files created in Windows in MAC
    Problems opening .pdf files created in Windows in MAC
    created by Hollcy<http://forums.adobe.com/people/Hollcy> in PDF Language and Specifications - View the full discussion<http://forums.adobe.com/message/3939175#3939175

  • Problem opening PDF files with adobe

    I cannot get adobe to open my pdf files. Not from internet nor from desktop.
    I downloads fine,. I have installed and reinstalled several times.
    If I try to open it looks like it opens but closes immediately. I tried to open adobe, but nothing. A grey screen and that's it. I cannot access the help button

    Yes, I finally got it working using number 2:-) Thank you very much
    2013/8/1 Pat Willener <[email protected]>
       Re: Problem opening PDF files with adobe  created by Pat Willener<http://forums.adobe.com/people/pwillener>in
    Adobe Reader - View the full discussion<http://forums.adobe.com/message/5557146#5557146

  • I am having a problem opening pdf files.  I get an error message saying   a problem has occurred with the licensing of this product. Restart your computer and re-launch your product. If this problem still occurs after restarting ... error code:213:19  Can

    I am having a problem opening pdf files.  I get an error message saying
    a problem has occurred with the licensing of this product. Restart your computer and re-launch your product. If this problem still occurs after restarting ... error code:213:19

    Hi AdobeFiles,
    I'm sorry to hear that you're unable to open PDF files. Please see this Help document: Error 213:19 | Problem has occurred with the licensing of this product | Acrobat X and XI for solutions.
    Let us know how it goes!
    Best,
    Sara

  • Error when opening PDF files from SAP.

    Hi Gurus
    I have posted this question in ABAP Development section also. Please read the below text.
    We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button.
    This issue occurs few times a day in Windows Vista.
    This issue does not occur in Windows XP.
    Since past few weeks, we have been trying to find some error/warning/atleast some text in log files of SAP, OS, Adobe Reader, Registry entries, Event Viewer. So far, we have not found anything.
    SAP is not able to help as this issue occurs intermittently and said when they tried, the issue did not occur. They made two attempts and in each attempt they tried 10 times to reproduce the issue. This issue occurs intermittently.
    Environment
    SAP R/3 4.7 EE SAP_Basis 620 Support Package 61
    Windows Vista Enterprise
    Adobe Reader 9.0 and Adobe Reader 9.1 (tried with both versions)
    SAPGUI 710 Patch 12 (latest patch). It also occured in Patch 11.
    Please suggest
    Thank you
    Pavan

    Now I got to capture the screenshot, however not able to attach/upload here but it says:
    'Reading Untagged Documents'
    lets say i tried to open 6 page document then it said:
    'This 6-page document is untagged and must be prepared for reading. While the document is being
    analyzed, your assistive technology will not be able to interact with this application. '
    then it asked for Reading options
    then a checkbox for to confirm 'Always use the settings from the Reading Preferences (Do not show this dialog again)
    then 'OK/START' and 'cancel' buttons
    It seems, this is the problem with Adobe w.r.t Vista.
    thanks
    Bhudev

  • Mac OS X cannot open pdf files from online sites.

    Mac OS X cannot open pdf files from online sites.

    The problem is definitely between my safari and Adobe.
    I can open documents in emails. But not something like this.
    Your Folk Project newsletter for the coming month is available for download at:
    http://folkproject.org/enl/eNewsletterDownload.shtml
    Kathryn Weidener
    Storyteller
    908 369-7571
    [email protected]

  • CAN'T OPEN  PDF FILES FROM CANADA'S CIC SITE

    I can't open at least two files/forms from the CIC - Canadian Immigration site.   I have no problems opening other files from the same website but for 2 particular forms its message was the Adobe reader you're using may not be able to open... you need to upgrade to the latest version of the Adobe reader which i did and still could not open these forms.   Help please.  Thanks @

    What is your operating system?  Browser?  Reader version?
    Have you tried to download these PDFs to your local disk first, then open them from there?
    Finally, can you post links to the PDFs you have difficulties with?

  • Since last update, unable to open PDF files from either banking site. The other (IE) works fine but I hate IE. I deleted newer versions and went back to older releases. No help, same thing. Checked settings in options. That is ok. What's up?

    Unable to open PDF files from my banking statements.

    I think almost every dev is on arch-general, so that is the place to contact the group in general.  Specific points can probably be emailed to the dev involved, if one is identifiable and if the bug tracker is not a better place (bug reports to my email get ignored).
    I think the whole problem here is that there is really no dev in charge of that package.  So your emails were probably seen then skipped over by all devs thinking not my problem...  (I know that is true for me).   Then Andrea noticed an "orphan" package that needed updated and went ahead with it without connecting it to your previous emails, which is unfortunate.
    Now our maintainer backend is fixed, hopefully we can get all the orphan packages adopted out, or at least know if we need to bring on new people to maintain them.  That way, there should always be someone who information about specific packages should be sent to.

Maybe you are looking for