Combo box displaying feature of interest
Our Combo box automatically fills in with the first alphabetical municipal name in our list that it is querying. I am trying to get it to show the Municipality that the Feature of Interest the user has clicked on, with all the others avai lable in the box when they click on the pull down arrow. Does anyone know how to get the ? value to show up in the ComboBox display field for the feature of interest that was clicked? /customer/servlet/servlet.FileDownload?file=00P6000000elzpoEAA /customer/servlet/servlet.FileDownload?file=00P6000000elzhBEAQ
-
Sounds like a runtime modification. I haven't tried it myself, but I'm guessing that SelectedValue might take care of it?
Here are the runtime modifications for the ComboBoxFormItem from the Workflow Designer help doc.
- form.Find(Of ComboBoxFormItem)("ComboBox1").ArgumentName
- form.Find(Of ComboBoxFormItem)("ComboBox1").DataItems
- form.Find(Of ComboBoxFormItem)("ComboBox1").IsVisible
- form.Find(Of ComboBoxFormItem)("ComboBox1").Label.Text
- form.Find(Of ComboBoxFormItem)("ComboBox1").QueryLayerSource
- form.Find(Of ComboBoxFormItem)("ComboBox1").QueryServiceUrl
- form.Find(Of ComboBoxFormItem)("ComboBox1").QueryWhereClause
- form.Find(Of ComboBoxFormItem)("ComboBox1").SelectedValue
- form.Find(Of ComboBoxFormItem)("ComboBox1").Token
- form.Find(Of ComboBoxFormItem)("ComboBox1").ToolTip
0 -
That was it John. SelectedValue.
Thanks much.
0 -
Hey, thanks for posting the question; it was good timing. I just used SelectedValue this week.
0 -
Hi, what version of the software are you using please?
I'm unfortunately still having to run Essentials 3.15.1 / SL Viewer 1.10.1 and I can't get this to work.
Form runtime modification includes form.Find(Of ComboBoxFormItem)("ComboBox1").SelectedValue = "Beta". Beta is a valid value in the combo box, however instead it just defaults to the first value.
Was this a recent fix/improvement?
Thanks
0 -
I'm not sure when it was added. I'm running GE 4.1.2 right now. Check the help doc in Workflow Designer for the Display Form activity. It should list the available modifications for the version you're running.
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare