Multivalue XML Forms field

Hello.
we will need multiple values in user dialogs, mostly KM File references. We dont now on beforehand how many there will be per entry.
And we want to do it with XML Forms.
From what I read so far, I cannot tell whether this is possible at all, so please post your suggestions.
regards
Carsten

Hi Carsten,
you cannot create a form with a dynamic number of input fields or something similar. Anyhow, you can offer for example 20 input possibilities within the edit form and only those fields filled in will be presented in the show form, when mapping the content to labels, for example.
Hope it helps
Detlev

Similar Messages

  • XML form field should be read only.

    Hi All,
    Can we have a field in a XML form which is read only and the number in field should be incremented every time a new form is created.
    Is this possible.If yes can someone please guide me how.
    Thanks,
    Nikhil Pai

    Hi Nikhil,
    Do u want this property to come in the Edit form also, or only on the show form?
    If its only on show form,
    1. Keep a text file in KM with a starting number say 1000.
    2. While creating the XML form, a KM Service listening to resource creation only in the folders,
    will update a property and also edit the text file and replace the number by 1001.
    So in the show form u will have a unique number for each XML form.
    Regards
    BP

  • XML form field choice list to be populated by collaboration room names

    I would like to create a news form used within collaboration rooms where one field should include the name of the room where the news entry is created.
    Preferably this should be done automatically as works for date and author fields ($date, $sap_user), but could also be done manually if there is a way to populate the list with all available room names. If so, how do I get these to show up in the XML forms builder. There is a property 'Room' with sub-property 'Name' in the builder's property menu, but I can't see how to use this to get the room name displayed in the form.
    Henning

    Steve
    Thanks!  After working with the example you sent me, I was able to get it to work -- great!  However, this method seems to overwrite all the other XML in my xfa:data -- not great!
    For example, without the script, I have something like this in my form data variable after a form is completed and submitted:
    - <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-08-05T15:07:02Z" uuid="62d739de-6eb3-4ae2-8cfc-4eab0dd87f17">
    - <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    - <xfa:data>
    - <root>
    - <performanceReview>
    <badgeNumber>8107</badgeNumber>
    <associateName>NATHAN JANNASCH</associateName>
    <department>Information System</department>
    <section>IS - System Devlopment</section>
    <jobFamily>Professional Staff</jobFamily>
    <GLBadge />
    <groupLeader />
    </performanceReview>
    <FSTARGETURL_ />
    </root>
    </xfa:data>
    However, when I use the script as you described above and in your sample to load the data for the dropdown list, I get this in my form data variable:
    - <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" timeStamp="2010-08-05T15:10:17Z" uuid="62d739de-6eb3-4ae2-8cfc-4eab0dd87f17">
    - <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    - <xfa:data>
    - <GroupLeaders>
    - <GroupLeader>
    <GLBadge type="varchar">8103</GLBadge>
    <GLName type="nvarchar">AARON MEISTER</GLName>
    </GroupLeader>
    - <GroupLeader>
    <GLBadge type="varchar">5221</GLBadge>
    <GLName type="nvarchar">AB EDMONDS</GLName>
    </GroupLeader>
    </GroupLeaders>
    </xfa:data>
    It looks like the data the script loads is overwriting all of my other xfa:data.  This is quite bad, as my process is dependent upon this data.  Is there a way to append the dropdownlist data to the xfa:data, or perhaps load it into another node, rather than overwriting the existing xfa:data elements?
    Thanks!
    Toby

  • XML form Time based Publishing

    Hi Everyone
    I added the valid until and valid from properties to the XML form and activated the time dependent publishing for the folder where this form is displayed. My problem is that it is not taking the time that I enter in the XML form fields but considering the time only if I go to the details tab of that particular doc and set up the lifetime. I want to set this up in the edit form of the XML form. Can somebody please tell me if I am missing something.
    Thanks
    Renu

    hi
    There are Valid to & Valid from properties in the data model section of the XML Forms Builder. Would imagine you could play around with these as a starting point.
    when creating the XML Form, you can drag and drop the KM Properties "Valid From" and "Valid Until" from the left pane "Data Model" -> "Properties" -> "Lifetime" on your form. activate the tbp (time-based publishing) service on the used repository and also to "Enable Time-Dependent Publishing" on every folder where you want to use the forms (from the folder menu "Details" -> "Settings" -> "Lifetime".pèleas also go through this
    http://help.sap.com/saphelp_bw33/helpdata/en/c1/c87d3cf8ff3934e10000000a11405a/content.htm
    hope this helps you
    please don,t forget to allocate points.
    with regards
    subrato kundu

  • Multivalue checkbox in single field of datascheme of XML form

    Hello everyone,
    is there a way to provide the user a chance to select multiple values via checkboxes in an XML-form and write the values in a single field of the datascheme?
    Currently only the first of the selected values ends up in the proper field, although several checkboxex are attached/connected.
    Any ideas?
    THX-Henning

    I found another alternative solution.
    Regarding to how to display the multivalue properties with the multi-valu check box in "Details":
    1) Go to CM -> Global Services -> Property Metadata -> Properties
    2) Go to the property that you want to display multivalue, for my case- "NewsType", set the "Property Renderer" parameter to "allowedvale_multivalued" (for sure you have to define the allowed values)
    3) Go and check in "Details", it should show the multi-value property in check box group. Then you can "tick" and "untick" to change the values.
    Kent

  • Help needed in RTF form field to display yes or no based on xml value

    Hi,
    I have the data in xml as follows: <CP_ZERO_COST>2</CP_ZERO_COST>
    Now my requirement is, if CP_ZERO_COST is 2 then the column should display 'No' and if CP_ZERO_COST is 1 the column should display 'Yes'. Now this 'yes' or 'no' is not coming in xml tag. I need to do that in RTF form field.
    Could anyone please tell me how to do that?
    Please help.
    Thanks

    Try this:
    <?choose:?>
    <?when: CP_ZERO_COST = 2?><?'NO'?>
    <?end when?>
    <?when: CP_ZERO_COST = 1?><?'Yes'?>
    <?end when?>
    <?otherwise?><?CP_ZERO_COST?> --- You don't have to include this if the only possible values are 1 and 2.
    <?end otherwise?>
    <?end choose?>
    You can also use if then else logic. Ensure that you specify the correct path to get to CP_ZERO_COST
    Thanks!

  • Error in Browser field of  XML Form

    Hi All,
    We have recently upgraded our portal system from NW 7.00 (SP23) to NW 7.01 (SP09).
    Post upgrade we are facing an issue in XML forms for file browser element.
    On the XML forms we have an element u201Cfile browseru201D which we use for attaching documents as attachments in the XML forms.
    After upgrade, when we select a document using this element u201Cfile browseru201D, the file path is getting uploaded in the field without the file name. Hence after saving the XML forms when we try to display it and open the attachment in the XML forms, it is giving the following error.
    The folder you are looking for has no displayable content. You can try one of the following:
    u2022     Access the folder using the Navigation user interface.
    u2022     Access the folder as a Web folder. Your operating system and browser dictate whether or not this will work.
    Example : Suppose we are attaching a file f1.xls  in /documents/images folder, the path captured in the browser textbox is /documents/images  (it should be /documents/images/f1.xls).
    This was working fine before the upgrade to NW 7.01 SP09.
    Our system is already running LIVE on production and we are facing major issues due to this problem. Kindly provide a solution at the earliest.
    Regards,
    Nitesh

    It was a bug .
    SAP released two new patches
    EPBC209P_10-10005895
    SAPJTECHS09P_16-10005886
    issue resolved after patch application.
    Regard,
    Nitesh

  • How to Pass XML Data to a PDF Form and Load it into form fields

    I have xml Form data in a string. I would like open a programatically launch a pdf document and pass the xml data as one of the parameters and this xml data needs to load all the form fields.
    Any Idea as to how this can be done?

    I have the same requirement as Daminu, but from the research I have been doing it seems your reply is only partially true. 
    If your PDF is an XFA PDF form, with Reader Extensions enabled, and you want to keep the Reader Extensions functionality for a user to use after your programmatic manipulation, then neither of these tools will work (FDFToolkit or iText).
    Upon the user opening the file once it has been programmatically modified, the user will see the following:
    From what I have read, this requirement can only be fullfilled by use of LiveCycle Reader Extensions Server?  Please confirm?

  • XML Forms. Add a timestamp field

    Hi all
    I have a XML Forms project. I have included the valid from and valid until values and have tbs working.
    Appart from this I want to insert in my form another Timestamp field.
    In the datamodel I can´t create an entry of type timestamp, only date or time.
    If I create it date and bind it to a timestamp reaader object from the toolbar I receive an error requesting to have a timestamp type of data binded to it.
    Any help to do this?
    Let me know if you need more info.
    Regards
    Fernando

    Hi Kevin,
    there is no possibility to provide default values or vairable values for date and time properties in KM.
    The only thing you can specify is the format:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/e646150fbc3ee6e10000000a1553f7/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/42/e646150fbc3ee6e10000000a1553f7/frameset.htm</a>
    One thing you could do is modify the xsl file and use some additional programming to fill the date whith the values you like.
    But in the standard it is not possible.
    Not only for XML forms, but in general for KM properties this is not possible...
    Regards,
    Sascha
    Regards,
    Sascha

  • Disable field on XML Form Builder

    Hi!
    I can disable a field in a XML form . For example, the date of creation and the SAP user, so that the user does not change this information. Thank you very much!

    Hi David,
    Do not use "date of creation" and "SAP user" fields in "Edit" form. You don't need to add this fields to "Edit" page of your xml forms since they are available as Properties.
    In the Project Browser go to
    Expand Properties -> System item and you can see
    "Created By" -> for Sap User and
    "Created" -> for date
    You can use lots of variables here in your RenderListItem and Show views.
    Hope this helps.
    Regards
    Abdul.

  • CL_HTTP_CLIENT, HTTP POST of XML as a form field, encoding

    I am working on a couple of interfaces between a SAPsystem (NetWeaver 2004s, ABAP stack) and another system.
    On the SAP side we are using the built-in HTTP-client (CL_HTTP_CLIENT).
    For the interface from SAP to the other system, the other system expects an XML as the value of a form field in an HTTP POST request.
    In fact, it was described as doing the equivalent to this HTML-fragment in a web-browser:
    <form action="http://over.there.com/interface/import.php" method="post">
      <p>Please enter your xml data:
        <textarea name="data" cols="50" rows="10"></textarea>
        <input type="submit" value="submit">
      </p>
    </form>
    I assume I will have to do a SET_METHOD in order to get the POST method (as opposed to GET) and a SET_FORM_FIELD (for field "data").
    According to the reference I found at W3C ( http://www.w3.org/TR/html4/interact/forms.html ), the default encoding method for a POST is "application/x-www-form-urlencoded". Does this mean I have to do this encoding myself?
    Could I opt for another encoding - "text/xml" for example? If so, how? With a SET_HEADER_FIELD?

    Thank you.
    This is how we set the context-type:
        call method client->request->if_http_entity~set_content_type
            exporting
              content_type = p_contyp.
    where p_contyp contained 'text/xml'.
    This is how we set the form-field data:
    call method client->request->if_http_entity~set_form_field
            exporting
              name  = p_formfd
              value = xmlstring.
    where p_formfd contained 'data' - the name that was specified.
    This is how we make the request a POST:
    call method client->request->set_method
          exporting
            method = 'POST'.

  • XML form SPS13 error saving form with user field

    Hello gurus!
    After upgrading to SPS13 all XML Forms with imput field type 'user' produce error when saving data: incorrect user id. But I select user id from user list! ID can't be incorrect.
    Please, help.
    bestRegards, RO-man

    Hi Roman,
       I am using EP 60 SPS13 Patch 3, have you installed this patch ?
    You have to create a sibling node, for instance "usuario", don't forget to define it as user (data detail).
    Then you add a browse object in your form, and change action property as user.
    Then you establish a relation between usuario and your browse object.
    Patricio.

  • XML Forms Builder: Sorting news based on a date field in a XML form

    Hi Experts
    I have a requirement and I am stuck up in finding a solution. I have a XML form and this has been mapped to a folder in KM. It publishes news. In the collection renderer settings there is an option to sort the news ascending or descending based on created/modified criteria.
    The requirement is to sort the news based on a date field in XML form. Can you experts help me in getting the solution for same?
    The users who post the news in our portal needs the information to be sorted based on a date field shown.
    Thank you
    Best regards
    Ramamoorthy D

    Hi Experts
    I have not got any solution for this issue. Can any of you get me some clue to work on this issue with sorting news based on a date field in a XML form?
    I removed the property link from the screen field Input field.
    Thank you
    Best Regards
    Ramamoorthy D

  • Trying to bind XML data and form fields

    I have a fairly simple PDF - and I am trying to bind XML data to he form fields.
    In the designer I can bring up the data connection and
    select Global - for the binding method - and as I understand it - this will link Form Fields and XML data fields with the same name - (sounds logical to me)
    but all that happens is :
    I see the name of the field in the form field rahter than seeing the actual data
    should I select : None as the binding or normal ....
    but Normal doesnt show Anything - even after i select it .
    I can't quite seem to make this work -
    Any help here would be appreciated
    Thanks :)

    This is on a stand - alone system
    Using Designer ES ......
    I saved the Form as an xdp form
    and it seems as if all goes well until
    View the data and nothing appears - or
    just the names of the fields appear

  • Multivalued metadata properties in XML Form Builder

    I have created some multi-valued properties in KM having their own namespace. When I assign these properties to the XML FB, the values are loaded only if I use a combobox. But my requirement is to selct multiple values, so if I associate a checkbox as the data type, I find none of values are loaded into XML project. Have anyone tried this out? Is it a bug? I am using SPS14.
    Kind Regards,
    Tridib

    Hi Detlev,
    I tried the workaround you described. Defined the allowed values, checked the declared property as "Multi-Valued", selected "allowedvalues_multivalued" as property renderer, refreshed the properties inside of the XML Forms workbench and wired this property to the checkboxes whose captions and values correspond to the allowed values just created and so on.
    When I generate the XSL template, click on the checkboxes inside of my HTML output and click on "Save" only the first value of those I have checked will be saved. (as to be seen in the details of the generated document)
    Although it seems that I have done everything all right, obviously I haven't.
    When I look into the generated XSL document I can see why this happens because several checkboxes with the name will be rendered.
    What did I wrong? Any help would be appreciated.
    (we run EP 6.0 SP 13)
    Thanks in advance
    Ralf

