Opening another PDF from a specific path yielding error

Hello,
I'm trying to open a PDF (child.pdf) from a PDF(main.pdf). If the both the main.pdf and child.pdf reside in the same directory, the code below works fine.
app.openDoc("child.pdf");
However, if I move the child.pdf to c:\pdf_templates\child.pdf and modify the code to:
app.openDoc("c/pdf_templates/child.pdf");
I get the following error:
Exception in line 1 of function top_level, script XFA:form1[0]:#subform[0]:Button1[0]:mouseUp
NotAllowedError: Security settings prevent access to this property or method.
App.openDoc:1:XFA:form1[0]:#subform[0]:Button1[0]:mouseUp
The error is to do with security settings preventing access to the another path. I have check and re-checked all security settings and I still get the error.
Any ideas on how I can overcome this issue???
Thanks,
Jose

Hi,
the error message in Acrobat is misleading.
There is no security setting blocking you from opening the form.
You really have an raise error, because the path you provided is not correct.
The absolut path has to begin with a leading slash (/).
app.openDoc("/c/pdf_templates/child.pdf");

Similar Messages

  • Cannot open another PDF from within a PDF RDR 9.1

    Hi, all. When I or one of our users tries to open a PDF from a "Table of Contents" PDF , i.e.
    Table of Contents for Job CD30A9
    Guide
    42ACC845.pdf
    42ACC84D.pdf
    42ACC84E.pdf
    42ACC84C.pdf
    The guide opens but not the other documents. The other documents open fine if clicked on individually. They are password protected (all but guide.pdf).
    This is what I get with Process Monitor:
    1:52:45.5500328 PM AcroRd32.exe 2372 RegOpenKey HKLM\Software\Adobe\Acrobat Reader\9.0\Installer SUCCESS Desired Access: Read
    1:52:45.5500859 PM AcroRd32.exe 2372 RegQueryValue HKLM\SOFTWARE\Adobe\Acrobat Reader\9.0\Installer\VersionMax SUCCESS Type: REG_DWORD, Length: 4, Data: 589825
    1:52:45.5501239 PM AcroRd32.exe 2372 RegQueryValue HKLM\SOFTWARE\Adobe\Acrobat Reader\9.0\Installer\VersionMin SUCCESS Type: REG_DWORD, Length: 4, Data: 1
    1:52:45.5501694 PM AcroRd32.exe 2372 RegCloseKey HKLM\SOFTWARE\Adobe\Acrobat Reader\9.0\Installer SUCCESS
    Any ideas?

    Can you insert the PDF file in the Word document in another format to make it clickable in the newly converted PDF?

  • Open another pdf from an existing pdf form

    Hi Experts,
    I have a complex 10 page interactive form with lots of user entered fields (100s of them) - on field validation I want to show another pdf having all the details of the invalid entries in the parent form. xfa.host.messageBox() does provide me with a popup, but the no of fields make it unsuitable for showing in a messageBox() instead I want it to be displayed in a separate pdf form which will open up once user clicks submit button on the form.
    Also I would like to know if there is any way to link the second form to the first one so that when the user clicks on any entry of the validation error log in the second form he will be directed to the first form with the field having missing entry or wrongly populated being highlighted.
    Thanks in advance.
    Regards
    Rohit

    Hi Rohit,
    Visually you can change the look and feel of the support pages, so that the user knows the form from the support:
    Here is a form with a help button. The help pages are normally hidden and the users only sees these pages when they explicitly ask for them. Hitting the button will make the help pages visible and move the focus to the first help page.
    The help pages have a blue background (the colour is visible on the screen, but doesn't print off - save ink):
    Niall

  • Trouble with permission to open current PDF from one user to another user. what is the cure. i am running nthe current Server and updated Os 10.9.2

    Trouble with permission to open current PDF from one user to another  What is the cure ? I'm running the latest Server and OS 10.9.2.

    I had the same problem.
    Try this.
    https://igppwiki.ucsd.edu/groups/publichelpwiki/wiki/a1538/Howto_Disable_Acrobat _as_the_Safari_PDF_Viewer.html

  • How do I open a PDF to a specific page via the command line?

    Several questions about opening PDFs from the Mac OS X command line:
    1) How do I use the "open" command to open a PDF to a specific page? (I know I can open a document via: open doc_name.pdf)
    2) How do I use the "open" command to pass multiple arguments (page no, zoom scale, view mode, etc...) to open a PDF file in a specific manner?
    3) Does Preview handle the same parameters as Acrobat Reader? If not, what are the differences in options?
    I've spent hours searching for this answer and have come up dry. I've downloaded Adobe's "PDF Open Parameters" document -- it lists all of the parameters I need, however I can't get any of them to work from the command line.
    My goal: Open a PDF from the command line to a specific page. At first glance, I thought this would be simple to do and find -- however, after a lot of searching I haven't found an example on how to do it.
    Anyone have any experience doing this, and care to share?
    Much appreciated! ---> Kelsey

    I don't know of any way to do what you want using the 'open' command. It can probably be done with Applescript, which you could call from a shell script. The Preview application doesn't seem to be scriptable. I don't use Acrobat, so I can't tell you anything about that. Looking through the dictionaries of the apps I do have, it seems that Skim (another PDF viewer) has an AS 'page' class. Below are a couple of links that may get you started. Look for more specific guidance in Applescript forums.
    http://sourceforge.net/apps/mediawiki/skim-app/index.php?title=AppleScript
    http://links.tedpavlic.com/shell_scripts/skim

  • How to hyperlink a word in one pdf to open another pdf?

    Hi, I have been trying to find a program or app on my mac that will enable me to click on a word in one pdf file from my documents which would then open another pdf file in my documents. I can't seem to be able to do it on preview via the hyperlink or adobe reader, can anyone help? I assume this would be easy to do on Acrobat X Pro? Any alternative (cheaper/free!) options would be great.

    You can insert hyper-links in PDFs in Preview by clicking on Tools > Annotate > Add Link. The key is to point the link at the local file. The link should start with "file://" followed by the complete path to the file you want to open (e.g.: /Users/Your_Account/Documents/whatsitsname.pdf). In other words, the complete link will be: "file:///Users/Your_Account/Documents/whatsitsname.pdf".

  • Hyperlink a word in one pdf to open another pdf on a mac?

    Hi, I have been trying to find a program or app on my mac that will enable me to click on a word in one pdf file from my documents which would then open another pdf file in my documents.  I can't seem to be able to do it on preview via the hyperlink or adobe reader, can anyone help? I assume this would be easy to do on Acrobat X Pro? Any alternative (cheaper/free!) options would be great.
    Thank you!

    With Adobe Acrobat you can add links.

  • I'm trying to open a PDF from Safari with iBooks, but when I choose "Open with ..." in Safari, only Pages and Dropbox show as options.  I'm running iOS 7.1.2 and iBooks 3.2.  Thanks for any ideas!

    On my iPad, I'm trying to open a PDF from Safari with iBooks, but when I choose "Open with ..." in Safari, only Pages and Dropbox show as options.  I'm running iOS 7.1.2 and iBooks 3.2.  I have rebooted the iPad and that did not help, and reinstalled iBooks, which also changed nothing.  Thanks for any ideas!

    Yup, it was uploaded to our school Wiki as a PDF, and Pages did open it.  I was then able to move it to iBooks, but I'd rather avoid the extra steps.

  • New Mac, fresh install of Mountain Lion When I click to open a .Pdf from a web page,while in Safar, I get a black window Nothing opens in Preview or in Acrobat No option to download

    New Mac, fresh install of Mountain Lion
    When I click to open a .Pdf from a web page,while in Safar, I get a black window
    Nothing opens in Preview or in Acrobat
    No option to download

    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type of copy paste the following:
    /Library/Internet Plug-Ins
    Click Go. If you see this file:  AdobePDFViewer.plugin
    Drag it to the Trash, empty the Trash.
    Quit and relaunch Safari.

  • Opening another iview from an iview in the same page ....

    Hello ....
    I need to open another iview from an existing one in the same page without overwriting the other existing iviews on the page. I am using EPCM.doNavigate() as given below
    EPCM.doNavigate('ROLES://portal_content/com.hersheys.Hershey_Content/com.hersheys.Human_Resources/com.hersheys.hr.sap_mss_iviews/EmployeeExit?SCENARIO_PARAMS=PERNR='+person,0);
    The iview does open in the same page, however i lose the other iviews on the top and bottom of the page ....
    Any pointers??
    Thanks,
    Devina

    Hi Devina,
    Try using IUrlGeneratorService to generate the URL to the required iView, instead of EPCM.doNavigate().
    doNavigate sometimes refreshes the whole page while loading the required iView.
    cheers
    Kiran

  • I can't open an update for Acrobat 9 pro I get asked to open another prog from the suite but when Io

    I can't open an update for Acrobat 9 pro I get asked to open another prog from the suite but when I do Acrobat just shuts down,help !!
    And I can't get back to the older version of Acrobat

    See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562
    JimmieJag wrote:
    2. If I reinstall it, will I lose my store credit and non-iTunes songs?
    Nothing should be lost... However... it is both Prudent and Recommended that a backup should have been created and maintained.

  • I am having an issue with my adobe acrobat 9 pro. Every time I try to open a pdf from someone it opens it up with my free adobe reader rather than the Acrobat 9 pro so then I don't have all of the functions of 9 pro. How do I get it to open with 9 pro ins

    I am having an issue with my adobe acrobat 9 pro. Every time I try to open a pdf from someone it opens it up with my free adobe reader rather than the Acrobat 9 pro so then I don't have all of the functions of 9 pro. How do I get it to open with 9 pro instead of the free reader?

    It may depend on the plugin that is loaded into your browser. However, right click on a PDF and select the Open With option and go to the default button to select Acrobat as the default. That might do it.

  • Opening a pdf from a blob

    Hi Guys,
    I know this is a borderline ApEx problem but I have a page whose sole job is to open a pdf from a blob stored in the database.
    This code works for most client machines:
    DECLARE
    l_blob blob;
    BEGIN
    SELECT letter INTO l_blob
    FROM letters
    WHERE lett_id = :P44_LETT_ID;
    -- owa_util.mime_header('application/pdf',false);
    -- tried pdf and octet they work the same?????
    owa_util.mime_header('application/octet',false);
    htp.p('Content-Length: ' || dbms_lob.getlength(l_blob));
    owa_util.http_header_close;      
    wpg_docload.download_file(l_blob);
    END;
    On some machines I get 'Windows cannot open this file ...File: f[7] ...To open this file..........
    On most machines this works fine.
    I haven't got it to fail with Firefox yet, just IE but only a few machines running IE. Client getting annoyed and I starting to stress.
    Many thanks
    Gary

    Have you already tried adding
    htp.p('Content-Disposition:  attachment; filename...as described here?
    http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm#CIHDDJGF
    Maybe it solves the problem, in case IE is a little bit picky. But I really don't know.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • How do I open a PDF from an online site?

    HHow do I open a PDF from an online site

    Hi,
    you might find an answer in How to open PDF documents in Adobe Reader (iPad on iOS 7 version)
    thank you

  • How do you open a PDF to a specific page number in Safari 8.0?

    I'm using the command #page=33 to try to force Safari to open a PDF to a specific page number. While this works fine on just about every website browser, it doesn't seem to work in Safari. What am I doing wrong?
    Thanks!

    The problem is most likely with the Safari PDF plugin, which doesn't process the open parameters correctly. To be fair, though, this is not a part of the PDF ISO specification but something that Adobe implemented on their own in their PDF plugins, so other applications are not obliged to follow it.
    If you switch to using the Adobe plugin then it should work, even in Safari.

Maybe you are looking for

  • How to reinstall SMS text software...

    Brought a 8350i(nextel) off of ebay, received phone but device cant receive or send SMS text. Has options to send email, PIN, MMs, and IM but no SMS. Help PLEASE.... bbm me <censored> EDIT: Personal Information Removed - Info such as PIN is prohibite

  • Invoice cancellation showing status as OPEN ?

    Invoice cancellation showing status as OPEN ? i already checked in Accounting determination analysis , where all conditions types , GL is determined. but if i go to Item level and checking GOTO dropdown > accouting overview then system i sresponding

  • Arch is mounting / as read-only post-install

    Okay, so I have no idea what I'm missing (I've done several Arch installs.) Machine is i686, no unusual hardware, and it's had Arch installed on it in the past. I run through the configuration, partitions, packages, etc., and when I reboot, Arch moun

  • Oracle objects

    I have created a simple Object in Oracle 8i to represent a person CREATE TYPE PERSON_T AS OBJECT ID INTEGER, FIRST VARCHAR(15), LAST VARCHAR(15) and I have created a table that uses this type as a column attribute. This worked fine and I was able to

  • IMAP issues

    Ok the mail server works fine for both internal users (smtp and pop are 192.168.x.xxx) External users work fine pop and smtp (mail.timeact.co.uk) Now trying to switch over to IMAP as users hot desk and remote. When I put mail.timeact.co.uk as the ser