Programmatically submitting XDP format

I am attempting to programmatically submit a form in the XDP format with the PDF embedded. I can make the submit work fine but resulting XML received on the web page is empty. If I change the format to XML instead of XDP the resulting XML contains my data fields but the XML format cannot contain the embedded PDF.
I am using the ready:layout event to call the execEvent("click") for a submit button.
Am I scripting within the wrong event?

There is a scripting editor that is hidden by default. To open it you can click on the Window menu and choose the Script Editor or you can hit Ctrl-Shift-F5 and the script editor pod will appear. To script against an object - highlight the object, choose the Language you want to script with (Javascript or FormCalc - FormCalc is default), choose the Run At option (server or client - client is default)and then the event you want to program against (under the Show dropdown). Different types of objects will have different events available. Once code exists under an event an * will appear next to the event showing you that there is code behind that event.

Similar Messages

  • Conversion of IFD to XDP Format

    I have got a IFD file which I want to convert into XDP format.I know there is a utility called ConverIFD.exe provided in Adobe Livecycle Designer.But its not working, it is prompting with an error that Adobe Output Designer need to be installed.Is there any other way to convert the IFD to XDP format.
    Any one who can help me in this. Thanks

    You must have Adobe Output Designer installed (5.5 version at a minimum). The ConvertIFD.exe actually uses the Adobe Output Designer program to do the conversion.
    You should also be aware that there is a known issue with older versions of Adobe LiveCycle Designer when you have Output Designer 5.6 installed. You will need to install Output Designer 5.5 if you are using a version of LC Designer that predates LiveCycle Output ES (i.e. 8.1.x).

  • How to convert pdf file to xdp format in Live Cycle Designer

    Hi Guys..
                   I am looking to convert a pdf file into xdp for further processing.
    I try to convert it in Adobe Live Cycle Designer.. but no success..
    I changed the options under tools menu - Default file type for new forms into XDP.. still I cant save the file as XDP..
    Anyone know how to do it..
    Cheers

    Where is that PDF coming from?
    You might have to import it and the New Form Assistant will convert it to an XDP.
    When you load it in Designer, do you get the New Form Assistant? What version of LiveCycle Designer are you using?
    Jasmin

  • Problem submitting PDF via HTTPS

    I'm an Adobe Acrobat newbie, and am having issues submitting a PDF form to an HTTPS server.  My basic setup is as follows:
    1)  PDF Form with one text field and a single submit button pointing to a https URL.  The button submits in the XDP format.
    2)  A server which can only be accessed through SSL and has a valid SSL certificate
    I get the following error when I hit the submit button in Adobe Reader 9:
    "An error has occurred during the submit process.  The server has an invalid SSL certificate."
    I tried the following:
    1)  Adding the SSL certificate to the Manage Trusted Identities, and pressing the submit button.  Same error.
    2)  After installing the certificate, going to Edit -> Preferences -> Security -> Advanced Preferences, and checking the box for Enable searching the Windows Certificate store for certificates other than your own.  Same error.
    I've tested the servlet by posting through a .NET application and it works fine. Am I missing something here?

    I've fixed this problem.  Turns out my windows certificate store didn't have the Root certificate for my website added in it.  I just found the root certificate online and installed it into the "Trusted Root Certification Authorities" store in windows.  I then went to Edit -> Preferences -> Security -> Advanced Preferences, and checked the box for Enable searching the Windows Certificate store.  Works like a charm now.

  • R12 - Format Payment Instructions errors (AP check printing)

    Hi,
    When I create payments with payments manager on R12.1.2, the process always fails when it's submitted to format and print.
    It uses seeded oracle check templates, and the Format Payment Instructions conc. prg which fails.
    log file says:
    oracle.xdo.parser.v2.XMLParseException: PI with the name 'xml' can occur only in the beginning of the document.
    I already tried with an empty template as well, but didn't help.
    Does anyone have any ideas what could cause this?
    Thanks,
    Attila

    What did you do for the Custom payment formats ? Did you convert them as XML publisher as per Note id 562806.1 ? We are even upgrading to R12.1.2 and the Payments error out in the Formatting stage. If you can share the information, it will be helpful to us.
    Thanks,
    Ashok
    Edited by: user12253554 on Mar 4, 2010 7:15 AM

  • Including pdf uri when emailing xdp data

    I'm trying to create an e-mail button which e-mails the xdp data along with a reference to the associated pdf.
    The XML Forms Architecture Specification (3.1) says the following about the submit element:
    function(){return A.apply(null,[this].concat($A(arguments)))}
    The embedPDF property
    0 [default] = The associated PDF document is not embedded in the XDP PDF packet; rather, a URI is optionally
    provided. The URI must resolve to a PDF resource of MIME type pdf. The URI is the value of the
    href attribute in the XDP PDF packet. The URI may be obtained from the XFDF F-key path, which
    is relative to the system on which the original PDF file was created. If the URI is unavailable, neither
    the PDF itself nor a URI is included in the PDF packet in the submitted XDP.
    The way I interpret it is that when Reader exports the xdp data to the e-mail application, it inserts the value of the xfdf-snippets f-tag into the xdp data's <pdf href=""> tag. So I went ahead and added (in bold):
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">
       <f href="http://server/populate_me.pdf"/>
       <annots/>
    </xfdf>
    Needless to say I won't work. Upon filling out the form in Reader and clicking the e-mail button, the reference I'm getting in the exported xdp is:
    <pdf href="populate_me.pdf" xmlns="http://ns.adobe.com/xdp/pdf/"/>
    (what I want is <pdf href="http://server/populate_me.pdf" xmlns="http://ns.adobe.com/xdp/pdf/"/> )
    I'd really appreciate some advice.

    I believe the ability to create an XDP email attachment that would fetch the form was removed after Reader 9. It might have been for security reasons.
    If you or someone else finds the answer to this one, I would appreciate it if you/they could send it to me.
    In designer, we're using a button containing the following xml:
                <event activity="click">
                   <submit textEncoding="UTF-8" xdpContent="pdf datasets xfdf xdp" target="mailto:"/>
                </event>
    It used to work fine if the form that created the email attachment generated it while the Reader plugin was inside the browser window at the time the email was created.
    Is the form at least populating the subject field of the email with the uri? Ours is, using the code above.

  • How can I export formatted text from a string indicator?

    Does someone know how I can export formatted text (i.e., parts of the text have different formatting, such as color, fontsize, etc.) from a string indicator? Using copy/paste does not work, as it only exports unformatted plain text.

    Hello Sparti,
        Thank you for your suggestions, they are all very useful, and I plan to use the HTML feature under Report Generation to export the formatted text from Labview. However, I am still not sure how I can extract the formatted text from a *string indicator* and transfer it to one of those VIs, so that it can be exported to other applications. Let me give some more specific info on what I am trying to achieve:  I am monitoring the communication between two pieces of equipment. A string indicator shows all the data flow, with different colors for data coming from different instruments. I managed to do that by using a property node and playing with the selection and font color properties. Now, if you just wire the output of the string indicator, the formatting is gone and all you get is just plain black text (for instance, try to programmatically transfer the formatted text from one string indicator to a different string indicator and you will see that the formatting is not preserved). Even if you try the "brute force" method of manually selecting and copying the text in the indicator and pasting it to Word, LV does not export the formatting. But, if you paste *within*  LV (for example, paste it to a string constant in your diagram), then it works. To extract the formatted string from the indicator, I also tried to use a property node, but without success. I am trying to avoid duplicating part of my code to generate the same color-coding scheme on a report. It would be way easier to be able to transfer the formatted text from the string indicator. This is particularly annoying, because the information is there, stored in the data structure associated with the string indicator. But how can I put my hands on it? Any ideas?

  • How to import an xdp-File to Web Dynpro Interactive Forms

    Hi Experts
    I am working with Web Dynpro and Interactive Form. With Adobe Lifecycle Designer I do an import of an MS Word-Document and convert it to the XDP-Format. How do I import this XDP-File into an Interactive Form inside Web Dynpro? The form shouldn't be created with Web Dynpro. So far, what I did was creating an empty form from within Web Dynpro and overwriting it with my xdp-File. But this doesn't seem to be a secure and robust solution. Do you have any suggestions?
    Thanks for helping
    Kind regards
    Bettina Hepp

    Hi Bettina,
    I can understand what problem you are facing.
    Please follow these steps and let me know if it has solved your problem or not
    1. Open the XDP file in Adobe Life Cycle Designer and go to File Menu ->Save As ->
    Save the file as PDF.
    2. NWDS Webdynpro Edit the interactive form and now you can import the same PDF file.
    This will solve your problem and let me know if you are facing any other issue.
    Cheers
    Satya

  • No parameter view when running "Format Payment Instructions" conc prog

    Hello everyone. When submitting the Format Payment Instructions program (when making a payment) I am not asked for any parameters. Previously the program would ask for parameters. Does anyone have any idea why this is happening and what to do about it? Please help.
    Thanks

    Hi,
    It is a memory or buffer related problem. Contact your BASIS.
    Looks like there is a shortage of space. Analyse the dump in ST22 and look for its proposals.
    OSS note 965351 might be applicable (if you are on 640/ unix).
    regards,
    NR

  • How to make changes in Format Payment Instructions Program in Payables

    Dear All,
    My requirement is to make changes in the Check Priting Template. When i do payment thru payments screen, then in view requests "Format Payment Instructions" Program was submitted.
    "Format Payment Instuctions" Program is having executable as "Java COncurrent Program".
    In Payment Administrator I have got the " Payment Process Profile". In this Profile Format "Laser Check FOrmat " is attached.
    From this java file how can i get the all xml tags which are used in "Laser Check Format".
    Now i want to get the list of all xml tags , how can i do that.
    Please help me.....
    Thanks in advacne
    SHeetal Mittal

    http://ora12apps.blogspot.com/
    Creating AP Checks in Oracle R12

  • Populating Existing PDF with XDP data

    I have a fill-in PDF that, in years past, used a simple XFDF file to populate. Using VS.NET 2010 I read in the XFDF document and populate all the necessary information and populate the PDF using ds.WriteXML(XFDFName). The PDF gets populated and it gets displayed in a simple WinForm app. This has worked like a champ for a few years now. Until now...
    This year, the problem I have run into is I was unable to export the data to an XFDF format due to the file having been created in Adobe LiveCycle. I noticed that the export options were either (1) XML or (2) XDP. In the past I'd been able to export to XFDF. No big deal I thought, just another format. However, I have been struggling with both of these options. After some deliberating I decided to use the XDP format.
    I have the dataset built with all of the information I need, I am receiving an error when opening the newly created XDP using Process.Start(XDPName). Reader opens and I am greeted with the following error: "Adobe Reader could not open 'GUID_HERE.xdp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."
    I tried using a straight up href to the PDF (<pdf href="FillMeIn.pdf" xmlns="http://ns.adobe.com/xdp/pdf/">), but opted to stick the PDF in the XDP in the <chunk> section.
    This XDP file looks like this (thanks stack overflow):
    <?xml version='1.0' encoding='UTF-8'?>
    <?xfa generator='AdobeDesigner_V7.0' APIVersion='2.2.4333.0'?>
    <xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'>
        <xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'>
            <xfa:data>
                   XML is here - matching the dynamic fields in the PDF.
            </xfa:data>
        </xfa:datasets>
        <pdf xmlns=\"http://ns.adobe.com/xdp/pdf/\"><document>
           <chunk>
                        Base64 encoded PDF.
            </chunk>
        </document></pdf>
    </xdp:xdp>
    I would think the XDP I'm generating is bogus - but to further complicate things - if I open Reader click Tools > Forms > More Form Options > Manage Form Data > Import Data and choose the XDP file that I've generated, all the fields are populated as I expect them to be.
    So basically, there is obviously a disconnect somewhere. I have a XDP file with all the information in it I need. I have a PDF form that I need to populate with the XDP. But when I fire up the XDP Reader is telling me it's broken/not supported. As I understand it, when you launch an XDP file it should properly launch/populate using Reader, correct?
    Any information would help me out immensely. Thanks.

    Was the form you are trying to import this data to created with LiveCycle Designer?
    I would fill in the form then export the data to XDP and see what the differences are.

  • Error opening xdp form

    Hi,
    Can anyone tell me how to create/save a XDP form in LiveCycle Designer. I created a Form in the Designer and saved it as Test.xdp, but when I open I am getting the error message "Unable to locate the form, because the XFA data lacks a reference to the PDF document. If the data came back as a result of a submit from a PDF form, then the URL is probably missing "#FDF" at the end."
    Thanks,
    Pavan

    The XDP format is a native XML format for the template and is intended for Designer. If you want to create a usable form out of it you would save it as a PDF (out of Designer). That will cause Designer to interpret the XDP and make a PDF for you to use. Now the PDF is usable by both Reader and Acrobat.
    Paul

  • Keeping .xdp docs to DB and convert them run-time to .pdfs? Is it possible?

    We need to keep the LiveCycle documents in .xdp format and to visualize them run time at client work space with Acrobat Reader.
    Is it enough to use only LiveCycle Designer Enterprise Suite for this goal or we have to use a combination of Adobe LiveCycle Designerand "Adobe InDesign CS3 SDK", "PDF Library SDK or any other component model? Or may be you can offer any other solution?

    Converting xdp to pdf at run time requires the Adobe LiveCycle ES Forms service.

  • Possible to decode base64 document contents to XDP?

    Hi,
    As the title says, is it possible to decode the base64-encoded contents of my PDF back to an XDP format?
    Using this JavaScript SOAP.stringFromStream(SOAP.streamEncode(Collab.documentToStream(event.target), "base64")); I am able to submit the base64 encoded PDF document to my server side for processing. Is there any way to convert this back to XDP format at this stage?
    Thanks,
    Ray

    Maybe someone might have a few ideas on how I can approach my problem so.
    My web application maintains session info of any logged in users. One of the attributes of the session is a "securityToken".
    When the user clicks a button on the PDF within my web application, a Web Service call is made. However, I need to get the securityToken into this Web Service call. This securityToken isn't something that the user should be manually entering.
    Can anyone think of any possible solution to solve this problem?
    Thanks,
    Ray.

  • Adobe InDesign File to Adobe XDP File

    Our enterprise leverages XDP Templates to create PDF Forms.
    We have a branch of business that is coming onto to our enterprise standard, but they currently leverage InDesign to build their PDF documents.
    Does InDesign have functionality to export to XDP Format for Adobe Designer?
    I do not want to export to PDF then reconvert into XDP. What type of XDP support if any is there with InDesign?

    Cory, Dov is a high mucky-muck of stuff at Adobe (click on his name for more info). Reading between the lines, it sounds like he's saying
    We're working on it. CS4 is due to be released sometime in the next year or so, and it wouldn't surprise me if it supports the Export to XDP function. But I could be wrong....

Maybe you are looking for