Storing XFA forms in content space

I've recently begun playing with ContentSpace and am now finding it difficult to store an XFA form from and ES process in a ContentSpace space. I probably just missed a basic thing, but here's what I have:
I have an XfaForm variable in my process that contains a populated form (the user completed it earlier in the process). I now use the storeContent service to store the form into the repository using my XfaForm variable as the NodeContent.
When validating the process it seems that LC finds it difficult to assign the content type of my XfaForm variable. I get the message WBP-036 Unable to coerce blah blah.
Any idea what I'm doing wrong?

The xfaForm variable is really just a pointer to and XDP in the repository and the data submitted by the user when they hit submit.
That being said the Node Content parameter of the storeContent operation needs a variable of type 'document'. The variable of type 'document' can contain pretty much anything.
If you want to store the data that was submitted by the user you can use a setValue to assign the data of the xfaForm variable to a document variable (ex. /process_data/@myDocVar = /process_data/xfaForm/object/datasets/data). This would store the xml data in Content Space.
If you want to save the entire PDF you have two options. You make sure the form submits the entire PDF, in which case you need to use a different variable type (other than xfaForm) since it can only hold xml. You would use a Document Form variable type.
The other option is to render the PDF on the server using renderPDFForm with the xml data submitted by the user. Once the pdf is created, pass that to the storeContent operation.
Jasmin

