Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
HARI #1
JavaScript app.openDoc UNC-path?
Hi!
I'm trying to open a PDF-Document (which is stored on a MOSS
Sharepoint Server) by using its UNC-Path (e.g. \\mysite.mydom.com
\personal\user1\SharedDocuments\xy.pdf) with JavaScript using the
Method "app.openDoc".
But that does not work. I get an NotAllowedError (Security settings
prevent access to this property or method)
Maybe I just don't know the right way to write the path (I know that I
have to use "/c/xxx.pdf" if I want to open "c:/xxx.pdf" but I can't
find any information on how to writ UNC-Paths).
I also get this error when I try to open the original URL (http://
mysite.mydom.com/personal/user1/SharedDocuments/xy.pdf) - maybe
because of the authentication MOSS requires - but it works when I try
to open documents other http-servers.
I tell you what I want to do - maybe someone has a better idea to
accomplish that: We use a standard-workflow in MOSS that sends a
message including the URL to a PDF-File which then should be signed by
some user. That of course doesn't work, because IE handles the URL and
opens Acrobat, which gets only a downloaded Copy of the Document which
can not be saved back to the right place. I thougt of reading the URL,
calculating the UNC-Path to it and opening it properly to sign and
save back.
A way to a system call from within Acrobat JavaScript would also help.
Yours,
Harald
HARI Guest
-
Linking to Network Folder path with javascript
Hi, I need some help please and hopefully you have the answer. I have a javascript code that involves two drop down menus, when one is chosen... -
failed to openDoc call when open from tracker
when my pdf load follow Javascript is executed: --- console.println( path ); test_doc = app.openDoc( { cPath: path , bHidden: true } ); //... -
Javascript openDoc
My PDF has a Javascript that opens a new document window. using: var otherDoc = app.openDoc("myDoc.pdf", this); The script always worked on... -
#25444 [NEW]: php4isapi.dll path to win.ini doesn't load from current path.
From: ict at primus dot ca Operating system: W2K PHP version: 4.3.3 PHP Bug Type: *Configuration Issues Bug description: ... -
can't find AE opendoc sample code
the dev apple site either doesn't have -- or has done a good job hiding -- any sample code demonstrating how to handle the AE opendoc event. I... -
jameslightning #2
JavaScript app.openDoc UNC-path?
I am having the same problem. We have multiiple pdf's on sharepoint and are attempting links among the documents. That it, a button is created in pdf1 that runs a javascript that uses openDoc with a cPath: "\\sharepoint.whatever\Shared Documents\pdf2.pdf". It seems no matter how I write the path, i.e. UNC (\\) or http://, I always get the Not allowed error security....
I am able to use openDoc to open a pdf on the C drivejameslightning Guest



Reply With Quote

