Loading a dropdown box

I am having a nightmare of a time with this, and I know it should be easy. I have a dashboard named "Dashboard - Main" with a dropdown box named "DropDown1" and I want to populate it with the results of a query named "Query1", with the field that I want named "Slsrepid". Can someone show me how to do this, or direct me to a place where I can see an example? I really don't want to have to manually enter each value into the dropbox. Thanks in advance!

There is some sample code in the OnLine Help.
The method for getting data from a Results section is GetCell()
If you open the Script Editor and navigate the Object Tree
Application
---> ActiveDocument
--->---> Sections
--->--->---> Results
--->--->--->--->Methods
--->--->--->--->--->GetCell
Then Click Help button on lower left corner of the editor
Wayne Van Sluys
TopDown Consulting

Similar Messages

  • How to make a choice in a dropdown box render what appears in anothe dropdox box?

    I am currently creating a SP 2013 Site. I have 5 dropdown boxes, when the first one is clicked on (City) it then populates from a lookup table which city is choosen and then fills in the other dropdown boxes. How would I make that happen in SharePoint 2013
    I already have a excelsheet that has all the data for the 5 columns.
    Would I have to create a lookup list first? here is a example I am trying to replicate.
    User chooses the MUNI witch is a dropdown, once I choose ADAMS the other dropdown boxes will auto-populate depending on what MUNI is chosen like below.
    If a different MUNI is chosen, then the other textboxes will pre-populate depending on the MUNI
     

    Hi Soupi,
    Based on you description, my understanding is that you want to implement cascading drop down, loading values in a drop down based on the parent dropdown. Yes its possible to achieve it in SharePoint 2013, if you want to implement in
    NewForm.aspx or EditForm.aspx you can user SP services, refer the link below
    http://spservices.codeplex.com/wikipage?title=%24().SPServices.SPCascadeDropdowns
    If you want to implement it in List Quick Edit view, then you have to relay on JavaScript frame work like
    KnockOut.js where you can leverage your UI provided with cascading drop down in the grid, if you want to implement KnockOut.js, try the link below
    http://blog.credera.com/technology-insights/microsoft-solutions/creating-knockout-js-grid-cascading-dropdowns/
    Thanks, Shakir | Please 'propose as answer' if it helped you, also 'vote helpful' if you like this reply.

  • Dropdown box - which event handler to use ?

    I am having trouble with setting the readonly property (via Javascript) of the adjacent textbox to my dropdown box when the index value is a certain number.
    I tried using MouseUp, MouseDown, and even OnBlur....but the readonly does not seem to be getting set to true or false consistently.
    Could this be a timing issue ? The textbox that I am trying to control is the next tab-order control in the list of controls for this page.
    This same logic is working fine in the MouseUp event handler for check boxes. So I am just wondering if this is a bug or must my implementation change to accomodate dropdown boxes ? For instance, should I move the logic to the Enter event handler of the textbox instead ? Can a control's own eventhandler set itself to readonly when it is the active form field ?

    After tons and tons of testing time, I've come to the conclusion that dropdowns are totally buggy in 11.0.07 release of Acrobat Pro.
    Even if you set the "commit values immediately", you get the PRIOR selected item's value as the event value, not the CURRENT one.
    This occurs in a Validate event handler script. I have not been able to use any other event handlers for a dropdown except the OnBlur....and then, for my purposes, IT'S TOO LATE !!!
    This is totally worthless as I need to setFocus() and set fields to readonly based on the immediate dropdown offset or face value.

  • How to set initial value for a dropdown box?

    Hi,
    Within Netweaver 2004S (BI 7.0) we use integrated planning. In one of our applications we want to use a dropdown box (created with the WAD) to make a selection possible for a characteristic.
    We set up a pre-query to fill the dropdown box (via data binding CHARACTERISTIC_SELECTION) with the proper values. This works fine.
    We pass on the choosen entry (via command SET_VARIABLES_STATE) to a second variable that is used in another query. This command is triggered after the user makes a selection in the dropdown box. Also this works fine. After selection of one entry, the output of the second query is limited.
    We have the following problem: the first time a blank selection entry is added to the dropdownbox and that no values are passed on to the second query. Because it seems that the user first must choose an entry.
    What we would like to do is that one of the found values of the pre-query is automatically selected in the dropdown box and passed on to the second variable (to limit the second query).
    I give you an example:
    The first query delivers value A, B, and C for the characteristic of the dropdown box.
    The first time the dropdown box showns an empty entry, and three additional entries A, B and C. The second query shows all results, because the second variable doesn't receive any value via the command SET_VARIABLES_STATE. The command is not yet triggered.
    When you select A, B or C, the command is triggered and the second query shows only results for the choosen entry (this is correct). Now the empty entry has disappeared from the dropdown box. Only the entries A, B and C are left.
    Is it possible to set up the dropdown box on such a way (or add some script coding around it) that in the initial show for the dropdown box one of the entries is choosen automatically, so that the empty line is not part of the value set of the dropdown box and that the command connected to the dropdown box (in our case the SET_VARIABLES_STATE) is carried out automatically?
    Please, who can help us with this?
    Kind regards and thanks in advance,
    Marcel.

    Hi,
    In BW 3.5,say you want to set default for calmonth.
    In order to avoid the “ALL” option from appearing in the dropdown box,
    filter infobject 0CALMONTH for DP1 by any valid value.
    In the object Data_provider include the lines in Bold:
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DP1"/>
    <param name="QUERY" value="WORKSHOP_CALMONTH_DROPDOWN"/>
    <param name="INFOCUBE" value="0D_SD_C03"/>
    <<b>param name="FILTER_IOBJNM" value="0CALMONTH"/>
    <param name="FILTER_VALUE" value="200401"/></b>
    DATA_PROVIDER: DP1
    </object>
    Hope this helps.
    Anu.

  • Initial value for a dropdown box

    Hello all,
    I have created a web template in the WAD (BI 70) with a dropdown box on a characteristic. A chart is displayed based on the query result. My query is built on an infoset.
    My problem is to populate the filter with an initial value and still let users change the characteristic value in the dropdown (all values for the characteristic is not acceptable in the context) . Also, I don't want the variable screen to show up.
    What is the best approach to achieve this?
    Thanks,
    JL

    In Query Designer you put in your default value in the area to the right in the first pane..
    If you put it on the left hand side, the filter will not be changeable.
    Hope this helps.
    Can give more presise answer if you need it.

  • Dropdown boxes do not work on Firefox 5.0.

    When using the address bar or any dropdown box on Firefox, the drop down menu flashes but will not stay open so that I can use it. I do not have this issue in IE. I have started Firefox in Safe Mode and the dropdown boxes still did not work.
    I can't even use the dropdown box on this form.

    Try the Firefox SafeMode. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    # You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    # Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Issue in WAD Dropdown box functionality. Help req.

    Hello,
    Issue in WAD and Bex.
    I have two dropdown boxes in the web templates, for ex cost center and controlling area.
    DDBox1: Controlling Area.
    DDBox2: Cost center.
    Step1: I am selecting Controlling area 4002
    Step2: I am selecting cost center 691
    Step3: Now I want to change the cost center to 4001.
    When I change the cost center to 4001 in Dropdown box1
    the filter(Selected value 691) set in the Dropdown 2(for cost center) is not removed or reset,
    so that it shows no applicable data found even though there is data for the controlling Area 4001(DDBox2)
    Some one please guide me to solve this
    Thanks in advance!
    Kind regards
    RaM

    Hello,
    Some one please help me on this topic.
    If any further informations required i can give .
    Thanks
    RaM

  • Need help in creating a dropdown box inside a table control

    Hi,
    I need to display a calender upon click event of a dropdown box placed inside my table control.
    Can any body help me out.
    Regards,
    Srinivas

    Try this ex
    TYPE-POOLS VRM.
    VALUES-KEY = 'D'.
      VALUES-TEXT = 'Double Crate'.
      APPEND VALUES.
      VALUES-KEY = 'S'.
      VALUES-TEXT = 'Single Crate'.
      APPEND VALUES.
      VALUES-KEY = 'C'.
      VALUES-TEXT = 'Carton Box'.
      APPEND VALUES.
      VALUES-KEY = 'P'.
      VALUES-TEXT = 'Pallet'.
      APPEND VALUES.
      VALUES-KEY = 'W'.
      VALUES-TEXT = 'Wood.Case'.
      APPEND VALUES.
      VALUES-KEY = 'L'.
      VALUES-TEXT = 'Loose'.
      APPEND VALUES.
      CLEAR VALUES.
      CALL FUNCTION 'VRM_SET_VALUES'
         EXPORTING
           ID                    = 'CRTYPE'
           VALUES                = VALUES[]
        EXCEPTIONS
          ID_ILLEGAL_NAME       = 1
          OTHERS                = 2
    hope it helps..
    Edited by: prabhu p on May 22, 2008 10:55 AM

  • Using a dropdown box to change the specified value of a radio button?

    I have a form that generates the body text for an email.
    First there is a dropdown box in which the choices are either "red" or "blue"
    Further down the page, there is a radiobutton list with 2 items "available" and "unavailable".
    The specified values for these items (as defined on the binding tab) are "have blue hats" or "do not have blue hats".
    This value is concatenated in the email body textfield which is to be copied by the user to an email body:
    Concat("Dear", NameField, "," We ", RadioButtonList, " today. ")  // Dear Persons Name, We have blue hats today.
    Is there any way to change the value of the selected radio button based on the selected dropdown choice?
    So if the user selected "red" in the dropdown field, the radio button values could become  "have red hats" or "do not have red hats"?
    Or perhaps there is a better way from the start?
    Thanks!

    Ok, so now I've done that...
    But is there a way to change that value with another field (ie when a user chooses "red" or "blue" in a dropdown box) so that the concatenated message reflects both the users choice of color and the availibility?
    I'm guessing I should probably use an intermediary text box and put
    InterText.rawValue = Concat ("We have ', dropdown1, " hats today") in the change event of the available radio button and:
    InterText.rawValue = Concat ("We do not have ', dropdown1, " hats today") in the change event of the unavailable radio button.
    then concatenate that box in the final textbox.

  • How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?

    How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?
    I currently run OS X 10.10.1
    Now i have been trying to work on this for a while now and what i want to do should be simple but its apparently not.
    Here is an example of what i want to happen.
    I will have 2 tabs: Contact | Sales
    Now Contacts will have the list of names and various information about a customer, While Sales will have one drop-down box for each Cell Row that will show the names of the person in tab contacts
    for what i am wanting to do i cant use the data format pop-up menu because the list is edited everyday several times a day.
    Now how do i do this, Excel can do this so how can numbers do it?

    Hi Shegra,
    Paste this into a applescript editor window and run it from there. In the script you may need to adjust the four properties to agree with your spreadsheet. Let me know if you have any questions.
    quinn
    Script starts:
    -- This script converts column A in one table into an alphabetized list of popups. It copies the last cell in that column. Then reverts the column to text. It then refreshes popups in column A of a data table starting with a user defined row.
    property DataEntrySheet : "Sheet 1" --name of sheet with popups to be refreshed
    property DataEntryTable : "Sales" --name of table with popups to be refreshed
    set copyRange to {}
    property PopValueSheet : "Sheet 1" --name of sheet with popup values table
    property PopValueTable : "Contacts" --name of table with popup values
    set PopStartRow to {}
    tell application "Numbers"
      set d to front document
      set ps to d's sheet PopValueSheet
      set pt to ps's table PopValueTable
      set s to d's sheet DataEntrySheet
      set t to s's table DataEntryTable
      set tf to t's filtered --this records filter setting on data Entry Table
      display dialog "Start from row #..." default answer "" with icon 1 -- with icon file "Path:to:my.icon.icns" --a Week # row
      set PopStartRow to {text returned of result}
      tell pt --convert list to alphabetized popups
      set ptRows to count rows
      set copyRange to ("A2:" & name of cell ptRows of column "A")
      set selection range to range copyRange
      set selection range's format to text
      sort by column 1 direction ascending
      set selection range's format to pop up menu
      -- popupsmade
      set selection range to cell ptRows of column 1 of pt
      set v to value of cell ptRows of pt
      end tell
      activate application "Numbers"
      tell application "System Events" to keystroke "c" using command down
      tell pt
      set selection range to range copyRange
      set selection range's format to text
      end tell
      tell t
      set filtered to false
      set tRows to count rows
      set pasteRange to ((name of cell PopStartRow of column "A") & ":" & (name of cell tRows of column "A"))
      set selection range to range pasteRange
      tell application "System Events" to keystroke "v" using command down
      set filtered to tf
      end tell
    end tell

  • Is there a way to create forms where certain fields would become required only if there was a certain choice made in a dropdown box in another field?

    Is there a way to create forms where certain fields would become required only if there was a certain choice made in a dropdown box in another field?

    Yes but you will have to create some custom JavaScript to do this.
    Also you should be aware that the "Required" property is only processed when the form is submitted to a scripted web page or "mailto:" process.

  • How to populate a dropdown box based on a selection in another Dropdown box.

    I am trying to find out a way to do the following:
    I am using coldfusion ....working on a form. The form has
    couple of dropdown boxes. Based on the selection on the first
    dropdown box another dropdown box needs to get populated with
    different options. These options will be coming from a query. I am
    trying to find out the Javascript code for doing this.
    Thanks in advance.

    jchopra,
    There's a method to doing what you're wanting to do that I've
    used extensively.
    Basically, within my code, I start by invoking the method
    that returns the data for the dropdown lists. Then, I use the
    following code to pour the data returned into a javascript array:
    var locArray = new Array(#evaluate(locs.recordcount+1)#);
    locArray[0] = new Array('','','','','','','','','',);
    <cfloop query="locs">
    locArray[#locs.CurrentRow#] = new
    Array('#JSStringFormat(locationId)#',
    '#JSStringFormat(fkyPolicyId)#',
    '#JSStringFormat(locationNumber)#',
    '#JSStringFormat(description)#',
    '#JSStringFormat(address1)#',
    '#JSStringFormat(address2)#',
    '#JSStringFormat(zipcode)#',
    '#JSStringFormat(city)#',
    '#JSStringFormat(state)#';
    </cfloop>
    Then I wrote a javascript function that is assigned to the
    first dropdown's onChange() event. When the user changes the value
    that is selected within the dropdown, I use javascript to locate
    (using the policyid) the corresponding record in the javascript
    array and populate and/or select the appropriate value(s) in the
    second dropdown.
    If the data returned from the method invocation is too large
    to use within a javascript array, you may need to limit the results
    that are returned.
    Hope this makes sense. If not, please let me know.
    ds

  • How can I validate a dropdown box to NOT accept the default value?

    I have a fillable form where I need the user to select their "Number of Employees". I have added several ranges as their options in a dropdown box (1-10, 11-25, 26-50, 50+). My issue is the "defult value" is set to "1-10" and people submit it without changing it to the correct value.
    I have changed the default value to "--Select One--", but it still lets them submit the form with that value entered.
    I am assuming I need some sort of validation script that will basically say - "If the value in this field is --Select One-- do not submit the form, but give an error that says 'please select your number of employees" or something along those lines.
    Basically I just want them to pick something as opposed to just submiting it with the default value.
    I have looked all over and am not very good with JS.

    You can not have the default value set to a real possible value. You need a value that should be selected.
    Then for your submit script you need to test all of your required fields to make sure they are not at the default value.
    You make a variable that assumes all the required fields are completed and then check each field and if any one still has the default value you set your variable to "false" and then when you have checked all the fields you test your variable's value and only if it is true to you submit the form.
    var bSumbit = ture; // logical variable for submission test
    // test drop down # of employess
    this.getField("Number of Employees".).required = false; // clear required property
    if(this.getField("Number of Employees".).value == "--Select One--") {
    bSubmit = false;
    this.getField("Number of Employees".).required = true; // set required property
    if(bSubmit) {
    // your submit acation;
    } else {
    app.alert("Not all required fields properly completed", 0, 1);

  • IC WebClient: Add Dropdown Box to TableView

    Has anyone successfully added a dropdown box inside of a CRM IC WebClient table that uses a context node?  If so, I would appreciate some advice!  I have read Brian's blog about table view iterators, but as usual the application in CRM is slightly different. 
    I'm working with a custom column in the result list (Customers context) on the BuPaSelectCustomer view.  I want my custom column to be editable via a dropdown box.  Here's what I've done:
    1) Created a custom class that implements the IF_HTMLB_TABLEVIEW_ITERATOR interface
    2) Created an attribute of the Customers context class called ITERATOR that is typed as the new class in #1
    3) Added the iterator attribute to the crmic:tableView
    element in the page which points to the attribute defined in #2: iterator = "<%= customers->iterator %>"
    4) Set edit = "TRUE" attribute in the crmic:tableViewColumn element for my new column named 'ZZSLSTATUS'
    5) In the controller class SET_MODELS method:
    * Create iterator for table
      IF NOT iterator IS BOUND.
        CREATE OBJECT iterator TYPE ZCL_CRM_SELCUST_TV_ITERATOR
          EXPORTING
            ir_context_node = typed_context->customers.
      ENDIF.
    The constructor looks like this:
    method CONSTRUCTOR .
      gr_context_node = ir_context_node.
    endmethod.
    6) GET_COLUMN_DEFINITIONS looks like this:
      data: wrapper type ref to cl_bsp_wd_collection_wrapper.
      gv_current_line = 0.
      gv_tableview_id = p_tableview_id.
    * get the wrapper of the context node
      wrapper = gr_context_node->get_collection_wrapper( ).
    * fill the local iterator
      gr_iterator = wrapper->get_iterator( ).
    7) RENDER_ROW_START looks like this:
    * Position on correct index
      gr_iterator->get_by_index( iv_index = p_row_index ).
    8) RENDER_CELL_START looks like this:
    DATA: LT_RECSTAT      TYPE TABLE OF IHTTPNVP,
          LS_RECSTAT      TYPE IHTTPNVP,
          LR_COL_DROPDOWN TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
    FIELD-SYMBOLS: <TABLE> TYPE  TIHTTPNVP.
    * Simple 1 record table for now
      LS_RECSTAT-NAME  = '1'.
      LS_RECSTAT-VALUE = 'Not Called'.
      APPEND LS_RECSTAT TO LT_RECSTAT.
      CASE P_COLUMN_KEY.
        WHEN 'ZZSLSTATUS'.
          IF NOT P_EDIT_MODE IS INITIAL.
    *       Create replacement bee to show a dropdown listbox in the
    *       table cell
            CREATE OBJECT LR_COL_DROPDOWN.
            LR_COL_DROPDOWN->ID                = P_CELL_ID.
            LR_COL_DROPDOWN->NAMEOFKEYCOLUMN   = 'NAME'.
            LR_COL_DROPDOWN->NAMEOFVALUECOLUMN = 'VALUE'.
            TRY.
                CREATE DATA LR_COL_DROPDOWN->TABLE TYPE TIHTTPNVP.
              CATCH CX_SY_CREATE_DATA_ERROR.
                RETURN.
            ENDTRY.
            ASSIGN LR_COL_DROPDOWN->TABLE->* TO <TABLE>.
            IF SY-SUBRC = 0.
              <TABLE> = LT_RECSTAT.
            ENDIF.
            LR_COL_DROPDOWN->SELECTION = GR_CONTEXT_NODE->GET_ZZSLSTATUS(
                                                ATTRIBUTE_PATH = ''
                                                ITERATOR = GR_ITERATOR ).
            P_REPLACEMENT_BEE = LR_COL_DROPDOWN.
          ENDIF.
      ENDCASE.
    Nothing happens to the cells in my column (they still appear as uneditable with their initial values) and my breakpoints aren't hit in the custom iterator class methods when the table is rendered.  Any ideas? 
    Thanks,
    Brad

    Brad or anyone who could help:
    I found this article very useful and tried to follow the samples. I am not very experienced in BSP and I only need to add a column to BuPaSelectCPforCustomer IC webclient tableview.
    Step 1 - done.
    step 2 - I am not sure I did it right. I created a custom class ZCL_CRM_IC_BUPASELCP_CN02 for CONTACTRELATION and added an attribute ITERATOR to the class.
    step 3 I add this to crmic:tableView
       iterator = "<%= CONTACTRELATION->iterator %>"
       but I go compile errors like "Field iterator is unknown".
    Step 4 - skip
    Step 5 - I assume the controller class is the top controller which in my case is ZL_CRM_IC_BUPASELECTCPFOR_IMPL->SET_MODELS. I added this code:
         IF NOT iterator IS BOUND.
         ENDIF.
    I got the same compile errors like "Field iterator is unknown".
    I think I missed something somewhere. I would really appreciate it if you could shed more light on this.
    Thank you so much.

  • Dropdown Box in WAD (Please help me as i posted many times,but no infos)

    Hello ,
    I have defined two drop down box one for Plant and other for Material.
    Plant has 14 entries and Material drop down has 100 entried for every plant.
    Now Dropdown Box is assigned with characteristcs info object 0PLANT
        2nd    Dropdown Box is assigned with characteristcs info object 0MATERIAL
    Plant is used as an Compounding attribute of 0material.
    When i select plant 4040 corresponding material numbers will be displayed in dropdown box of material.
    After that i am selecting a material from that dropdown box.
    Now if i change the plant it is not displaying me any values even though there is data for that plant.
    The dropdown box keeps the previous selection and it is not getting refreshed .
    How to solve this issue.
    Please help me!
    Kind regagrds
    Ram
    Points will be assigned

    Hello Rakesh,
    Thanks for the informations,
    But already these options were selected.
    My issues in if i select 1st drop down box and  then select second drop down box the values are displayed.
    Now if i make change in the 1st drop down box the previous selection of the first drop down box was not cleared and because of that it does not show the values in the chart or table.
    i need to solve this issue,
    Please help me with informations
    Lots of thanks in advance
    Kind regards
    Ram