Similar Messages

  • LiveCycle ES4 - XFA forms, expandable tables and columnar layout

    Hi,
    We are using LiveCycle ES4 and XFA forms to bind XML to the PDF. I am having trouble with a particular layout however:
    I have two tables.
    The number of rows expand depending on the XML data.
    I want to print the tables side-by-side in a newspaper like columnar format.
    If I add them using a flowed sub form and make the sub form just high enough they display side by side, which is how I want it. It all works well as long as there is no page break. However, when the left table expands onto a new page the start of right table is moved to next page as well, leaving a big empty space on the right on the previous page.
    If I change the contents of the sub form to positioned instead of flowed then the tables seem to behave correctly, but then the header row does not repeat after each page break, and the check boxes to enable "Include header row in subsequent pages" on the header row is disabled. This only becomes available if I make the sub form flowed instead of positioned.
    I am stuck between a rock and a hard place. Why can't I enable "Include header row in subsequent pages" on positioned tables? Can someone suggest an alternative method perhaps? Note that there are other non-columnar sub forms as well so I cannot use columnar master page content areas, unless I understand master pages wrong.
    Any help will be greatly appreciated!
    Jako

    Hi Sara,
    1) The first problem is because you did not set the Page content direction to "Flowed". Once the Page's Content property is set is flowed, your problem should be resolved.
    2) You can always make a section visible or hidden by scripting. Use code :
                   subform.presence = "visible";
                             or
                   subform.presence = "hidden";
    Thanks,
    VJ

  • Import/Export xml data from subtree of dynamic XFA form

    Hi
    We would like to import/export xml data (subtree) of a dynamic xfa form. The following script does only work with static AcroForms:
    formular.content.subformDaten.Button1[1]::click - (JavaScript, client)
    event.target.exportAsXFDF({aFields:["formular[0].content[0].subformDaten[0]"]});
    With dynamic forms the script does export an empty xml file (no data is included, only xml root tag):
    <?xml version="1.0" encoding="UTF-8"?>
    <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"
    ><f href="ExportTest_frei.pdf"
    /><ids original="EA43F92A6B6EA34F9C4DBBC2DA0B1840" modified="6A7C6282A167594F91240B773AA979A7"
    /></xfdf
    >
    Any ideas? Many thanks.
    Best regards,
    Daniel

    Hi Paul
    The Problem that Daniel posted was originally mine. Now after subscribing to this forum myself, I try to describe the aim of using exportAsXFDF/importAnXFDF.
    exportData("", false) and exportXFAData works, in my opinion, only with a DataConnection. In my form I have indeed such a connection for sending the whole form. But in addition I need the possibility to export and import only part of the data without overwriting the rest of the filled form.
    exportAsXFDF works with static forms. So there MUST be a possibility that works with dynamic forms, right?
    I hope anyone has a solution.
    Beat

  • When will Adobe Reader for iOS support Livecycle XFA forms?

    Adobe Reader for iOS currently does not appear to support XFA forms created through Livecycle. Although it supports some field types, the HTTP submit and Email submit buttons don't work.
    Being able to email the completed form ready for someone else to submit would be a work around, however when attempting to 'share' a completed form and send it by email the form is blank when saved and opened in the desktop version of Adobe Reader on a PC.
    We are getting more and more requests from ipad users who wish to use our forms, and it seems that some other paid-for apps claim to support this. Seeing as Adobe Reader is the industry standard product for using PDFs could we have more support for pdf forms please?
    ...or at the very least, a product roadmap with some dates for when this might be available please?

    There are two basic varieties of LiveCycle XFA...Static XFA and Dynamic XFA, which are very different in terms of their future for potential support in Adobe Reader for iOS. Which variety of XFA are you using?
    Static XFA uses the PDF markup language for content and form fields, so users can view the documents in Adobe Reader for iOS, but we currently do not properly handle filling, saving, and submitting those forms. I have improving our handling of Static XFA on my roadmap, but cannot offer any specific date yet (sorry, policy plus actual uncertainty). I know that there are some other apps that partially support Static XFA, though I do not know how complete their support is. If you can even open the XFA document in Adobe Reader for iOS, it is likely Static XFA.
    Dynamic XFA is effectively a JavaScript application packaged inside a PDF wrapper, which generates layout and form fields via code and requires a significant engine to support this. Support for Dynamic XFA is unfortunately not currently on our roadmap for iOS due to the nature of the technology, and our concern that any implementation we try likely will not pass Apple's restriction against installing something that allows other "apps" to be downloaded and executed from within it. The LiveCycle team is exploring solutions for our enterprise customers wanting to use Dynamic XFA from mobile devices as part of their server offering, but I cannot offer any insight here. To my knowledge, there are no applications that handle Dynamic XFA other than Adobe Reader for the desktop platforms (Windows, Mac, Linux).
    Dennis

  • How can i generate a pdf with an XFA form input ?

    I am creating a process, in which xfa form variable flows through workflow. When i use any solution components like Reader Extension, Content Management....it needs pdf as input.....so i need to convert xfa form variable into pdf ....i am not able to do that .....can u please suggest any solution in description........
    Thanks in Advance....

    Hi,
    For details on input/output of RenderPDFForm operation. Please refer to
    http://livedocs.adobe.com/livecycle/8.2/wb_help/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=Workbench_ES&file=000614.html#1552381
    You can also use Render PDF Form process for the same.
    http://livedocs.adobe.com/livecycle/8.2/wb_help/wwhelp/wwhimpl/common/html/wwhelp.htm?cont ext=Workbench_ES&file=000686.html
    Thanks

  • XML forms based content authoring

    Hi All,
    I was wondering if UCM suite provides any XML forms based authoring as provided by many other Web Content Management product suites OR Site Studio or Site Builder are the only ways to create the content?
    What exactly I am looking for is the very conventional way of creating content using XML forms based templates and then applying XSLT to it to generate the output in desired format.
    Please let me know if any one know about this or will be helpful if somebody can provide pointers on this.
    Thanks-
    Sahil

    UCM provides Web Forms functionality. Take a look at Web Form Editor - the component to Oracle Content Server.
    Web Form templates can be visualy designed using Web Form Editor.
    When user fills in and submits designed and published web form, new content item is created - a form with the data. Data is stored as XML document and can be passed through the workflow for aprove process or integration into back office systems.

  • Dynamic xfa form - digital signature becomes invalid

    Greetings forum,
    I have question regarding dynamic xfa forms and hope, that you can help me.
    I filled a pdf form based on a dynamic xfa form (with extended rights for Reader user) using iText. When the content of the PDF is changed, the digital signature becomes unvalid, so that the rights are no longer vaild.
    Therefore Adobe Reader (9.0) does not save the PDF. I get the following error message:
    "This document contained certain rights to enable special features in  Adobe Reader. The document has been changed since it was created and these rights are  no longer valid. Please contact the author for the original version of this document."
    I tried the following workaround with itext:
    PdfStamper stamper = new PdfStamper(reader, new FileOutputStream(RESULT), '\0', true);
    (http://1t3xt.info/tutorials/faq.php?branch=faq.itext&node=enabled_form),
    but I doesn't seem to work.
    As a result, the rights are valid but the content of the PDF wasn't changed.
    Is there any workaround for that or does it only work static xfa forms/acroforms?
    Many thanks for you support!
    Irina2000

    Sounds like you tried to fill in a form using Acrobat without the form feature use. Actually iText from what I can see is not using Acrobat, but a third party product. To fill in the form, you simply use the hand tool to move over a form field where the tool will change to an Ibeam or similar pointer tool. Select the field and type in the data. That should not make any changes to the PDF in the sense that has been stated. I have no clue where iText comes into the picture.

  • Is there a way to Update and SaveAs, an XFA form using VBA or similar ?

    All:
    Need help to auto-fill and auto-save PDFs using VBA or some other means.
    I have created an XFA form using LiveCycle ES ( v8 ) with a few fields.
    What I need to do is repeat these steps below for 200+ PDF forms
    Open the blank PDF form
    Update 3 fields
    Save the PDF with a new name
    My Excel VBA code so far ( ** Copied from another post ) where dFile = "C:\temp.pdf" and dAccount = "Any Account"
    Sub rxOpenPDF_UpdateFields(dFile, dAccount )
        Dim pdfApp As Acrobat.AcroApp, pdfPDDoc As Acrobat.AcroPDDoc, jso As Object
        Dim str1$, bolOpen As Boolean, strFile$
        Set pdfApp = CreateObject("AcroExch.App")
        Set pdfPDDoc = CreateObject("AcroExch.PDDoc")
        bolOpen = pdfPDDoc.Open(dFile)
        Set jso = pdfPDDoc.GetJSObject
        str1 = jso.getfield("Account_Name").Value ' Will appreciate if there is a way to set a field value
        pdfApp.Exit
        Set pdfApp = Nothing
        Set pdfPDDoc = nothing
        Set jso = Nothing
    End Sub
    Excel VBA is shutting down ( cannot recover ) when it runs the pdfPDDoc.Open statement
    Any help will be very appreciated
    Aubrey
    I am on Windows XP,
    In VBA, I have created Tool References to [Adobe Acrobat 9.0 Type Library]
    Downloaded the Acrobat v9 SDK but am lost trying to locate any help for simple VBA.

    lrosenth,
    Would I be able to Update & SaveAs with a newer version of LiveCycle ( does Adobe still have a LiveCycle line ) ?
    I was looking at InDesign but am not sure if it has the functionality that I need ( i.e. create multiple forms from an Excel list)
    .. also am unsure of the learning curve.
    Aubrey

  • Xfa form type not available

    I dont see xfa form in the 'Type' dropdown when i try to create a new variable..
    Can anyone help me ...

    The easiest way is to re-run Configuration Manager, and deploy components. Make sure that you select Process Management when you installed LiveCycle, otherwise the Task Manager component won't be included.<br /><br />You can also drag-drop the component from the file system directly into the Components view in WorkBench. You'll find all components in:<br /><adobeInstallDir/deploy. However, there are dependencies between components, so it's generally safer to use Configuration Manager.<br />Howard<br />http://www.avoka.com

  • Failed export to Excel PDF files contain XFA forms cannot save in specified format

    Has this excercise been a waste in time and money. Like my car I will put petrol oil water and air where they need to go but don't care how they make the car work as long as it goes

    Converting forms to fill them in is never a good idea; if they are official forms it can be a catastrophe. Keep the forms as PDF, don't convert.
    XFA forms are ALREADY FILLABLE. If you can't fill it there is a fault.

  • What product we need on the server to pre-populate XFA form created using LiveCycle Designer?

    We run our web applications on IBM Lotus Notes/Domino server (Version 8.5.3). I need to figure out what is that specific server component that we need to install on our server just to pre-populate data on to the XFA forms. (We don't need to merge PDF files, or attach any workflow, or submit data entered in the XFA forms to any web server.)
    I understand that Adobe LiveCycle ES4 is a suite of products that does a lot more than what we need to do. So, in that suit of products which specific product is that we need to buy & install on our server that enables us to use java code to populate data on to the XFA forms. Also, will that server component work on IBM Lotus Notes/Domino server or is it only going to work on a J2EE server?
    I appreciate a response. Thanks.

    I am sorry, but I am still confused. Out of the following modules of Adobe LiveCycle, which one is that I need to do the filling of the PDF forms.
    Forms Standard and Pro
    Reader® Extensions
    Process Management
    ECM Connectors
    Correspondence Management
    Output
    PDF Generator
    Rights Management
    Digital Signatures
    Do I have to install the entire suite or just one of these will be enough for filling data?

  • Can't export a PDF with XFA form

    Cannot convert/export a PDF document containing an SFA form - can this program not do this?

    Hi Morin27,
    XFA forms are not regular PDF's but XML files in a PDF shell.
    To create a word file from those files, you first have to flatten the XFA forms by printing as PDF with the Adobe PDF Printer.
    Then you can save using ExportPDF the created static PDF as Word document.
    ~ Pranav

  • Help with xfa-form

    Hello,
    I am a developer (VB6 ASP),
    Please, I need to know, What I need to populate/read an xfa-form, that was created for another company.
    I do not know what is the tool that I need to investigate, or a component. (the pdf form it was created with liveCycle)
    The original empty pdf form is in xfa-form and I need fill in and the resulted file is delivered to another person that stamp digital signature,
    I can fill this pdf form manually with adobe reader 9, but i need this task programmatically.
    has any idea for this?
    Thank you in advance!
    (sorry for my english)
    Clarisa

    Thank you Hodmi!
    Another question, I new in adobe Technologies, and I am lost in the family of LiveCycle products,
    I need pre-populate the pdf that I have attached, xfa-form1.pdf
    for example,
    1- I download this pdf from an external site,
    2- I have to pre-populate with 2 Fields that I obtain from my Database,
    3- I embed this pdf file in aspx page(ASP.NET)
    4- the user 1 must put their signature.
    4- the user 2 must put their signature.
    End
    I saw code that manipulate programmatically .xdp files with pdf forms, but I do not know if I can manipulate this pdf that I have attached, please, could you help me, If in theory I Can do that?
    (I have to do with ASP.NET)
    Best Regards!
    Clarisa

  • Why can't I export a PDF containing XFA forms to a word doc?

    I have an application that I'm trying to export to a word doc, so I can save the modifications that I make. I get an error message that states that "PDF's containing XFA forms cannot be saved to this format" Can someone tell me what this means?

    I just have the reader, but I do have the capability to export and convert PDF's to either word or excel. I just checked the posting and it has to be mailed. I was just trying to save my work, but being that I have to literally mail it USPS, I will  have to print it off anyway. Thanks for your help. I guess if I had read the posting a little closer, I could of saved us some typing.

  • Emailing Your Own Attachment from an XFA Form

    Hello there
    Is there any way to send an email with an attachment from a XFA PDF created in designer?, where the attachment is not one of the "built-in" options (XML, pdf etc.).
    I want to be able to email the encrypted XML.
    If not, how can XML data be securely submitted?
    Many thanks

    That link contains the following:
    LiveCycle ES4 provides support for rendering XFA-based forms into HTML5 such that the forms can be opened in browsers with HTML5 support, including those running on mobile devices like iPad. The HTML5 rendition of the forms maintains the layout of the form design and supports most form logic (such as JavaScript, form calc, and form validations) embedded in the XFA form template. This way, your technology investments in XFA forms are carried over easily to devices where running of the Adobe Reader plugin is not feasible.
    Has anybody actually used this and, if so, what has been your experience? 

Maybe you are looking for

  • Writing/reading HTTP with plain sockets

    Hello, I�m trying to send an HTTP request and read response with a plain socket, not URLConnection. My code below is not working - bufferedReader.readLine() returns null. If I change to URLConnection everything works as expected. What is wrong in my

  • Please help urgently!!!! russian letters in request

    Hi peoples please help i put in request few parameters, but the values of these parameters are strings on russian language, so when i'm getting this parameters i can't properly get back values. how can i do this???

  • Problem in scene builder

    Hi; when i put a new control on the scene i get the warning: No injectable field found in FXML Controller class for the id chb what is the meaning of this warning and what is FXML controller and where to find it regards

  • Query regarding Radio Button

    Hi Guys,                In my selection screen I am giving 2 radio buttons. My requirement is I need a sy-date field beside one radio button. Is there any way to do this. Thanks in Advance, Prasad.

  • Copying/Moving new Motion 4 Templates from one computer to another

    I want to move added Motion Templates from my Mac Pro to my MacBook Pro to take on the road with me. These were originally created in Motion 3, I opened, converted and saved into Motion 4 and now need to copy them over. How do I do this accurately an