Strategies for populating drop downs with external data

Hi,
I have a couple nice forms that call various array scripts that populate drop down boxes based on a selection.  Everytime I need to update pricing, models, etc... I have to go in and manually edit the array.  I am using just designer - we do not have the server version.
Is there a better way to do this ranther than edit the array and keep saving version?  I have seen some expamples using anXML file to the form.  This looks like a solution but I am not sure how to do it if this.
It would be nice to have seperate database that contained my widgets external, update it and then make the connection. 
Any help would be apprecated!

This is a similar thread....
http://forums.adobe.com/message/5538822#5538822
Maybe this is a taboo subject as it something adobe wants you to buy the server version for...  I see this get asked many times but there never seems to  be a direct answer.
In an effort to make my question more clear - If i have users out there with a form, and I want to update the form with a nightly updated file, that may contain pricing for example, how can one do this?
So the core form stays the same, but dropdowns can be populated with external data.
Thanks in advnace for any all help.

Similar Messages

  • Populating drop down with search help

    I have drop down to populated in WD,but i dont want it to be populated with the field values  from ddic,instead iwant the  the search help  values for this field in the ddic.Say for example i have the Carrid field with  values AA,BB and so on in the ddic table  and in the search help d description is there like for AA->american airlines and so on .so i dont want to populate my drop down with aa,instead i want american airlines.Please advice.

    you can try this ,
    1.after creating the attribute which you wanna populate in the context of your node .
    2.Go to do inint method of your view and try using the code below with node and attributes which you need.
    method wddoinit .
    data:     rootnode_info type ref to if_wd_context_node_info,
          rootnode_info1 type ref to if_wd_context_node_info,
          it_value_bet type table of wdr_context_attr_value.
         " node_arrid type ref to if_wd_context_node_info.
    rootnode_info = wd_context->get_node_info( ).
    " ADD A CHILD NODE TO THE ROOT.
    call method rootnode_info->get_child_node
      exporting
        name       = 'ARRANGEMENT_ID'
      receiving
        child_node = rootnode_info1.
    data:    lt_valueset type wdr_context_attr_value_list  ,
          l_value type wdr_context_attr_value.
    " fill up internal table from table***********************
    data : itab_pa_id type standard table of /sappssrm/pa_idt,
           wa_sappssrm_pa_id like line of itab_pa_id.
    select * from /sappssrm/pa_idt into table itab_pa_id.
    loop at itab_pa_id into  wa_sappssrm_pa_id.
       l_value-value      = wa_sappssrm_pa_id-arrangement_id.
       l_value-text    =  wa_sappssrm_pa_id-description.
    insert l_value into table lt_valueset.
    endloop.
    I guess this should help .
    Regards,
    Abhishek

  • Working with Two Drop-downs (no external data file)?

    When a user chooses a State in first drop-down, then only Cities in that state will show in second drop-down.
    How do you reference the list(s) by way of an internal data file/source?  Is there a way for schema and data to be saved with the pdf?

    Hi,
    Check the following :
    1. There are no filters on the second DTP.
    2. Check that the Data in the ODS is active.
    3. Check that you have created the second DTP correctly ie ODS and Target Cube.

  • Populating InDesign document with external data?

    Hi All – I hope I’m asking this question in the correct forum. I’m assuming that this is a scripting issue, but if it’s not, I apologize. Anyway -  am wondering if this is possible, and if so, if someone could point me in the general direction of further information:
    My company occasionally asks us to produce employee directories that include information (photo, contact info, education info, etc.) about various segments of the Firm population – for example, one directory might include all women of color, one might include everyone in the Los Angeles office, etc. I would like to find a way to “template” this in InDesign so that the relevant info can flow into the document from an external data source – for example, HR’s SQL database or maybe a spreadsheet generated from that database. I know that we are currently able to do something similar using Word, but the end product looks like crap.
    I’m not sure what this would even be called in InDesign, so any info will be greatly appreciated. I'm using version CS5. Thanks!

    i'd do this using the Data Merge feature. It's similar to the mail merge feature of word. There's a great video of how it works here: http://www.theindesigner.com/blog/episode-43-data-merge-video
    there are more complicated ways using XML or third party plug-ins, but i'd try this method first.
    colly

  • What are the XFA properties for a drop-down list?

    I am having trouble distinguishing between the "Text" and "Value" for a drop down list.
    I have a data drop-down list that is being populated by a database at runtime. I am using the "addItem" event while looping though the recordset. The "addItem" event takes 2 parameters:
    param1: A valid string representing the value to display in the field.
    param2: (Optional) A valid string representing the new items bound value. If empty, the default value is an empty string.
    What is the corresponding XFA properties for param1 and param2?
    If I want to reference "param2" somewhere else in the form, is it dropDownList.rawValue? is it dropDownList.value?

    reviewed the sample.zip form and xml file. The XML format is different from my file. Your file has one field named "item" with 3 records. <br /><data> <br />- <field> <br />  <item>1</item> <br />  <item>2</item> <br />  <item>3</item> <br />  </field> <br />  </data> <br /><br />My XML file has multiple fields and records. I need to populate the dropdown list with 1 field from XML file/DataConnection and bind the remainder of the DataConnection fields to the form fields. How can I achieve above with the sample example? <br />This is a portion of my xml file. <br /><?xml version = '1.0'?> <br /><ROWSET> <br />   <ROW num="1"> <br />      <ORG_OPER_NAME> U. S. OIL AND GAS, INC.</ORG_OPER_NAME> <br />      <ORGANIZATION_ID>6285</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>01</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>P. O. BOX 9158</ADDRESS1> <br />      <CITY>HOUMA</CITY> <br />      <STATE>LA</STATE> <br />      <ZIP>703610000</ZIP> <br />      <CONTACT_NAME>ANTHONY P. AUTHEMENT</CONTACT_NAME> <br />      <PHONE_NUM>9858764651</PHONE_NUM> <br />   </ROW> <br />   <ROW num="2"> <br />      <ORG_OPER_NAME>103 TRUCK STOP, INC. </ORG_OPER_NAME> <br />      <ORGANIZATION_ID>101152</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>13</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>4007 WHITE'S FERRY RD. </ADDRESS1> <br />      <CITY>WEST MONROE</CITY> <br />      <STATE>LA</STATE> <br />      <ZIP>712910000</ZIP> <br />      <CONTACT_NAME>103 TRUCK STOP, INC. </CONTACT_NAME> <br />      <PHONE_NUM>3183966200</PHONE_NUM> <br />   </ROW> <br />   <ROW num="3"> <br />      <ORG_OPER_NAME>3 S COMPANY</ORG_OPER_NAME> <br />      <ORGANIZATION_ID>5699</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>01</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>RR #2, BOX 99</ADDRESS1> <br />      <CITY>EUREKA SPRINGS</CITY> <br />      <STATE>AR</STATE> <br />      <ZIP>726320000</ZIP> <br />      <CONTACT_NAME>NO CONTACT GIVEN</CONTACT_NAME> <br />   </ROW> <br />   <ROW num="4"> <br />      <ORG_OPER_NAME>3-T EXPLORATION, INC.</ORG_OPER_NAME> <br />      <ORGANIZATION_ID>6847</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>01</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>BANKONE TOWER</ADDRESS1> <br />      <CITY>WICHITA FALLS</CITY> <br />      <STATE>TX</STATE> <br />      <ZIP>763082825</ZIP> <br />      <CONTACT_NAME>NO CONTACT GIVEN</CONTACT_NAME> <br />   </ROW> <br />   <ROW num="5"> <br />      <ORG_OPER_NAME>3-T OIL CO. INC.</ORG_OPER_NAME> <br />      <ORGANIZATION_ID>6395</ORGANIZATION_ID> <br />      <OPERATION_TYPE_CODE>01</OPERATION_TYPE_CODE> <br />      <ORGOP_LINE_ID>1</ORGOP_LINE_ID> <br />      <ADDRESS1>RT. 1, BOX 81</ADDRESS1> <br />      <CITY>WEIRGATE</CITY> <br />      <STATE>TX</STATE> <br />      <ZIP>759770000</ZIP> <br />      <CONTACT_NAME>NO CONTACT GIVEN</CONTACT_NAME> <br />   </ROW> <br /></ROWSET>

  • Populating drop down list in a table cell-urgent

    Hi all
    I have a problem. I want to populate a dropdown list in a table cell. can anybody tell me the step by step procedure for that.
    I am doing it generally. not using R/3
    I am creating sub node like u have mentioned. I haven't done it using wizard.
    Is there any difference in the way we populate this list?
    My root node is expense. Inside that some value attributes are there. For the drop down list i've created a sub node 'extype'.
    I am getting error.
    it is:
    com.sap.tc.webdynpro.progmodel.context.ContextException: Node(EREmpHomeView.expense.extype): cannot bind or add elements because the node has no valid parent
    Following is the code i've written.
    IPrivateEREmpHomeView.IExtypeElement el;
              IPrivateEREmpHomeView.IExtypeNode nd=wdContext.nodeExpense().nodeExtype();
              el=wdContext.nodeExpense().nodeExtype().createExtypeElement();
              el.setEtype("Travel");
              nd.addElement(el);
    Sill i'm getting the same error
    Hi Nidhideep
    Error has gone with the code that Mr Anil has given. But there is no value in the List. Dropdown list is coming as a blank list.
    Thanks and Regards
    Aparnna
    Message was edited by:
            aparnna prasad

    hi
    Aparna try this code:
    1. Context description at design time:
    Value-Node "myNode", collection type=list, cardinality=0..n, selection=0..n
    and the attribute:
    Value attributes “myValue”, type="String".
    2. The corresponding Java source code example that you create in the wdDoInit method of the controller implementation:
    // The ISimpleTypeModifiable interface enables access to
    //a data type instance that can be modified at runtime:
    ISimpleTypeModifiable myType =
       wdThis.wdGetAPI().getContext.getModifiableTypeOf(“.myNode.myValue”);
    //Sets the label text for this data type.
    myType.setFieldLabel(“New label”)
    //Sets the valid values of this data type. The individual elements are inserted
    //when the put method is called and
    //and the value set is filled with the appropriate
    //key value pair.
    IModifiableSimpleValueSet values =
       getSVService().myType.getModifiableValueSet();
    values.put(“key_1”,”Mister”);
    values.put(“key_2”,”Mistress”);
    values.put(“key_3”,”Miss”);
    Regards
    Nidhideep

  • Populating Drop down from Oracle Database

    Can someone please help me!
    I am trying to populate a drop down list in a JSP from an Oracle database. Basically the JSP gets the user, outputs their name and then should display a drop down for them with some values in it!
    However, I seem to be getting a drop down box for each option rather than one drop down with every option from the database;
    Here is my code!
    <html>
    <head>
    <title>JDBC and JSP</title>
    </head>
    <body bgcolor="#FDF5E6">
    <h1 align="center">Welcome to Student Sigon Page!!</h1>
    <%@ page import="java.sql.*" %>
    <%@ page import= "java.util.*"%>
    <%@page import= "java.io.*" %>
    <%
    //String driverClassString = "oracle.jdbc.driver.OracleDriver";
    //String driverConnectString = "jdbc:oracle:thin:@172.17.106.78:1521:globaldb";
    //String username = "system";
    //String password = "manager";
    %>
    <table>
    <tr>
    </tr>
    <%
    Connection conn = null;
    try {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    conn = DriverManager.getConnection("jdbc:oracle:thin:@Midas2:1521:globaldb", "system", "manager");
    catch (Exception e) {
    out.println("Cannot close connect to database!"+e);
    if (conn != null) {
    String login = request.getParameter("username").trim();
    String pswd = request.getParameter("password").trim();
    String sqlQuery;
    if (login !="")
    if (pswd != ""){
    sqlQuery = ("SELECT familyname, givenname FROM STUDENTINFO WHERE username='"+login+"' AND password='"+pswd+"'");
    try { // execute the query
    Statement stmt = conn.createStatement();
    ResultSet rst;
    rst = stmt.executeQuery(sqlQuery);
    // Fetch the query result, and dispaly them in a table
    while (rst.next()) {
    %>
    <tr>
    <td> Family Name:<%= rst.getString("familyname") %> </td><tr>
    <td> Given Name:<%= rst.getString("givenname") %> </td><tr>
    <tr>
    <tr>
    </tr>
    <%
    stmt.close();
    } catch(Exception e) {
         out.println("Cannot fetch data from database!"+e);
    %>
    <%
    String sqlQuery2;
    sqlQuery2 = ("SELECT code,title FROM TMPOffering");
    try { // execute the query
    Statement stmt = conn.createStatement();
    ResultSet rst2;
    rst2 = stmt.executeQuery(sqlQuery2);
    while (rst2.next()) {
    %>
    <tr>
    <td width="20%">Session ID</td>
    <td width="80%"><select size="1" name="Course1">
    <option value=<%=rst2.getString("code")%>><%= rst2.getString("title") %>/option>
    <select>
    </td>
    </tr>
    </tr>
    <%
    stmt.close();
    catch(Exception e) {
    out.println("Cannot fetch data from database!"+e);
    %>
    </table>
    </body></html>

    Replace
    while (rst2.next()) {
    %>
    <tr>
    <td width="20%">Session ID</td>
    <td width="80%"><select size="1" name="Course1">
    <option value=<%=rst2.getString("code")%>><%= rst2.getString("title") %>/option>
    <select>
    </td>
    </tr>
    </tr>
    <%
    }with
    <tr>
    <td width="20%">Session ID</td>
    <td width="80%"><select size="1" name="Course1">
    <%
    while (rst2.next()) {
    %>
    <option value=<%=rst2.getString("code")%>><%= rst2.getString("title") %>/option>
    </td>
    </tr>
    </tr>
    <%
    </select>
    %>-Bharat

  • How to get ALL values as default for  a drop down box in JSF

    Hi,
    I have a drop down box in JSF page which retrieves values from LOVCache.java. I have values like Company, Client, User, ALL in the drop down box.
    By default blank value is selected for the drop down box. I want to make ALL(which retrieves data for all the values) as default value for the drop down box.
    Could any body help me? Any help must be appreciated.
    Thanks,
    Aseet

    Thanks Nikhil. But I am fetching the values from the LOVCache.java.
    I am using <af:selectManyChoice>. Is there any way I can use LOVCache.java value for selecting default values instead of hard coding?
    I mean to say can I write
    unselectedLabel="#{LOVCache.entityTypeSelectionList.anyValue}"
    where LOVCache.entityTypeSelectionList is used to populate the drop down box.
    Regards,
    Aseet

  • Using a different background for the drop down options in a spry menu bar

    Hi all,
    I am trying to set just a background color in the drop down menu, I have a background image repeated along the x asis at the top but this has come down into the sub menu bar how can I change just the lower drop down menu to just a solid color??
    I have tryed google and youtube to try to find a answer but have had no luck in finding the solution to this problem.

    Give a man a fish, you feed him for a day. Teach a man to fish, he eats every day…
    winabe23, you joined this month—probably because you were having trouble with CSS and HTML and you have certainly come to the right place.
    I'm going to send you to several places I have found helpful in understanding how you can make drop-down menus in CSS without the need for JavaScript—though JS may be necessary for certain older browsers that do not understand pseudo classes and may be necessary for the blind or keyboard navigation.
    CSS Wizardry has a great tutorial here.
    Line25 has one here.
    For those who don't want to have to wrangle code, here is a menu generator from PureCSSMenu.
    Here's a page by Eric Meyer who describes how the concept works.
    And here is a video tutorial by "zorro30mum." It's in two parts, but there is a link to Part 2 below Part 1.
    The reason why I am posting all of these links in my answer is because you're using Spry. And Spry has been found wanting by Adobe and they are deprecating and abandoning it.
    The Spry framework is an open source Ajax framework that Adobe developed. Ajax stands for Asynchronous JavaScript And XML. On August 29th 2012, Adobe handed over Spry to github. If you want to help github develop Spry, there is a site for that, but I'm thinking you're not a JavaScript developer.
    I would recommend you pay a little more attention and time to Ajax, which is not deprecated and not discontinued. It allows you to do client-side triggers for server-side code. But that's if you want to do work in JavaScript, XML and a server-side language, like Cold Fusion, php or ASP.
    But in the meantime, the tutorials above will get you into understanding how this whole menuing stuff is done in CSS and give you the understanding necessary to do simple stuff, like changing the color of a background for a drop-down.
    I hope this helps you make great websites!
    -Mark

  • SQL function column in drop down list's data provider's query

    Just wondering, if it is somehow possible to use SQL function column for drop down list through data provider.
    At the moment, I am using id column as return value and name as display value from this query through CachedRowSetDataProvider:
    SELECT ALL someTable.Id,
    someTable.Name,
    someTable.Postal_Code,
    FROM someTable
    However, I want to change display to use calculated column as display value, for example Name_PostalCode from below mentioned changed query:
    SELECT ALL someTable.Id,
    CONCAT(someTable.Name, ' - Pin Code: ',someTable.Postal_Code) Name_PostalCode ,
    someTable.Name,
    someTable.Postal_Code,
    FROM someTable
    But JSC doesn't seem to like this.
    Is it someway possible to achieve this?
    Thanks.

    >
    But JSC doesn't seem to like this. Can you explain more. When doesn't it like it, in the design view, in the query editor, when your run it? What is the error you are seeing?
    See http://blogs.sun.com/divas/entry/displaying_multiple_fields_in_a

  • Wrong file in the "Populating an ArrayCollection with retrieved data" exercise

    In the "Populating  an ArrayCollection with retrieved data" there is a file ex2_04_starter.zip, which contains ex2_04_solution.mxml file and should contain ex2_04_start.mxml, right ?
    Great videos! Thank you!

    Hi Burpix,
    Looks like the link for the starter file within the exercise is linked to the wrong file.  If you pull the project archive for Day 2 you will get all of the starter & solution files and video transcripts for all of Day 2 exercises.  The starter file for ex2.04 is correct if download it from the project archive zip.  Adobe will be fixing the link within the exercise later but for now you can pull the correct starter file from the project archive zip.

  • AJAX for coordinated drop downs

    At the moment, using Virtual Forms to load values from database in one drop down on selection of some value in another drop down i.e. just like coordinated drop down example.
    It works fine, but it refreshes whole page.
    Just wondering, if I could use AJAX in this scenario, has any body used or implemented for existing drop downs? Will be very helpful if one can give me some pointers or point me (or post) some relevant examples/code.
    Thanks.

    Some resources that you might find helpful:
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/textcompletion.html
    In that same component library is the Select Value Text Field (which has a drop-down). You can learn about the Select Value Text Field here in the Building AJAX-Based JavaServer Faces Web Applications With Sun Java Studio Creator hands on lab at http://www.javapassion.com/handsonlabs/5655_ajaxcreator.zip
    You might also want to look into Using the dojo ComboBox in a Java Studio Creator Project at http://blogs.sun.com/divas/entry/using_the_dojo_combobox_in

  • Populating drop-down box from Server XML

    Hello all,
    I'm working on a REST - Lightroom interface, which I'm going to document as expose as a way for anyone to upload pictures to their site.
    Anyway, I need to populate a drop-down with the story names and ids from this XML. Any ideas? I'm a top actionscripter/ruby/etc, but not too familiar with Lua. Looks good though.
    1
    2
    Hope someone can help :)

    Hi there,
    I'm also facing an identical problem and would also like the solution. I've thought about using JavaScript in conjunction with JSP to populate the second drop down box dynamically. But first I need to retrieve the values in the first drop down box from a database and subsequently the 2nd drop down box - I'm thinking that a for loop needs to be used somehow. amishpg, I will let you know If I'm successful.
    Assad

  • Self populating drop down lists.

    Is there any tutorials or information to do a self populating
    drop down list
    in CF?
    I assume you would have the form post back to its self using
    a IsDefined for
    each drop down step. Drop Down 1 (DD1) is selected and that
    posts back to
    the same page and causes the DD2 to run a SQL query based on
    DD1's choice
    and you repeat the process until the final DD is selected.
    Is this correct and where can I find a good tutorial?
    Thanks
    Wally Kolcz
    Developer / Support

    Do a search on Google for "related selects in ColdFusion".
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technologies, Inc.
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "Wally Kolcz" <[email protected]> wrote in
    message
    news:e7c9hc$g6a$[email protected]..
    > Is there any tutorials or information to do a self
    populating drop down
    > list in CF?
    >
    > I assume you would have the form post back to its self
    using a IsDefined
    > for each drop down step. Drop Down 1 (DD1) is selected
    and that posts back
    > to the same page and causes the DD2 to run a SQL query
    based on DD1's
    > choice and you repeat the process until the final DD is
    selected.
    >
    > Is this correct and where can I find a good tutorial?
    >
    > Thanks
    >
    > --
    > Wally Kolcz
    > Developer / Support
    >

  • Connecting drop-down with check boxes?

    I am making a document which provides information about retrieving documents for several countries. The user will use this form as a reminder for himself, this way he can see which documents he needs and which documents he still needs to make, or recieve from someone else. Whenever he recieves a document he can check the checkbox. The document is made in InDesign so it is a simple PDF. I have made this in to a form. It looks like the following example:
    Select country: Drop-down with items/countries: Netherlands, Belgium and Germany.
    Needed Documents
    Transport
    Bank
    Owner
    Document 1
    checkbox
    checkbox
    checkbox
    Document 2
    checkbox
    checkbox
    checkbox
    Document 3
    checkbox
    checkbox
    checkbox
    The main lead is the country which is build from a drop-down. For example: you can select the Netherlands, Belgium and Germany. Whenever you select a country the checkboxxes(made in Acrobat) should apear.
    But here's the thing: Not all countries need the same documents, so whenever a country does not require (for example) document 3, all checkboxxes of that line should not be visible for the selected country. And on document two the checkbox of the bank should not apear as well.
    I have some experience with creating forms, but not in javascript so I was hoping some of you could help me creating this base for the document?
    Thank you in advance,

    Is it even possible?

Maybe you are looking for

  • Can sombody help me fix this piece of software, it...

    WINDOWS XP PRO SP2 2GB RAM AMD 4000+ 64BIT Latest version of PC Suite, not that its any good is it??? Ok, i have had this software running once, all i get over and over and over, is Imedia Control error blah blah, tried running pc cleaner 3.5, tried

  • How to make a page blind accessible

    Hey Y'all, I run a website for a die-cast toy car manufacturer ( Liberty Promotions - View it here ), The way the page is designed primarily uses images, of the cars, and of the descriptions (we do this so we can control the font, for Pirates 2, we u

  • GR/IR Account with Wrong Commitment Item

    Dear Experts, When we doing GR(MIGO), system is not deriving the commitment item from FMDerive, istead taking the commitment item from offsetting GL entry. Is it common behavior? If not, how to force GR act derived into right commitment item which it

  • Keyboard and trackpad unresponsive - software issue

    Hey guys, first time on the forum but I have quite a severe problem. After a forced shutdown (stupid I know) when I try to use my MacBook the keyboard and mouse are unresponsive (even the caps lock light doesn't work). I know this to be a software is

  • Itunes has encountered an error report and needs to close. help!

    Hello B Noir. Having the same trouble with this error message. Have removed lots of software off PC, deleted user accounts and set up a new one, downloaded iTunes 9 and then the lastest Quicktime. Am now running the spyware link you provided. Detail