Determine if the form is a form PDF static or dynamic XML form programmatically

Hello

We have a software Macromedia Adobe form is used. With Adobe LiveCycle Designer, Staic form PDF and dynamic XML form can be created. We want to make the distinction between these two types. Is there available Adobe API which returns the type of PDF form; Static PDF or XML dynamic form?

Thank you - Marie Laure

Your script does not for me but when I used this modified following version he detected the form correctly (as long as the pdf file is saved in the designer using either save as static or save as dynamic)

Dim app, pddoc
Dim js

Set app = CreateObject("AcroExch.App")
Set pddoc = CreateObject("AcroExch.PDDoc")

If pddoc.Open("E:\Untitled1.pdf") Then
     Set js = pddoc.GetJSObject

     If Not js Is Nothing Then
          If js.dynamicXFAForm Then
              MsgBox "It's a dynamic form!"
          Else
              MsgBox "It's a static form!"
          End If
       End If
End If

Set app = Nothing
Set pddoc = Nothing

Regarding the 2nd approah, I don't have a sample that can be shared, but essentially, it is to use API of COS calls to open the stream XFA in PDF and determine what type of rendering.

Alternatively, you can run javascript using the API / C code

Tags: Adobe LiveCycle

Similar Questions

  • How can you save email on ipad pdf in ibooks if they are to come in the form of images? can you stop it

    I get sent a lot of pdf on email for my ipad. They come to the top in the form of images on my email so I can only save pictures no ibooks. Is far from stop this? If so, how? also can you seal my pdf then one both of ibooks for and by e-mail. IM on the road a lot so need to know how to proceed if possible without a laptop.

    Not very high on ipads!

    Press the image, which is actually the PDF open, and then select copy to iBooks from the window that opens. The PDF file will open in iBooks. Then press the share icon in the upper left corner of iBooks, and select send.

  • PDF files open in the form of images in the mail application

    Suddenly the mail program opens pdf attachments and automatically displays the practise in the form of images in the content field.

    Unfortunately, it is an expected behavior for a PDF in Mail.app. You a reading a very long thread about it here.

  • I have a form downloaded, and when I try to fill the spaces I can't. The form is scanned by HP printer. I think it's the pdf form. How to fill in the blanks?

    I scanned a form and when I open it with Microsoft Works word processor processor, I can't fill in the information. It scanned on a HP printer scanner and it appears as a tiff document, but I can't complete the informatim.

    Hello

    TIFF format means "Tagged Image File Format" you can not change or fill in the text in this format. I suggest you download the. PDF form once again and then fill out the form and save it and then parse the file to TIFF.

    Alternatively, you can try to convert the file to TIFF to word. I suggest you to search Tiff converter for word online and try to convert.

    With the help of third-party software or a link, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third party software or link can be resolved. Using third-party software or a link is at your own risk.

    Hope this helps,

  • I can't download the PDFs in the form of pdf files, why?

    I can't download the PDFs in the form of pdf files, why?  AutoCAD opens immediately instead of pdf file.  If everything is coded to open with word.  What should I do?

    Make sure that the file association is set up correctly.

    How to set file Associations:

    http://articles.TechRepublic.com.com/5100-10878_11-6172036.html

    How do I... Change file extension associations in Windows Vista?

    See you soon.

    Mick Murphy - Microsoft partner

  • Im getting attached in the form of PDF files, that I can not open

    Im making attached in the form of PDF files, which I can not open as they come out all mixed write a cross etc I don't know how open them I have 2007 microsoft office word and excellent, thanks

    Cannot display PDF files

    You must install a PDF reader to open and view PDF files.
    Are two of the most popular to install Acrobat Reader or Foxit Reader - so you will be able to view the PDF files.

    Both are free:
    http://get.Adobe.com/reader
    http://www.foxitsoftware.com/PDF/reader

  • What is the correct syntax to a PDF form file name in the subject line of an e-mail. Doc Javascript?

    The name of the file is not part of any form field. The name of the file will be also unique whenever the form is used. I also want the name of the file that will be followed by the expression 'evidence' returned by the customer, as in:

    Topic: Proof of Papa Murphys SALEM 8 - 30.pdf returned by the customer

    Here is my existing script, but I need to know the syntax to get the PDF file name added in the subject line.

    this.mailDoc ({bUI: true, cTo: "[email protected]", bassujetti: "proof returned by the customer", CMSG: "attached is the signed evidence.}) Please send to the graphics dept '});

    I'm not very familiar with Javascript so have tried to reconstitute it.

    Unfortunately, there is only so much you can google to get a working solution, I would suggest that you get at least a little familiar with JavaScript (there are a lot of good tutorials and books available). If you want an introduction to Acrobat JavaScript, have a look here: Beginning JavaScript for Adobe Acrobat

    There is a property of the document object that returns the name of the file. You can read the property of Doc.documentFileName here: DC Acrobat SDK Documentation

    In the simplest implementation, you can use this to enter the file name in the subject line:

    this.mailDoc({bUI: true, cTo: "[email protected]", cSubject: this.documentFileName,  cMsg: "Attached is the signed proof. Please forward to the graphics dept"});
    

    If you want to add more information that just the file name, you will need to assemble your subject line by using variable elements and string constants. Something like this works:

    this.mailDoc({bUI: true, cTo: "[email protected]", cSubject: "The filename is " + this.documentFileName,  cMsg: "Attached is the signed proof. Please forward to the graphics dept"});
    
  • PDF form: error message on the button to submit the form

    Hi all

    Has joined the forum late last night (late midnight) and I am so grateful for the quick response from many of you

    the questions on the forms PDF which gave me mouth hanging open.

    Here are my recent puzzle:
    Why I get a "this operation is not allowed" when I have my button submit the test form?

    I'm after a video from You Tube to the T:

    All properties > Actions > Mouse Up > Sumbit form > Add: mailto: [email protected] > PDF of the entire Document > OK
    Then I'm saving the document with the new version, opening name to the test drive since my clients will not have Acrobat Pro.

    and several times, continue to receive the error message. And the strange thing is that on previous versions, I'm sure I had it working

    properly at a given time.

    Any help much appreciated.

    It will do when you use a version of the player before 11 reader if the document is not compatible drive. When you send the complete PDF file, it should be saved first, something only 10 player and front normally cannot do. Acrobat and Reader 11/DC do not have this restriction, so that they are able to submit complete PDF forms that have not been activated drive.

  • Problems using the tools of accessibility on PDF interactive with complex tables and fields in form (in AcroDC)

    Hello

    Although I worked earlier in the accessibility check (will be abbreviated as "axs" later) before using the Checker axs documents, what he used Windows and Acrobat XI a year ago. I am now responsible for creating interactive forms that are available on a Mac (platform I prefer), that have been designed only visually in InDesign, then transferred in Acrobat X or XI where someone placed the form fields and then handed to me to settle the tab for end-users order and make them accessible to people with disabilities (Government org). Problem is, some of these documents are extremely dense arrays, in which each cell of the table is a checkbox or a radio button I have several questions:

    (1) the order of reading has something to do with the tab order? (I spent hours to get the tab order works the way it should and do not know if by clicking any axs tool that will change and cancel all my work.)

    (2) I need to mark an entire page, more or less, as a table but when I am in reading of editing tool (TURO), I get the crosshairs of hanging around that object, but when I go to playback control panel, and then click Table, everything is deselected and nothing else happens. My goal is to get to the table to label the lines headings and column editor, etc. What is going on? What I have to do all this in the Panel tags instead?

    (3) in the Panel tags, I see a table with 30 lines, which is what I have visually, but when I select the TRs and TDs nothing gets selected on the form, so I don't know how to get the content of the form "in" these TDs... it is a very complicated document and I'm getting confused. " Not a lot of experts out there on Axs AND Acrobat DC dealing with this and I'm frustrated! There's a guy on Lynda.com including videos watched re: similar topics, but in his case, he got a table which is just text and it is small, and his method is by selecting each cell of the table with the cross and he the tags labeling a 'cell', and then go in the Panel and work on the appropriate type / # Table elements slide autour stuff in the appropriate lines etc. My picture has lines 30 and 13 columns, and approaching the fields of interactive form in most of the cells... This is not practical, but do not know if there is a quick/accurate way to get the table recognized otherwise?

    Any help is appreciated...

    Sorry,

    Very frustrated

    Yes, treating large complex tables can be the chore of accessibility PDF much time and frustrating. First question - these tables of data or layout tables? Several forms are organized visually using layout tables, but do not really present data organized in rows and columns. Marking this content in a table would be run against failure condition Matterhorn Protocol 15-004, "content is marked as a table of information that is not organized in rows and columns. Instead, work in the Tags pane, drag all the elements of content out of the structure of the table and re-tag/organize according to the needs. The Suite of PDF/UA reference has an example of form (document 10) that you can refer to-although its layout tables is relatively low. A simple structure, detroit forward should be easier to fix at a large table and also easier for a user to read assistive technology.

    However, if these are legitimate data tables... I find the reading pane to be worse than useless. The Tags pane sets the reading order for assistive technology. Something that I find useful is to break down a complex table into manageable pieces, clean up the subtables can recombine. You can also consider assessing NetCentric CommonLook - I do not use it, but it has a good reputation for working with arrays. I don't think it's available for Mac, however.

  • Adobe Acrobat Professional DC: create a PDF file and prepare the form

    Hello!

    I would like to confirm if, in order to create a form, then start with the option 'create PDF', then we can create all the static text in our form, such as: name; Address; Phone number. Then we go to the 'form of preparation' and use this document already created and adds the editable fields where our user can add its data (for example, John; Street X; (303 303 303). At first glance, I thought that it would be possible to do this 2 components together, but now I think that it is divided into two parts. Is this true?

    If this is true, I have a 2nd question:

    How can modify us a final PDF with editable fields already created? We can download and all fields are left in their properties?

    Thank you!

    Ines, Lisbon, Portugal.

    Hi inesgui,

    You can create a form from scratch on Acrobat Pro DC or can download the PDF file and then use 'Prepare the form' to create fields to fill out.

    You can also add text when the form is created using Edit PDF under the tool menu.

    Let me know if you have any problem with him.

    Kind regards

    Meenakshi

  • I'm on Windows 10. A works fine until the update. How can I make Adobe Acrobat Reader (free verision) my default DC? Seems that the default value is E pdf and when I change the default in the flashes of screen reader and forms are in the same format. I ha

    I'm on Windows 10. A works fine until the update. How can I make Adobe Acrobat Reader (free verision) my default DC? Seems that the default value is E pdf and when I change the default in the flashes of screen reader and forms are in the same format. I rather Acrobat format if possible. Thank you

    Hello

    Could a right click on the PDF file > open with > choose program by default and select CD player as default PDF Viewer.

    You can do it from the control panel as well.

    This would make CD player as default PDF Viewer.

    Concerning

    Sukrit diallo

  • PDF does not print the data entered in the form fillable

    I created an editable pdf that I want to use to fill out a form, save in their own car, change it again, then print it and send it in.

    I followed the instructions for the readers extended, activate additional features - and can see the data entered after registration on behalf of the new and once again. But I can not print the data. The form prints as a form empty with graphics and all - I see the data on the screen, but the form prints without the data. Help!  I use Acrobat X, Mac 10.1.14

    I print on this basis, Acrobat Reader and preview and print all blank with data on the screen.

    It could be that the fields are set on "Visible but does not print. Check the "form field:" drop-down list under the general tab of the dialog box properties field to see what it is defined. If it's not her, can you post a sample PDF file somewhere?

  • problems sending the form PDF

    Hello

    I had a problem:

    Trying ad an email button in a form using live cycle 4 on windows.

    It works al fine presentation XML, but won't work for PDF.

    I used all variants (common button, email button, add java script behind the button) it works with XML, but not with the PDF...

    Annyone can help?

    Use Acrobat:

    Attach copy of your form filled in an e-mail to first add the form usage rights.

    You can add these rights with Acrobat XI under file > save as other > Reader Extended PDF > activate tools more.

    or

    You can add these rights with Acrobat X (mac) under file > save as other > Reader Extended PDF > additional features allow

  • How to edit pdf file (in indesign) without having to re-export then and redo all the fields of the form and formatting?

    How to edit pdf file (in indesign) without having to re-export then and redo all the fields of the form and formatting?

    Edit PDF files in InDesign is not a good idea. If the file was originally exported ID, then change the original and then create a new PDF file.

    Open an old, and then use the command replace Pages to insert the new pages on the 'old'. The fields that you have already created will remain in place when you do this.

  • Steps: we received the file in PDF format and has been invited to modify the form.

    Steps: we received the file in PDF format and has been invited to modify the form.


    My colleague edited in Livecycle es4.


    When we sent the document to them, they asked to have the title marked as H1, as it is currently labeled as content.


    In live cycle, unknowledgable about how we change it.


    We then took the file is saved as a word document in their exported to PDF via adobe DC


    my changes and referred.


    Once they have received the file they are unable to put anything (all data in the document where it will also prompt) using the player



    We are not writing this on the central computer, but that's what we have...



    Acrobat reader ix 11.0


    Adobe live cycle ss4 11.0



    Thank you...

    It is urgent need please reply as soon as possible

    Hi barbarac80529448,

    Please see this KB doc. helps LiveCycle | Working with the forms, it might help you in the installation of PDF form in Adobe LiveCycle.

    Kind regards

    Nicos

Maybe you are looking for

  • Re: Is it possible to completely recover VistaOS using only the recovery DVDs?

    Hidden WinRE partition has been deleted by mistake, but I still have the original recovery DVD for my A200.Is it possible to completely recover VistaOS without the WinRE partition, using only the recovery DVDs?

  • Satellite L305-S5919 - keys just stop working

    I have a Satellite L305 - S5919 & first my ESC, Q, 4 keys stopped working.I've only had it for 4 months what has happened. Does anyone know why these keys would simply stop working all of a sudden & I could do about it? I called Toshiba support & the

  • Invalid claims VCCO level LabVIEW module IO

    On my PC the module IO of our company and the module NOR 6581 appear correctly in the dialog box properties of Module e/s. On our PXI machine in the lab, LabVIEW complains that both modules have specified invalid VCCO levels (probably in the .tbc) I

  • Photosmart HP 7520: Cannot scan to printer

    I was able to scan up to today.  Try to scan to the computer and not give me the option for the photo or document.  He gave me the option once it has scanned the PC, and I had chose PDF and it only would give me the JPG.  It scanned the Microsoft Sca

  • ISO image available only in Korean language?

    I am trying to download the ISO image of Windows 7, but when I enter my product key I am only offered a Korean language version.  I have checked & re-checked and the key has been entered correctly.  Everyone knows this? It is a 64-bit version upgrade