Skip to main content

Using Create List collection

Comments

6 comments

  • Permanently deleted user

    Hi Gareth,

         Do you have any particular reason to want to run the query on the server? You can simply configure the ComboBox in the form designer to accomplish the same thing.

         The only reason to use the input parameter to a ComboBox/ListBox is to provide it with data that doesn't come from a map service/feature service.

    Cheers,

    Christian.

     

    0
  • Permanently deleted user

    Thanks Christian,

    not sure what I was thinking there!! obviously I wasn't ; )

    cheers

    Gareth

    0
  • Permanently deleted user

    Christian,

    ok, I've got a question then that extends on the populating of values in lists, regardless of client or server side querying - I managed to get the server side list sorted, but it's displaying the 'code' integer of the coded domain, not the description. Is there a simple way of presenting the description to the user/

    cheers

    Gareth

     

    0
  • Permanently deleted user

    Gareth/Christian,

     

    I have the same issue, from what I could figure, Geocortex doesn't handle the domain or subtype values in forms etc.  I had to manually enter the subtype values into the combobox...not ideal but still worked with my query later in the workflow.  I would love to be proven wrong though..

     

    Ben

    0
  • Permanently deleted user

    Hi Ben/Gareth,

        The form are using a query task internally and unfortunately, Esri doesn't perform the coded domain value replacements in query task, they only do it in the identify task. But identify task are spatial only and do not use a where clause.

        In a future version of forms, We may introduce a new option that will allow you to populate a ComboBox/ListBox from the coded domain values of a particular field in a layer. The coded domain value information is actually available on the REST endpoint of a map service layer.

        In the mean time, if someone wanted to do some extra coding, they could create a custom rest endpoint (a technology offered by Essentials) that accepts the parameters of a query task as used by forms and it would return the coded domain values in the format returned by a query task. This would make a nice code gallery sample. This is an advanced solution.

    Cheers,

    Christian.

     

    0
  • Permanently deleted user

    Thanks Christian,

    our local distributor has confirmed it also... so not great news. Would really love a future version of forms to incorporate domains - could this please be added as an enhancement request x2 (and I'm sure there'll be more!)

    The coding's a bit out of my league, so I'll stick to hard coding the 30 or so, it's not that bad luckily.. ; )

    cheers

    G

    0

Please sign in to leave a comment.