Reader API

Has anyone had any luck pulling in article metadata with the reader API?
I have an HTML overlay where I want to reference the Title, author, kicker and description of the page. I tried us to the sample information screen code from New APIs and features in r30, including folio navigation, article metadata and calendar events | Adobe Developer Connect… with no luck.  Using the sample  page I can get  data from the folioDataService but all blanks for articlemetadata.
Is the problem that I am using the content viewer on iOS to test the folio and overlays?
I would love to see a working example of this.
Thanks

I don't know about exactly what capabilities are available in which version of SAP Mobile. But here's a simpler solution for you.  Create your data in an XML file that looks something like:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><?xfa generator="XFA2_4" APIVersion="2.8.8157.0"?><br /><xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"><br /><xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><br /><xfa:data><br />    ...your normal form data goes here..<br /></xfa:data><br /></xfa:datasets><br /><pdf href="...URL for PDF..." xmlns="http://ns.adobe.com/xdp/pdf/"/><br /></xdp:xdp><br /><br />Now you have a couple of choices. You can call Reader and ask it to open (I forget the command line switch off hand) the XDP file or you can just ask Windows to open the XDP file with it's registered application.  Since XDP is associated with Reader, this will work unless of course you also have Adobe Designer loaded on the system.<br /><br />The href should be able to point to a file:// URL or an HTTP(s):// URL. I guess an FTP URL would work as well.<br /><br />When you get a little sample working, this would be a great topic for a posting in the Interactive Forms area on SDN.<br /><br />Les

