Dynamic Form bound to schema...

I have a form that is bound to an XSD schema. There is also quite a bit of dynamic content. ie: users can add a new row to a table.
My problem is that since it is bound, when the user adds new rows and enters data, the data in the same column of every row changes as well... since each column has the same binding.
Is there a way in the schema to represent dynamic content? eg. more than one instance of a particular subform. Or is there another way I can tackle this issue?
Thanks in advance.

Hi Steve!
1. If your Schema has a minoccurance and maxoccurance (e.g. maxoccurance=unbound)represented in the element, the LCD should make it work by itself.
2. If you didn't fulfill point one, try to add [*] at the end of the binding. e.g. default binding = PurchaseItem[*]
good luck!
Håkon

Similar Messages

  • How to create a dynamic form with bind variables :schema & :table_name

    My application has two LOV's, one to select a schema, and the next to select a table within that schema. I then have a button which passes me to a report which displays the data in that table.schema.
    I now want to create a link to a form where I can edit the record based on the rowid of that table.schema, but it doesn't appear that I can create a dynamic form where I pass the schema.table_name and rowid. Is this possible? Can anyone advise how I can do this? The form builder only wants a fixed schema/table name.
    Thanks in advance.
    Stuart.

    Hi Stuart,
    In this sort of situation, you will need to be a bit creative.
    I would suggest a pipeline function called as if it was a report.
    Then you can pipe out the required fields.
    Since you will have a variable number of fields, you could use two of the multi row field names for your field names and values.
    Then after submit, you can create your own procedure to loop through the fields (stored for you in the Apex package) and update the table as required.
    Not very specific I'm afraid, but it should work.
    Regards
    Michael

  • Dynamic tables with XML schema binding

    Hello,
    I'm currently fighting a strange issue dealing with a complex dynamic form. This form contains multiple dynamic tables to which the user may add new lines or delete lines that are no longer needed. This is being implemented using the instanceManager and works just fine.
    However, if I try to bind XML based data to this table, it looks like if rows added by the instance manager are always bound to the same record (they all contain identical values). The XML schema is correct, the issue also happens with sample XML data files.
    This seems to have something to do with the programatically added lines, but I have run out of ideas ... Can anyone provide some pointers?
    Thanks a million,
    Steffen.

    Thanks for the reply, Paul.
    I have the question about the schema,
    say i have a table like this:
    Item | Cost
    A   | 10.3
    B   | 21.1
    Total| 31.4
    and my schema is:
    so when I bind the table row should it be $.ItemTable[*].Item ?

  • Dynamic Form Data Duplication

    I'm working on my first dynamic form, and I'm having an issue where my dynamic subforms share the same data, so editing one subform updates all other subforms of the same type. The form is a tshirt order sheet, so, for example, there'll be a line for a specific brand of shirt, plus sizes. When another line is added, it'll duplicate all the info from the first line, and any changes made to the second line will be immediately mirrored in the first line. I have the fields bound to an XML schema I wrote, so I'm not sure if that may be causing the problem.

    Hi,
    You have not included the XML schema. However the issue is that the objects in the repeating row are bound to the schema, if this is absent or if the schema only contains one node, then I am sure that all repeated instances of the row will display the same data.
    The issue is where is the data coming from? Is it from a database or is the user entering it. If the user is entering it then I would not bind those fields to a schema. Set the binding to Name/Normal.
    Niall

  • Dynamic Forms and WF

    Hello,
    I have designed a dynamic form, where user can add rows dynamically by clicking a button on the form, the form is working fine in preview in designer.
    this form is initiating a LC WF process, but, if I deploy this form to form manager as an XDP and choose to render it to PDF, adding rows function does not work, however if I save this as dynamic PDF from LC designer and deploy it again to form manager, it works !!
    However, I can not use PDF generated from LC Designer since I found that commenting and annotations are not working ( I am using acrobat ) which is an important feature, also, web services calls are not working even, again from Acrobat!
    How can I set the form server installed with workflow server to render XDP templates into dynamic PDF forms ?
    Or alternatively how to enable commenting and fix web service calls in PDF rendered form ?
    Thank you for help,
    Greetings,

    By default Forms and Form Manager are configured to render a PDF as either static or dynamic based on some values in the XDP. By default those values will tell it to render a static PDF. What you can do, in Designer save as a dynamic PDF, then open the dynamic PDF in Designer and save as an XDP. Upload that XDP to Form Manager, the tags will be present to tell it to be rendered as a dynamic PDF. There's a better way if you are using Designer 7.1 and Forms 7.1, but since I don't know your environment this is a way that will work regardless of versions.
    Annotations will not work in dynamic PDF's though. Currently annotations make no sense in dyanmic PDF's since the template of the PDF can dynamically change while annotations are bound to a specific location. IE: You have a dynamic PDF that is initial 4 pages and add an annotation to page 4. Later the template of the PDF changes based on data and user interaction and it is now a 2 page PDF, but the annotation is still on page 4 which no longer exists...
    Chris
    Adobe Enterprise Developer Support

  • XML data within dynamic form

    Hi,
    I'm trying to make a new XML Schema connection inside the form designer, I successfully made the connection and get the data inside my form, but I have only one problem, I have a huge number of records which I decided to make them as a dropdown list, they are about 11000 records, OK, now to the problem which is if I save the form as a static pdf form the list will be filled completely with the data came from the XSD file, and the produced file size is about 3 M, but if I save it as dynamic pdf form, the produced file size is about 400 K, but if I tried to access the dropdown list inside the file, it takes forever to load, without getting any result at the end.
    OK, my personal conclusion is that in case of the static forms the data saved inside the pdf file, but in case of the dynamic forms the data is not saved there.
    I need to save the file as dynmic pdf because I have a table that needs to add new row accoriding to the user click on a button of (add new row).
    So, can any one help me to fix this issue?

    Sorry, I found the solution:
    when I use the Adobe Reader 8.0.0 or Adobe Acrobat professional 8.0.0
    the stuff works normally, but in case of Adobe Reader 8.1.1 or Adobe Acrobat professional 8.1.1 this problem happens,
    Now I'll explain:
    1- I have a form with dropdown list.
    2- I want to populate this dropdown list from XSD file has structure similar to the following:
    =====================================================================
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="shipRequest">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="orders">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="order" maxOccurs="unbounded">
    <xs:complexType>
    <xs:sequence>
    <xs:element name="shipVia">
    <xs:simpleType>
    <xs:restriction base="xs:string">
    <xs:enumeration value="Ground"/>
    <xs:enumeration value="2 Day Air"/>
    <xs:enumeration value="Overnight"/>
    </xs:restriction>
    </xs:simpleType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:sequence>
    </xs:complexType>
    </xs:element>
    </xs:schema>
    ====================================================================
    but with one main difference, that the element of shipVia has about 11000 of (<xs:enumeration ) elements.
    3- when I made the normal steps of make new connection to XSD file, it walked with me normally without any errors.
    4- incase I save this form as static pdf file, then open it with adobe professional, the menu is working smoothly and load the data inside perfectly.
    5- incase I sace this form as dynamic pdf file, if I try to open the dropdown list, it takes forever to load the data.
    very starnge that this problem happen with the newer version, so any idea for this??

  • Dynamic Table with XML Schema

    Hi, I am new to livecycle and wondering if there is any sample for setting up the dynamic table with XML schema so I can access the data through workbench's xpath. thanks.

    Ivor,
    Take a look at the samples shipped with Designer. For 8.2.1 release take a look at
    C:\Program Files\Adobe\LiveCycle Designer ES\8.2\EN\Samples\Forms\Purchase Order\Schema\Schema\Purchase Order.xsd
    and the form samples.
    Otherwise, forward a request to [email protected] I would be happy to send you a sample XDP with a dynamic table and a schema.
    Steve

  • Dynamic forms and Web Services?

    So what we are trying to do is get a dynamic form's information into a database.  On the form itself we have several fields wrapped in a subform that is set to repeat.  It is bound to an element from a web service, which allows the form to grow based on the number of rows returned.  We needed to do this because depending on the selection of departments, there could be a different number of rows returned each time.  This works out fine.  The form grows to display different options, based on the selection.
    What we're having problems with is writing the changes made back to the database.  We have a web service that is bound to the subform that contains the fields, and also bound to the fields themselves, but we're only able to write the information from the last node, i.e if there were six options that were displayed, and you made changes to all six, only the changes to the last one would be written to the database.  Is there something special that needs to be done on the form side?
    Any help is much appreciated.

    Yes ...you set up the web service to recieve one parameter .....then you create a multiline field (make it invisible so the user cannot see it). Then use this command to populate the field with the form data:
    fieldname.rawValue = xfa.datasets.data.saveXML("pretty");
    Now bind this field to the web service input and call it.
    Paul

  • Using Dynamic Form in Workflow

    Hi Again,
    I do not why but every day I am facing new problem with my workflow :(
    This time I am facing problem in using my dynamic form.
    I have created a Dynamic form with "ADD" and "DELETE" row function with some dynamic calculation field.
    While Initiator is filling the form,he can Add Dynamic rows to the form but after submitting the workflow when the Approver is opening the form from his worklist he is not finding the Additional rows added into the forms and All the data is also missing.
    *We tried on the one machine where initiator filled that form.
    *We are using Adobe Reader 7.0
    *Add row fuctionality is achived by "addInstance" function.
    *Dynamic functionality is working for Approver also mean if he will going to click "ADD" button a row can be added by him also.

    Hi All
    Thanks for reply.
    Howard I am storing the data in variable and I can see all the other data instead of dynamic rows.
    Stone I had made my form to bound with xsd.
    and I had checked both repeat the subform for data and minimum count.
    but if I am removing minimum count it is not displaying that dynamic row.
    Let me know is I have to bound differently with the xsd for dynamic rows??

  • How to create dynamic forms

    Dear All,
    How is it possible to create a dynamic form controls in ADF?
    Well this is how my use case goes:
    A web service returns a schema that display the list of questions that user needs to supply.
    <questions>
         <question>
              <type>text<type>
              <data>What is your Name</data>
         </question>
         <question>
              <type>booleanOneChoice<type>
              <data>Gender</data>
              <list>
                   <value>M</value>
                   <value>F</value>
              </list>
         </question>
         <question>
              <type>choice<type>
              <data>Salary Range</data>
              <list>
                   <value>Less than 1000</value>
                   <value>Less than 10000</value>
                   <value>Greater than 10000</value>
              </list>
         </question>
    </questions>When this is rendered, I am should be able to see
    this sample pages in a form layout style.
    <af:inputText label="Label 1" id="it1"/>
    <af:selectOneRadio label="Label 1" id="sor1">
    </af:selectOneRadio>
    <af:selectOneChoice label="Label 1" id="soc1">
    </af:selectOneChoice>Sorry the question above is very trivial but I just wanted to simplify things?
    Has anyone done this use case before?

    Hi,
    I tried that code actually but you need some sort of an event before the components are shown.
    Say an event like when a button is click then you do some PPR.
    But my use case is like this, I need to create the component list from my managed bean
    before the page is shown to the user.
    Here's what I tried.
    I created a binding on my managed bean. Then I created a hidden output text
    and then I bind the value to a method of my managed bean.
    The purpose of the output text is so that I could call my managed bean method.
    <af:panelFormLayout id="pfl1"
        binding="#{pageFlowScope.myBean.dynamicForm}">
    </af:panelFormLayout>
    <af:outputText id="ot2" visible="false"
        value="#{pageFlowScope.myBean.generateRandomForm}"/>     My managed bean method is the one that populates the form
    public class MyBean{
          private RichPanelFormLayout dynaForm;
         public String generateRandomForm(){
              RichInputText text1 = new RichInputText();
              text1.setLabel("What is your name");
              dynaForm.getChildren().add(text1);
              AdfFacesContext ctx = AdfFacesContext.getCurrentInstance();
            ctx.addPartialTarget(this.getDynaForm());
              return null;
    }But, I notice that nothing is happening.
    What could be wrong in my approach?
    Thanks

  • Panel with dynamic form

    I need to create panels with dynamic forms. Why does my application will have various forms and if I have to create a lot of forms it will take too long to complete my application.
    Can anyone help me?

    So my idea is as follows ...
    I need to create various forms, actually I wanted to create a scheme where the forms to adopt the characteristics defined by me.
    <s:Panel width="350">
                <mxml:CustomForm dataConfig="{dataConfig1}" width="100%" />
    </ S: Panel>
    Yo I'm adding the inputbox, LABES and buttons on the panel through the
    dataConfig1 = new ArrayCollection ([
                        (Label: 'Name', message: 'Invalid name', validateType 'noblank', id: 'name', text: 'Pedro Claudio', required: true),
                        (Label: 'Mail', message: 'Invalid Email' validateType: 'email', id: 'email', text:'', required: true)
    I wonder if this is the easiest way to create the forms?
    How does this business of the panels child?

  • Create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box

    HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
    I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
    Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
    Thanks,

    In the preOpen event of the second dropdown list you put something like (in formCalc):
    if (dropdown1 == 1) then
    $.clearItems()
    $.setItems("Year, 2 Year,  3 Year")
    elseif (dropdown1 == 2) then
    $.clearItems()
    $.setItems("3 Year,  4 Year")
    endif

  • Get values from dynamic form items

    Hi All,
    I create a dynamic form with text input component
    private function buildForm():void{
                    var numberOfColumns:Number = 5
                    var formItem:FormItem = new FormItem();
                    var hBox:HBox = new HBox();
                    for(var i:Number=0; i< numberOfColumns; i++) {
                        var formInput:TextInput = new TextInput();
                        formInput.text = "test";
                        formInput.id = "txt_" +i;
                        hBox.addChild(formInput);
                    formItem.addChild(hBox);
                    loansForm.addChild(formItem);
    I can see the text input components, update the values.
    How can I get the updated values from the input components?
    I try  this["txt_" + i].text  but not working. It's not finding the component with the dynamic value.
    Any ideas?
    Thanks
    Johnny

    Hi,
    Here is the related thread, u will get some help
      http://forums.adobe.com/message/3075226
    Thanks and Regards,
    Kanchan Ladwani | [email protected] | www.infocepts.com

  • Remove scroll bars in dynamic form

    Hi all,
    I'm starting to kick myself every time I put a post here.  Apologies and thank you for everyone's help - slowly but shortly I'll be one of the people answering the questions.
    Really easy one (I think).  A have a dynamic form, which updates a dynamic list.  Is there a way to alter a text area in the dynamic form, so that it is a fixed area  i.e. when you get to the end of the line/characater usage, the cursor goes down to the next line rather than creating a horizontal scroll bar and running forever into the distance.  I have played around with Wrap options without luck, the css doesn;t seem to play much of a part as this is an actual text area in Dreamweaver as opposed to a CSS clipping in the list.
    Thanks again,
    Nathan

    NJFuller wrote:
    Perfect! Thank you Albert.  Is it possible to add virtual wrap to a box in a dynamic list?  As that is not presented in a normal html form'ish style way.....?
    Hi Nathan,
    as a Dynamic List displays pure text only, you´ll need to help yourself by formatting the displayed column using PHP. There are several ways to add "virtual" line breaks, and the most straightforward (though certainly not the most elegant) solution would be to apply the PHP function wordwrap which wraps a string to a given number of characters.
    The following example will wrap the text after 40 chars, and the "wordwrap" function will - as always - have to replace ADDT´s default "KT_FormatForList" function:
    <?php echo wordwrap($row_rsqueryname1['columnname'], 40, "<br />\n"); ?>
    Cheers,
    Günter

  • How to make my dynamic form pages flow correctly?

    I have created a dynamic form which has multiple questions with expandable text fields that will take multiple pages once completed.  I do not know how to make the form flow correctly past the first page.  I can attach the form if I knew how to do that.

    Thank you Paul.  Your editing assistance was greatly appreciated. I think I now understand that there should be only one page subform that is flowed, regardless of how many text box objects I have in my questionnaire. This did the trick.

Maybe you are looking for

  • How can I detect an error on a single FP analog channel?

    Hello! I am new to the world of LabVIEW, maybe someone can help me. I need to detect if ONE of the analog channels in FP-AI-100 is in error state, such as reading out of range. I have no access to working FP modules and have no way of testing my code

  • Oracle 11R2 remote login as sysdba fails

    Hello i cant connect remotely as sysdba from client to server - oracle version SQL*Plus: Release 11.2.0.2.0 the configuration is the following orapwd file=orapwdTESTDB entries=30 password=mypassword force=y on the init.ora i have the following remote

  • Default file destination in Microsoft Word 2010 Mail Merge to PDF

    I'm using windows 2010, and Adobe Acrobat X Standard.  I have a mail merge template that I created in Microsoft Word 2010 that I use to send out multiple price quotes to customers who are bidding jobs.  When I merge to Adobe PDF everything works prop

  • Change appearance of the inactive VI's windows

    Hello! I'm working on a software which calls different sub-VIs and they all open as new windows in front of the main one. The problem is that those windows are usually smaller than the parent VI and sometimes the amount of controls you see on the scr

  • Tab inside JTable (works for any key but tab)

    Hi there I have looked on the internet and forums for the answer to how to do this, but I have had no solution. I have a JTable and the second column is full of editable cells. The requirement is that when a cell is being edited and tab is pressed, t