Maybe you are looking for

  • Creation of JCO connection

    Hi all, i'm having a problem when creating JCO connections for WebDynpro. When I create an "Application data" connection with "Single Server Connection" the connection is created sucessfully and I have successfull test and ping. If I create an "Appli

  • ORA-01722: invalid number caused with SQL using bind variable

    Hi, Im am hoping that someone can help me resolve a problem thats only just services and is being experienced on quite a few clients. our application uses C++ exes and makes OCI calls to the database. what has happened in the last week or so, there h

  • Can't seem to any speed change when overclocking

    I tweaked around and set my fsb higher in bios but it doesn't show any difference when i use wcpuid to check the speed. I looked around in the forum, i didn't really find anything similar, or maybe I'm not looking hard enough. Any thoughts? Sorry if

  • GDB Startup Text - Bug?

    Every time I run my project, I get something like the following output in the Debugger Console: \[Session started at 2010-07-29 00:06:57 -0700.] GNU gdb 6.3.50-20050815 (Apple version gdb-1469) (Wed May 5 04:36:56 UTC 2010) Copyright 2004 Free Softwa

  • Mac Book Boot camp and Vista Home Premium  - will it run ok?

    I have the latest black Mac Book with 2GB of ram installed. Will this allow Boot Camp to run Vista Home Premium ok? Or should I go for Parallels instead?