• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Full version Acrobat works but reader doesn't

Ok I have some javascript that runs on the open event. It works perfectly in Acrobat Full Version, but doesn't run on Reader. Javascript is enabled and I really can't think of a reason why the two would handle it differently. I did a search here and I found someone had a similar problem but no response. So I went with google. No luck.
I am calling a web service from the javascript using soap. I would assume that the engines are the same. Does anyone know why this would be happening?
0
jj819430
Asked:
jj819430
  • 3
  • 2
1 Solution
 
Karl Heinz KremerCommented:
Do you have the Acrobat JavaScript spec? It tells you for each function in which product it's supported. There are a number of things that you can do only in the full version of Acrobat, and not in Reader. Because I don't know which methods you are using, it's hard to say why it's not working in Reader :-)

Your best bet is to get the document and lookup every function you are using in the block that's not working correctly. You can find the document at Adobe's web site: http://partners.adobe.com/asn/acrobat/docs.jsp#javascript
0
 
jj819430Author Commented:
you are right....
requires Advanced Forms Features
If I understand correctly that requires the user having the Adobe Server stuff installed am I correct?
0
 
jj819430Author Commented:
I was using the soap portion.
I basically just need to on open call a url or use soap... I have looked through the Acrobat Javascript Reference but cant seem to find any means of doing this. I wouldn't care how it is done, I just need to either call a url or connect to a web service.
Any ideas? (needs to be done on the document opening and work in reader)
0
 
Karl Heinz KremerCommented:
You are right, all the Soap methods are marked with "F", which means that you need a rights-enabled PDF file (which you can create with the "Adobe Document Server for Reader Extensions" - this is _NOT_ a cheap solution!) for these methods to work in Reader.

In general, there are three ways to communicate with a web server:
   - SOAP (which does not work in Reader without these reader extensions)
   - Doc.getURL() and App.launchURL(), which will open a new document in either Reader or the browser
   - Doc.submitForm(), which - as the name implies - submits forms data, and also opens  a new HTML page / PDF document.

This means, you are pretty much out of luck.

What are you trying to accomplish? Is it to find out when a PDF document was opened?
0
 
jj819430Author Commented:
My fault I forgot about the question. I will award the points immediately.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now