Similar Messages

  • Get file metadata with Reader API

    Hi
    It is possible to retrieve the metadata of a file with the Reader API? How?
    Thanks

    My project was generated by the wizard, but when try to use the PDDocGetXAPMetadata function the project does not compile with this error: "'PDDocGetXAPMetadataSELPROTO' : undeclared identifier".
    Any ideas?

  • Adobe Reader API

    Regarding Adobe Reader API, I know it's very limited, but all I need to do is open a file and go to a particular page. I've tried:
    With AcroPDF1
    .LoadFile "C:\test.pdf"
    .setCurrentPage 3
    End With
    which gives me "Runtime Error 424, Object Required," and I've tried:
    Dim AcroPDDoc As Object
    Set AcroPDDoc = CreateObject("AcroExch.PDDoc")
    Set pdDoc = CreateObject("AcroExch.PDDoc")
    which gives me "Runtime error 429, Activex component can't create object."
    I've made sure all References to anything Adobe or Acrobat are checked off (I'm programming in MS Access using VB).
    What am I missing?
    Thanks.
    (PS I do own Acrobat Standard that I use on my office machine and I can't get the code to work there either. But I need to be able to use Reader for the project I'm working on.)

    Now this was an interesting thread...
    I have a similar problem, but I am not so familiar with VB or javascript or the Windows API, so I would appreciate explicit examples.
    I would like to make a .bat script (yes, DOS, under Win XP) to open a .pdf document using Acrobat Reader (v. 8.1.0 in my case). If the document is already open, I would like to close it and reopen it.
    Today, I do this with
    "C:\Program Files\Adobe\Reader 8.1\Reader\AcroRd32.exe" test.pdf
    which works. However, it also locks the file for editing. I therefore need a way (from the command line) to either close test.pdf or open it read-only.
    I realize that this (at least closing the document) should be accessible via Adobe Reader API or Acrobat IAC, possibly through the javascript command app.openDoc() (I have looked into the documents mentioned above), but I have no clue about how to do this from the command line. Anyone care to help me out with an example?
    Anders Hägglund

  • I want to ask next have ADOBE READER API? I want to control the ADOBE READER right-cli

    Good evening! I want to ask next have ADOBE READER API? I want to control the ADOBE READER right-click and shortcut, and the navigation buttons on the article? Thanks for the reply

    Moved to Acrobat SDK

  • I need adobe reader api send me url please

    hi i am developing an application in C# that open password protected pdf file by supplying password programatically .Someonetold me that you have adobe reader api that take password as parameter. Please send me url i am ready to purchase.
    [spam link removed by forum host]

    Try the forum for Acrobat SDK.

  • Reader API for Android

    Does Reader API (http://www.adobe.com/devnet-docs/digitalpublishingsuite/ReadingSDK-2.27/docs/index.html) work in Android? If yes, since which version.
    Does it work in R25 already?
    Especially we wanted to use the feature to access the entitlement status within a web view.
    Thank you,
    Richard

    The Reading API is iOS only at this stage.

  • Credit card reader API

    Is there any API available by which i can access a Magnetic Card Reader attached my PC thro USB?
    Thanx

    talk to the vendor of the mag stripe reader, for a start. additionally, many of them ship with a driver which redirects the mag stripe data to stdin. this will be a native driver, so moving your code from platform to platform will be trickier, but for an app. that's reading credit cards, this isn't often an issue anyway. not many people decide to suddenly port their PoS app to another OS halfway through a project! (but I've seen it done)

  • PDF reader API for Android

    Hi, I'm an Android developer beginner. I need my App to view pdf files without calling an external viewer. I found several pdf vierver source code solutions, but none of them is "Adobe Official". Is there any official Android pdf viewing API? How about iOS? Thanks.

    Moving this discussion to the Reader for Android forum.

  • Reader API Help Guide Needed

    Hi Im using the free Acrobat reader within my application for viewing PDF files only.
    Its the same that gets displayed in a browser and is activated as an activeX control.
    It actually runs out of process as AcroRD32.exe
    This has an API and quite a bit is intuitive but part of it is not.
    Is these a help guide for using this API within your apps or scripts?
    I need to try a switch a few things off etc and attempt to scale the view relative to my app.
    Thanks.

    You can find documentation about the API in the Acrobat SDK.

  • Reader API Definition

    hi
    I have an application for an Adobe Interactive Form which requires that another application (SAP Mobile) initiates a Reader Template pre-populated with some data from the SAP Mobile app.
    Assuming Reader exposes an API I'm trying to find some documentation which defines that API to see if this is possible.
    Any other advice very welcome!
    thanks

    I don't know about exactly what capabilities are available in which version of SAP Mobile. But here's a simpler solution for you.  Create your data in an XML file that looks something like:<br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><?xfa generator="XFA2_4" APIVersion="2.8.8157.0"?><br /><xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"><br /><xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"><br /><xfa:data><br />    ...your normal form data goes here..<br /></xfa:data><br /></xfa:datasets><br /><pdf href="...URL for PDF..." xmlns="http://ns.adobe.com/xdp/pdf/"/><br /></xdp:xdp><br /><br />Now you have a couple of choices. You can call Reader and ask it to open (I forget the command line switch off hand) the XDP file or you can just ask Windows to open the XDP file with it's registered application.  Since XDP is associated with Reader, this will work unless of course you also have Adobe Designer loaded on the system.<br /><br />The href should be able to point to a file:// URL or an HTTP(s):// URL. I guess an FTP URL would work as well.<br /><br />When you get a little sample working, this would be a great topic for a posting in the Interactive Forms area on SDN.<br /><br />Les

  • Using Adobe Reader API

    Hi,
    I've tried to print PDF-Files in a Third-Party Application using the Adobe Acrobat 8.0 Type Library. The following error occurs
    "Could not create an instance or the OLE control or Automation Server identified by
    GUID= {....
    Adobe Acrobat Reader 8.0 Type Library.AcroAVDoc.
    Check that the OLE-control or Automation server is correctly installed and registered."
    So i search the internet and what i find out is, that some other people have the same problem but no solution.
    Can anybody help me ????

    The Acrobat SDK, by the way, does explain which (very few) API methods
    work with the free Reader, but the Acrobat SDK (should not be a big
    surprise) mostly needs you to buy Acrobat.
    Aandi Inston

  • QR/Bar Code Reading API

    I was looking to try to create an app that would read a bar code or QR code etc. then use that information to do a database look up. Pretty simple really.
    I have been having trouble finding a tutorial about using the camera to read a bar code (or similar technology).  I figure that this has to be easy enough to do. 

    Hi,
    Here is a blog post for scanning QR code. See
    this for barcode scanning.
    Pradeep AJ

  • Reading all related keys from a properties file

    I have in my propeties file, keys the following way:
    FIRST_DATASOURCE=COM.XYZ.ABCSERVER.JDBC1
    SECOND_DATASOURCE=COM.ABC.SERVER2.JDBC1
    FIRST_DATASOURCE=COM.123.SERVER3.JDBC3What is the solution to read all the keys wit _DATASOURCE and return as a string array?
    Thanks in advance.

    Thanks kajbj..
    The problem here is the datasources are added from
    time to time and the program should pick-up
    dynamically.
    If I hardcode for the existing available datasources,
    how can it handle for the future?
    Appreciate your thoughts.Many answer can be found by reading API
    http://java.sun.com/j2se/1.4.2/docs/api/java/util/Properties.html#propertyNames()

  • Reading text file in ASCII or UTF-8 or UTF-16 or UTF-32?

    The following code will include the UTF-8 byte-order-mark (EF BB BF) in the first line from the source file:
    BufferedReader reader = new BufferedReader(new FileReader(sourceFile));
    String firstLine = reader.readLine();
    This isn't desirable. I don't want to get the UTF-8 BOM in the text contents that I get from the IO API.
    Now, I can do something like this:
    InputStreamReader reader = new InputStreamReader(new FileInputStream(sourceFile), "UTF8");
    However, that assumes that the program knows the encoding of the input file at design time. Unfortunately, my app takes files from the user who may supply files in UTF-8, UTF-16, ASCII, or some other text encoding. Doesn't Java have some sort of simple file reading API to auto-detect the specific text encoding, strip out any internal BOM type markings and return my a simple Java string of just the actual file contents?

    MassimoH wrote:
    However, that assumes that the program knows the encoding of the input file at design time.Well, the bottom line is that the program DOES have to know the encoding of the input file. Not necessarily at design time, but it does have to know it at run time. The BOMs are only the first problem you have encountered.
    I believe there are algorithms used in browsers to guess at the encoding of HTML documents provided by bozos who don't specify an encoding, but I don't have any good information about them.

  • How to read client certificate after SSL has be established

    Hi, Folks:
    I've established mutual authentication between client and server, how do I go about reading the client certificate on the server side after SSL session has been established? Basically I am trying to read the client name from the client certificate, based on the name, the server will decide what resource the client can access.
    Thanks a lot
    --Richard                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I need to know the process clearly... like how to configure ssl serverAs I said, that's not the topic of this thread. It's described in the Javadoc, and it's been covered in this forum, and the forum has a search facility. If you still have a question, start your own thread. Don't hijack other threads about other topics.
    Every one knows to read API documentation. If those were clear then I wouldn't ask here for help. Then you need to ask a specific question about something you specifically didn't understand, in a specific thread, in a specific forum. The best reference is the Javadoc. That's what it's for, and reading it is how I learned Java. If you can't understand it maybe you need to make more of an effort. Nobody is going to type it in here again for you in a more comprehensible form (I hope). It's your job to understand the material you have to work with. At the moment you're just asking someone to do your job for you.
    And yes this topic may have been covered previously, but its not necessary for me to know what topics are covered in this forum.The question asked in this thread has been answered previously in this thread. Is that too hard to find? The question you asked that hasn't been covered in this thread doesn't belong in this thread. Is that too hard to understand?

Maybe you are looking for