Skip to main content

Is it possible to add DataItems to a Combobox in Runtime Modifications?

Comments

4 comments

  • Berend Veldkamp
    The ComboboxFormItem has a DataItems property. You can use AddToCollection or AddRangeToCollection to add items to that list.
    0
  • Permanently deleted user
    That did it.  Thanks!
    0
  • Permanently deleted user
    Can I get a little more clarification on this?  I have a DataItem List I created from my SQL query.  Is there a way to assign this list to the combobox?  Or, do I actually have to iterate through the DataItem list and add items one by one to the combobox?
    0
  • Permanently deleted user
    Hi Tami, 

     

    On the DisplayForm activity, look for the "Input Data" section.  There will be a property that can be used to assign a DataItem list directly to your combobox.  Just put your existing DataItemList variable in that box - and if you were previously using a different method to populate to combobox (like an ArcGIS Server query in the form designer), clear that part out. 

     

    _img_ alt="Input Data section on DisplayForm" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f200000013pn&feoid=Body&refid=0EMf2000000xFrN"_/_img_

     

    Hope that helps! 

     

    -Amanda
    0

Please sign in to leave a comment.