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

Similar Messages

  • 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

  • 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

  • Getting list of nominee(Member) in Collaboration Room

    Hi Experts
    I want to find out the Expert member of the Collaboration room
    for that based on document rating we selected some member list and nominate some members by other member ( we get some list of member )
    Where the list of members stored. the list of member should reach the room owner. how can i achieve this?
    Regards
    Thillai J

    Need to do Custom developed and workaround..

  • Save data entry form fields after closing it or save it under another name.

    It is very common that a user begins to fill in a form, but he wants to finish it in another time. The user closes the PDF document and the system wants to know Whether to save changes or not, select one of the two (2) options.
    Yes or File name. (Save As or Close)
    The user needs to know if all must be saved it with the same name or with other name.
    ONLY All those fields, Checkbox or Dropdown list that have been used, pass to mode (Read Only) being available, those which still not have been used.
    I know that using the Acrobat JavaScript console can implement the code that manages this.
    • The question is: Is there anyone in this forum that hwo can help me? If YES, please write the JavaScript code.
    Thanks to all those who work with your help in this forum.
    Aldi.

    Thanks for your answer. The final user will use the latest version of Adobe Reader XI. The configuration of this form is done in Adobe Acrobat XI and Save As Other ... Adobe Reader Extended PDF option is enabled. 
    All I need is the JavaScript code that performs the action when the end user since XI Reader saves the form, only text fields, drop down lists and check boxes that used to pass read-only mode. This allows users to protect the data you entered and continue later until finished.
    Once the user has finished filling out this form, send it to another user, and the only thing you can do is read, but not edit, delete or change the information.
    Thank you once more for your help

  • 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'.

  • How to revise form field value in query and skip validation

    Hi all,
    I have a 10g form that has a field which I want to manipulate during query. I want to display a different value depending upon its orignal value. I did this with a Post-Query trigger on the field's datablock. However, now, when I attempt a new query, the form thinks I've changed the field (which I did). I want to change the field but trick Forms into thinking there were no updates. How do I do this? Note: the field is a list item that has a style of combo box.
    Thanks, Mike

    Ammad,
    The reason is that sometimes the list returns the record group's key value (the second column) instead of the intended value (in the first column). This is because the record group is based on a SQL query. There are some values which are no longer in the table queried by the record group, thus the key value is displayed. I would rather nothing be displayed. As of now, I display a message indicating that there is a problem with the LOV.
    I know about using a non-database form field. But I don't have any room left and I don't want to lay the non-database field on top of the database field and then have to enable/disable the two fields.
    A friend at work suggested setting update_permission to trick Forms. Tried it but not successful yet.
    Thanks, Mike

  • Dynamic Choice List

    Hi All
    I want to restrict Choice List values depending on data coming from previous page.
    I am using following code :
    OAMessageChoiceBean contactList = (OAMessageChoiceBean)webBean.findChildRecursive("<Chioce List Name>");
    contactList.setPickListCacheEnabled(false);
    After this i am building VO Query depending on ceratin values.
    Still choice list is taking initial query only.
    I will appreciate if someone can help me on this.
    Thanks
    Samir

    Mukul
    Even after using clearCache i am getting initial query only.
    The details are give below:
    View Object Details
    VO Name: ContactNameVO
    Query: select distinct LTRIM(RTRIM(rc.first_name || ' ' || rc.last_name)) meaning
    from ra_customer_trx_all rctl, ra_contacts rc
    where rctl.bill_to_contact_id = rc.contact_id
    AND ROWNUM = 1
    XML Page Details
    Choice List Item Details
    ID : ContactName
    Item Style: messageChoice
    PickLList View Instance: ContactNameVO1
    Picklist Display Attribute: Meaning
    Picklist Value Attribute: Meaning
    Controller Code
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAMessageChoiceBean contactList = (OAMessageChoiceBean)webBean.findChildRecursive
    ("ContactName");
    contactList.setPickListCacheEnabled(false);
    String trxId = (String)pageContext.getParameter("trxId1");
    String whereclause3 = " ";
    whereclause3 += " AND rctl.customer_trx_id IN ("+trxId+") ";
    System.out.println("whereClause3****************"+whereclause3);
    Serializable [] param1 ={whereclause3};
    am.invokeMethod("DynQueryForContName",param1);
    AM Code
    public void DynQueryForContName(String q)
    ContactNameVOImpl vo = getContactNameVO1();
    vo.clearCache();
    if(vo == null)
    MessageToken [] errToken ={new MessageToken("OBJECT_NAME","ContactNameVO1")};
    throw new OAException("AK","FWK_TBX_OBJECT_NOT_FOUND",errToken);
    else
    vo.initQuery(q);
    VO Impl Code
    public void initQuery(String s)
    if((s != null) && (!("".equals(s.trim()))))
    String query = getQuery();
    StringBuffer sb = new StringBuffer(query);
    if(final_query == null)
    sb.append(s);
    final_query = sb.toString();
    setWhereClauseParams(null);
    setQuery(final_query);
    System.out.println(final_query);
    final_query = null;
    executeQuery();
    setQuery(query);
    Let me know if something is wrong in the code.
    Thanks

  • 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

  • Dataschema in XML form builder

    Hi all i started doing one application on xml form builder .i created a project . when i click on name space i is showing an defeult value but when i right click on the dataschem it was not showing any values.i hane to add some structure to the data scheme .so, can any one solve my problem

    Hi, Kris@EP.
    Recommended JRE on client side for XML Forms Builder is 1.4.* or 1.5.*
    Be sure that you got JRE version is lower than 1.6
    If you have JRE 1.6.* implement [SAP Note 1341069|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_km/~form/handler%7B5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31333431303639%7D]
    Regards, Mikhail.

  • Properties in XML Forms label

    Hi
    I'm working with the XML Forms builder, and I'm trying
    to add properties as name, mail, and so on to labels
    in the edit form. So that the user doesn't have to fill
    this in, in a registration form.
    But I don't have any success in getting it to work.
    There’s nothing displayed in the labels.
    Is this possible?
    And if, does someone have any suggestions on how to get
    it to work?
    Another way to get the user information could be a link
    to the users card, but how should that be done?
    Thanks in advance for any help or suggestions.
    Regards
    Mikael L

    Hi Mikael,
    see Accessing creator information of form for details.
    In addition, see http://help.sap.com/saphelp_nw04/helpdata/en/fe/2a2c407586ea01e10000000a155106/frameset.htm
    Hope it helps
    Detlev

  • Form Fields Duplicating Information: Make It Stop!! (Please)

    So, obviously I am very new to this whole Adobe form thing, and I am having a problem with it.
    I am working on a project for work, and we are trying to make these documents auto-populate with information. For generic fields in which the applicant will have to enter in text themselves we are using the phrase "text_field". However, I think this may be causing a problem:
    Take this page for example: When I enter random characters into this box like so,
    And then I leave the box, this happens:
    I do not want this to happen. I want it to stop. It does this throughout the ENTIRE document.
    I suspect that this may be the problem:
    If someone can confirm for me if this is the problem, and how I can get it to stop, that would be lovely. Thanks.
    Ravyn

    You need to learn more about form fields.
    As noted you need to apply reasonable names and possibly using the hierarchal naming structure. For example, you have an address information that consists of a number, street name, unit/apartment, city, state, and zip or postal code. One could use names like street address, city, state, postalcode. But if one wanted to access all of those fields at once and change a shared property, one could not do that. If one use a names like address.number, address.name, address,apt, address.city, address.state, address.postalcode, then accessing the high level name of address would allow one to change all the child fields under that parent field.
    With the distribution disk for Acrobat there is a folder of forms and within that folder is PFN folder that has an example of how to use this type of field to get the basic unit of data and then build a single unit that combines the lower level data.

  • Is there a way to import a choice list in multiple (or single) selection fields?

    Is there a way to import a previously created choice list in multiple (or single) selection fields in forms central? 

    Hello Dr. Ryan,
    Unfortunately there is no way to move this data into FormsCentral.
    As far as your question about using PDFs with FormsCentral, 'soon' is actually 'now'! You have two options:
    1) Author a new form with FormsCentral. From the distribute tab, save a submission-enabled PDF form. You can send this form out to your recipients and their responses will be collected on FormsCentral.
    2) Import an exsiting PDF form into FormsCentral from the dashboard, and then submission-enable it. Distribute the submission-enabled version and responses will be collected on FormsCentral.
    Thanks!
    Shannon

  • Multiple form field instances populating ES Process Mgr variables

    Hi ES Process Designers,
    I am building up a new process in which the user can add instances of one to many fields in a form. I'm trying to find a way to populate a variable(s) with the second or greater instance of a form field value.
    When using a List variable I can retrieve process_data/field[1]. It appears that the form isn't returning a list of all instances as process_data/field[2] remains empty. Possibly I don't understand how the form returns data to the process?
    Variable = Variable1, type List
    Location = /process_data/FormField
    Expression = /process_data/myForm.pdf/ ... /data/FSFIELDS_/FormField[2]
    Any assistance with this will be very much appreciated. Thanks,
    Rod

    Hi
    Try opening your form in Acrobat, and exporting the data.
    This will show you the format of your data, and should give you a clue about how to reference it using an xpath expression.
    It's also highly recommended that you design an XML schema for your form, which will allow the Xpath expression browser to see "inside" the fields in your form. Please see the Designer docs for more information.
    The official LiveCycle training courses also cover these techniques.
    Howard
    http://www.avoka.com

  • 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.

Maybe you are looking for

  • How to attach image in BPM CustomJSP and view it

    Hello everyone im new here , Is there any tutorial how to attach file into BPM Object ? Im using Oracle BPM Studio 10.3.1 I have seen many tutorial how to attach file into BPM using fileChooser ( https://community.oracle.com/thread/880712  ) and succ

  • Preview or Adobe Reader

    I've been using Preview for pdf viewing and printing, as well as right clicking on pdfs in Safari to choose "Open in Preview". But are there advantages to using Adobe Reader? And is Adobe Reader actually a universal binary now, with a plugin for Safa

  • How do I add a time and date stamp onto my pictures?

    Can anyone tell me how to place a time and date stamp on all my pictures?

  • Apple tv movie display

    How can I choose the 25 movies that I want to display on TV if I have more than 25 movies?

  • Uploading of Documents into Portal through KM

    Dear Experts. I am New using KM. I need display a page HTML using a link in the portal of Employee Self-Service. My idea is upload a page in the KM and get a URL and with this create a service(link) in the portal for call this URL. I never have used