Maybe you are looking for

  • Video Resolution

    I recently made some videos for IPOD with Super. Everything worked well exept that the videos are small. In super I used the IPod 5.5G output container which had the resolution set at 640:352. What should the resolution have been? Thanks.

  • How I can to download sold-to-party and ship-to-party with the relationship

    Hello, I want to know how I can to download sold-to-party and ship-to-party through Middleware form R/3 to CRM and kept the relationships just as be defined in R/3 When I downloaded a sold-to-party or a ship-to-party to CRM, they created in CRM as BP

  • .kep file extension

    Dear Colleagues, I need to your help in opening of a document. The file type is kep.Its a sapshow file. I missed it completely while it got expired. Now when I try to open it the system gives me a message saying " The presentation has expired". Can a

  • Microphone not working on pavilion dv7 Notebook QG728EA#ABU Windows 7 Pro

    Well I am sorry to see no one has yet to reply to my post on my defective laptop. But if anyone at HP support would reply it would be helpful!!! Also to add now to the microphone fault above and I now experiencing problems with the in-built video cam

  • Rendering Forms using SOAPClient - file not being found

    Hello, I keep getting an error saying that the file is not found while trying to render my form using the SOAP Client. Even though when I copy and paste the EXACT path given in the JBoss log file, the file comes up. I have the LiveCycle form server o