Add a extra item to a dropdown list in Creator 2

In Creator 2,
I created a dropdown list and bound it to a database.
The dropdown is working fine and displaying the values
from the database. I would like to know is there anyway
to add extra items to the same dropdown list without
adding it to the database, like an option "ALL" or a
default option which could be blank.
Thanks in advance.
Daniel

Please see this thread for instructions on how to add an "All" option to the top of a drop down based on a database:
http://swforum.sun.com/jive/thread.jspa?threadID=63252

Similar Messages

  • Strange item in desktop dropdown list after CS4 installed

    Since installing CS4, there is a new item in the dropdown list when I
    right-click on my desktop
    The new item is "Adobe Drive CS4". It has two items showing under it. They
    are "Connect to", and "New Project". The "New Project" is greyed out, even
    when Photoshop CS4 is running.
    Can anyone advise me what this is all about?? CS3 is still installed, but I
    will be removing it shortly. But it did not create any such item in the
    list.
    Ron Hirsch

    OK, so I now know what it is. But why is it there in the dropdown listing?
    If I click on "connect to", a small window opens, And, this last time that
    the window opened, it actually had text in it explaining what you did
    explain. Previous times had nothing in the box explaining anything.
    I don't feel I have any need for Version Cue or Adobe Drive CS4, but I see
    no way to change anything there. I did not install Verson Cue when I
    installed CS4. I don't see it in my Windows services listing, nor in the
    list of many startup items. I'd like to uninstall Adobe Drive CS4. I see a
    listing the XP programs window of "Adobe Drive CS4". But I see no path to
    get rid of that. Is there a path to do so?
    A new search in Google turned up the following
    ++++++++++++++++++++++++++++
    Any of you who have installed Adobe CS4 will know you will get a context
    menu entry for Adobe CS4 Drive, even if you chose not to install the actual
    program so effectively the entry is useless. After some googling and
    experimenting found two ways to remove it.
    1. Install & Uninstall
    Install Adobe CS4 Drive using the installer then uninstall it. This seems to
    get rid of it.
    2. Manual Remove
    Open Regedit and delete these two entries.
    HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers\{C95FFEAE-A32E-4122-A5C 4-49B5BFB69795}
    HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\{C95FFEAE-A32E-4122-A5C 4-49B5BFB69795}
    +++++++++++++++++++++++++++++++++
    I'll probably do the Registry editing
    Ron Hirsch

  • Dummy parent item that displays dropdown list in smartphones

    Does anyone know how to create a dummy parent that will display the child items in the dropdown list? Or do you have to create an actual page for all parent items? I don't have a smartphone so I can't experiment (is there an online site that provides this service, similar to the no-defunct Device Central?)...

    Does anyone know how to create a dummy parent that will display the child items in the dropdown list?
    What do you mean by a parent item? Do you want to create a navigation or just a simple dropdown list? If it is a dropdown list, why are you talking about an 'actual page' for it? Please elaborate your question to help us help you. Thank you.

  • How to have a unique list of items for separate dropdown lists?

    Software: Acrobat X (10) pro on Windows
    I want to create a pdf form in which all dropdown lists are populated with the same list of items to choose from. If I use the same field name for all drop down lists, the item selected in one dropdown list is automatically selected in all lists. This is not what I want. I wish to be able to select a different item in each & single dropdown list. I could of course maintain separate item lists for each field (using separate field names) but what a waste of time!... especially as the field lists would then have to be updated separately. There's got to be a better way to do it.
    Any idea how this could be achieved? Thank you.

    Here's a sample script that first defines a list of items in an array and uses it to update a number of dropdowns, name dd1...dd10:
    // Populate an array with the list items
    var aItems = ["-- Select a state --", "Alaska", "Hawaii", "Washington", "Oregon", "Idaho", "Montana", "Wyoming", "Nevada", "Colorado", "Arizona", "New Mexico"];
    // Loop through the dropdowns...
    for (var i = 1; i < 11; i += 1) {
        // ...and set the list items
        getField("dd" + i).setItems(aItems);
    That's all there is to it. This can be run from the Mouse Up event of a temporary button that you create, the interactive JavaScript console (Ctrl+J), etc.
    More info on setItems: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.752.html

  • Add/update an item to an external list using Designer WF

    Hi,
    I have two lists (A & B). A- regular SharePoint list, B- External list.
    Now, I have a Designer WF on A to add/update the items to the B. Unfortunately, SP 2013 killed the feature to update the external list directly using Designer WF 2013. However, I was able to use REST services to add/update item to the external list from
    the browser either using Fiddler or Mozilla client side tools.So I thought I could use Designer HTTP call action to achieve this.  But when I tried to use the HTTP call from the Designer WF, it won't add/update the items to B. I thought I was doing some
    kind of mistake while doing that HTTP call, so I tried replacing the list guid to some other regular list and it works. Its not working for an external list but working for any regular list.
    I'm not sure why I could not do that using the Designer while I can do it from browser. Can someone please help me out?
    Thanks!
    Thanks, Hitchs

    Hi Jeroen,
    Use following funtion call with mentioned parameters
    call function 'CRM_ORDER_MAINTAIN'
          exporting
            it_status         = lt_status1
          changing
            ct_input_fields   = lt_input_fields
          exceptions
            error_occurred    = 1
            document_locked   = 2
            no_change_allowed = 3
            no_authority      = 4
            others            = 5.
    here in for parameter lt_status1 u can fill up your required status and then execute the FM.
    After that execute FM BAPI_TRANSACTION_COMMIT.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • Not All Items Appearing In Dropdown List

    Hi,
    You have a newbie here. I am trying to populate a dropdown list in a JSP with the following code, but not all the records are being displayed (approximately 4900 records are displayed). The Submit button that follows this Select tag is not being displayed, nor are any error messages being encountered. The last Option tag is incomplete. Any clues?
    Thanks,
    Neil.
    +{color:#0000ff}Vendor: <select name="gsdb">+
    +<% String vGSDB = null;+
    String vName = null;
    String GSDB = null;
    +if(request.getParameter("gsdb") == null){+
    GSDB = "";
    +}else{+
    GSDB = request.getParameter("gsdb").toString().substring(0,5);
    +}+
    i = 0;
    +while(i < vendorName.length) {+
    +if (vendorName == null) {+
    break;
    +}+
    vGSDB = vendorName.substring(0,5);
    vName = vendorName.substring(6);
    +if(vGSDB.equalsIgnoreCase(GSDB)) {+
    out.println("<option value=\"" vGSDB + "\"selected>" + vName + " **" + vGSDB + "**</option>+
    +");+
    +}else{+
    +out.println("<option value=\"" + vGSDB + "\">" + vName + " **" + vGSDB + "**</option>+
    +");+
    +}+
    +i++;+
    +}+
    +%>+
    +</select>{color}+

    You have 4900+ records?? I'd say there was some exception being thrown somewhere, either you're running out of memory or something. Your response isn't coming completely which indicates that your output was interrupted but since it had been committed, the server couldn't redirect to an error page or display the exception or stack trace.
    Check your logs, there'll definitely be something there.

  • How to display configuration items as a dropdown list

    Hi,
    When delivering a repository manager, we need provide a configuration archive (cc.xml and co.xml). For an attribute cc.xml, can we display it as a dropdown list and let user choose the value?
    For example, in cc.xml:
    <attribute name="Protocol" type="string" default=""/>
    I want do display a label "Protocol" before a dropdown list, in which the user can choose from "HTTP" and "HTTPS".
    Normally the user can only fill in the blank of the attribute, but I wanna let user choose the value.
    Thanks,
    Ray

    Hi,
    I think you cannot change the label on thy fly. The internationalization on other hands should work.
    Let's say you have in your <b>XXXX.cc.xml</b> this:
    <b><attribute name="param_protocol" type="enum"/></b>
    Create in the folder where you have <b>XXXX.cc.xml</b> file a folder <b>bundles</b>. inside this folder, inside this folder another folder <b>classes</b>. Here create a file <b>XXXX.properties</b> (XXXX is from your config name). So you will get this structure:
       XXXX.cc.xml
       bundles
          classes
             XXXX.properties
    Inside this file you define labels for your properties, in this case:
    lbl.param_protocol=Protocol
    In fact I haven't tried it in another language, I suppose that creating <b>XXXX_de.properties</b> shold do the trick for DE language and so on.
    Hope this helps,
    Romano

  • Unable to add items to dropdown list using javascript

    Hi,
    I'm trying to add additional items to a dropdown list at runtime using javascript.
    I'm doing this by invoking the addItem method on the dropdown list field during its initialize event.
    However when I run the generated pdf in Acrobat Pro, I get the following error in the console -
    GeneralError: Operation failed.
    XFAObject.addItem:3:XFA:form1[0]:#subform[0]:field0[0]:initialize
    Method: 'addItem' cannot be called because doing so would violate this document's permissions settings.
    The pdf form has no signatures or any other stuff in it.
    What additional permissions do I need to add and how ?
    You can view the pdf here -
    https://dl.dropboxusercontent.com/u/8022836/xfa3_test.pdf
    Thanks,
    Joel

    Is there a reason to use the code you did? It looks like the problem is with the variable's permissions when going through the template.
    This code works just fine in that same event:
    this.addItem("new item");
    As does:
    var f = xfa.resolveNode("form1.#subform1[0].field0");
    f.additem("new item");

  • Add element in dropdown list dynamically

    Hi All,
    I am facing a problem in adding item in a dropdown list dynamically.
    When i get dropdown list through IgetElementById get null.
    var list = document.getElementById("targetgroupname");
    here list comes as null. Now I've to fill this list. I am using below code -
    for(var j=0;j< com.length;j++){
    iist.options[j]= new Option(com[j],com[j]);
    But it is not working. My list is not getting filled with these values.
    I doubt due to var list -> null it does not allow to add element.
    But I am not getting any clue, how to initialize it.
    Please suggest, I am new to javascript.
    Thanks & Regards,
    Sneha.

    Hi,
    Thanks for the reply, yes the select box has that id - targetgroupname.
    actually there are 2 dropdown lists, Based on the selection of first dropdown list another list shd be filled.
    So I've written a script at "onchange" of first dropdown list. It works fine when a value gets changed at first dropdown list.
    In some cases I've to display a preselected value at first list ( which comes from previous page as parameter), in that cases there will be no onchange on first list, so I've called the script function manually after creating the first list,like below :
    <SCRIPT> checkSource();</SCRIPT>
    and in this case it does not work & I get a null when i try to read the 2nd list.
    But I am not sure why it is happening.. may be it is not loaded /created on page when i am calling it.
    If yes, what shd I do ?
    Thanks for your time.
    Regards,
    Sneha

  • How to Add values to dropdown list in runtime

    Hi All
    I wanted to add the items to the dropdown list in the plugin.
    The SDK Example WriteFishPrice shows the items are hard coded in the .fr file.
    i am looking for a similar concept, but not adding the items in the .fr file, i wanted to add the items in the .cpp or .h files and add the items to the dropdownlist.
    DECLARE_PMID(kWidgetIDSpace, kWFPDropDownListWidgetID, kWFPPrefix + 2)
    The declaration is done in WFPID.h file
    #define kWFPDropDownItem_1Key kWFPStringPrefix "kWFPDropDownItem_1Key"
    defining the string is done in WFPID.h
    I wanted to add the items in the same header file, is there any way that i can add the items in the header files instead of adding in .fr file
    Please guide me
    Thank you
    -Srinivas

    Hope this will help you a bit with both threads ; )<br />I'm not sure what you are trying to accomplish with defining the strings in an header or cpp file and not in the fr file(s). Usually you sort of predefine strings in the main fr file and then give a "final" translation definition for each string in the corrosponding language file. If you don't need or want to translate you can define string constants almost wherever you like and add them at runtime e.g. during dialog initialization. In this case you'd have to make each string not to be translateable with PMString.SetTranslatable(kFalse).<br />If you want to add items to a listbox or text edit during runtime you just have to get the interfaces and call their methods. Below is a small example taken from a dialog with a dropdown listbox, a text edit field and a button widget. In the DialogObserver I implemented the Update function to the following functionality:<br />- when the button (Insert Button) is pressed the content of the edit field is read and inserted into the listbox<br />- when something in the listbox is selected, the selection is shown/inserted into the text field<br /><br />void VSPDialogObserver::Update<br />(<br />     const ClassID& theChange,<br />     ISubject* theSubject,<br />     const PMIID& protocol,<br />     void* changedBy<br />)<br />{<br />     // Call the base class Update function so that default behavior will still occur (OK and Cancel buttons, etc.).<br />     CDialogObserver::Update(theChange, theSubject, protocol, changedBy);<br /><br />     do<br />     {<br />          InterfacePtr<IControlView> controlView(theSubject, UseDefaultIID());<br />          ASSERT(controlView);<br />          if(!controlView) <br />               break;<br />          <br />          InterfacePtr<IDialogController> dialogCtrl(this, UseDefaultIID());<br />          if (!dialogCtrl)<br />               break;<br /><br />          InterfacePtr<IPanelControlData> panelControlData(this, UseDefaultIID());<br />          if (!panelControlData)<br />               break;<br /><br />          //get currently selected/active widget<br />          WidgetID theSelectedWidget = controlView->GetWidgetID();<br />          <br /><br />          // is it the drop down list?<br />          if (theSelectedWidget== kVSPDropDownWidgetID) <br />          {<br />               TRACE("ListBoxAction");<br />               //insert selected string into edit field<br />               PMString strSelection =     dialogCtrl->GetTextControlData(kVSPDropDownWidgetID);<br />               strSelection.SetTranslatable(kFalse);<br />               dialogCtrl->SetTextControlData(kVSPTopEditBoxWidgetID, strSelection);<br />               break;<br />          }<br /><br />          // ist it the text edit field?<br />          if (theSelectedWidget == kVSPInsertButtonWidgetID && theChange == kTrueStateMessage)<br />          {<br />               TRACE("Insert Button pressed");<br />               IControlView* listView = panelControlData->FindWidget(kVSPDropDownWidgetID);<br />               InterfacePtr<IStringListControlData> listControlData(listView, UseDefaultIID());<br /><br />               //Insert the string into listbox<br />               PMString strText = dialogCtrl->GetTextControlData(kVSPTopEditBoxWidgetID);<br /><br />                        // obviously there can't be a translation for text entered by user<br />               strText.SetTranslatable(kFalse);<br />               listControlData->AddString(strText,kVSPTopEditBoxWidgetID);<br />          <br />               //"clear" the text edit field<br />               dialogCtrl->SetTextControlData(kVSPTopEditBoxWidgetID, "");<br />               break;<br />          }<br />     } while (kFalse);<br />}

  • Add new configuration item in the List Settings

    All,
    I would like to add a new item "configuration" in the list settings. For example, the list settings already have following items
    List name, description and navigation
    Versioning settings
    Advanced settings
    Validation settings
    Audience targeting settings
    Rating settings
    I would like to add a new one and do coding on it
    Thanks ^_^

    Hi Andy,
    Thanks for posting your query, Kindly browse the below mentioned URLs to add custom properties in List/library settings step by step
    http://sp2013.blogspot.in/2013/01/sharepoint-2013-list-custom-form.html
    http://www.enjoysharepoint.com/Articles/Details/create-custom-list-property-in-sharepoint-list-settings-10536.aspx
    http://www.c-sharpcorner.com/UploadFile/sagarp/create-custom-list-property-in-sharepoint-list-setting/
    http://johanolivier.blogspot.in/2010/07/custom-settings-for-sharepoint-list-or.html
    http://www.dotnetspark.com/kb/5657-create-custom-list-property-sharepoint-list.aspx
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • Add values in Dropdown list

    Hi,
    My reqiurement is to add values in Dropdown list which is standard one. Already threre some values are there, like
    hourly,daily,wekly.
    Now I need to add montly value to the above dropdown list.How this can be done.
    Suggest me.
    Thanks,
    Brahmaji

    Hi,
    Expand the Attribute Period_type and double click on its GET_V method.
    You will find following code line :
    lr_ddlb->set_selection_table( me->job_wizard ).
    Double click on the Set_selection_table method to open the method code.
    You will find a LOOP.. ENDLOOP there. Here,to remove the values, comment out this LOOP- ENDLOOP.
    and  add following lines
             ls_ddlb-key   = 'Y'.
            ls_ddlb-value = 'Yearly'.
            APPEND ls_ddlb TO me->ddlb.
    Thats All .
    Hope it Helps.
    Regards,
    Suchita

  • Javascript needed - need checkbox to check automatically based on selected item from dropdown list

    I am building a fillable form.  In this form, I have created items in a dropdown list.  Based on the item picked from the dropdown list, I need a corresponding checkbox to be checked.  I am certain there is an easy javascript to resolve my current problem.  Please assist.
    For example: dropdown list field (SubSupplier1) -   Demolition                            export value 2
                                                                                    Rough Carpentry Labor       export value 4
                                                                                    Rough Carpentry Material    export value 3
    I need the corresponding checkbox (SalesTax1) to automatically be checked when Demolition (export value 2) or Rough Carpentry Material (export value 3) is selected.
    Thank you,
    Jennifer

    Hi Jennifer,
    This should help you do what you need. Place it in the Custom Calculation property of the dropbox and select "commit selected value immediately" in the fields options:
    var drop = this.getField("SubSupplier1");
    var check = this.getField("SalesTax1");
    if ((drop.value == 2) || (drop.value == 3)){
    check.checkThisBox(0,true);
    else {
    check.checkThisBox(0,false);
    The code is asking if the export value of the field is either '2' or '3' and if so, check the box.
    Otherwise uncheck the box.
    If you don't want it to uncheck on other selections, remove the 'else' section of code.

  • Me21n change line item dropdown list value

    hi experts,
    i have a requirement to automatically remove the aulty po line item when user click on CHECK or SAVE button, i done this by removing the record from ETT[] and POT[] at ENHANCEMENT-POINT mm06ef0p_pruefen_01 SPOTS es_mm06ef0p_pruefen INCLUDE BOUND.
    it is working fine except one scenario which is, if the faulty line item is 00020, and the line item dropdown list is selected line item 20, after i removed the record from POT[], it hits abap runtime error. when i check at debugger, it is caused by system will look for line item 00020 ( follow dropdown list value ) but the record is removed, so come to error... it is working fine if the dropdown list is selected line item 10.
    so i am looking for a way to change the dropdown list value.
    or you all have some other suggestion?
    please help... i need it urgently coz i have been solving the problem for 2 weeks....
    thanks a lot

    Hi,
    generally it's not a good idea to delete item without using standard method. You can see one example why it is usually complicated. Maybe I have a workaround for you. You can try to use BADI ME_PROCESS_PO_CUST. There is a method CHECK where you get reference to PO header. You can easily get references to your items by calling method GET_ITEMS. So you will perform your check for each item and for wrong items you will call method INVALIDATE. This item will be marked as invalid and it will not be posted. Here I do not know how it will be displayed to user. Maybe the user will have to delete this item manually.
    Cheers

  • How to select an item from a dropdown menu using Enter key

    A website I frequently use opens with a dropdown menu. Using my former browser, I was able to select the an item from the dropdown list by hitting the first letter with my keyboard and then hitting Enter. (Think of entering an address and selecting TX from a dropdown menu of states. Often you can hit T twice to get to TX and then the Enter key will advance the cursor to the zip code field.) Since converting to Firefox, the Enter key no longer works to advance to the next screen...I now have to move the mouse to a "Go" button and click it after selecting the desired item from the downdown menu. It's a small thing, but constantly switching back and forth between mouse and keyboard is becoming annoying. Is there an option in Firefox to select items simply by highlighting them in the dropdown menu and hitting the Enter key, instead of having to use the mouse to click a "Go" button? Thanks

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Open file script

    i have a button that when clicked i would like to open a new file. how do i create a link between this button and file?

  • OData $filter option with two filters in HTML5

    Hello, I tried to implement two filters: oTable.filter(oTable.getColumns()[4],oAuto.getLiveValue()) ; oTable.filter(oTable.getColumns()[6],oAuto2.getLiveValue()) ; But I does not work. I get in console the message: The following problem occurred: Req

  • IGM snooping with Q-in-Q

    Hi. Since I am planning certain network I am wondering if following case would work regarding multicast and Q-in-Q: There are 3rd party access devices which perform Q-in-Q on end user traffic. Traffic is further aggregated to Cisco Metro Ethernet net

  • Download Manager can't find JRE

    I use WinXP Home. I wanted to download "Sun Java Studio Enterprise 8.1" using the Sun Download Manager. The web page gave the message: "We were unable to detect a recent version of Java Runtime Environment (JRE) on your system. " I did the following:

  • HttpURLConnection : reduce data transfer

    Hi everybody, I am using the code below b4 parsing the HTML page.      try           URL u=new URL("http://someWebpage.com");                 HttpURLConnection con=u.openConnection();                 BufferedReader Buf = new BufferedReader(new InputS