Hoppa till huvudinnehållet

Select Distinct for a workflow combobox

Kommentarer

2 kommentarer

  • Permanently deleted user

    Hi Sonia,

                   It seems like you’re trying to get a list of lookup values from an operational layer (the reason you’re using DISTINCT). You should get lookup values from a domain table (ArcGIS allows you to publish tables through map services, please refer to the Esri documentation).

                   If you don’t have access to the domain table, you may consider adding the items manually to the combobox.

    Cheers,

    Christian.

    0
  • Marc Rempel

    Hi,

    I would like to see the combobox/autocomplete box query task parameters include the option to select distinct values that is available with 10.1 layers. 

    I have a scenario that has a cascading combobox pulling topics and attributes from two query layer tables in my dynamic map service.   I need to filter the queries to display topics that vary depending on user selected years/geography type in a preceding form (would prefer the same form, but that is a different issue).  A topic may have many attributes, so there is a one to many relationship.  From my AGS rest endpoint I can create the needed query with the returning distinct values from the attribute table that has my topic names joined to the attribute table.  If there was a way to append the returnDistinctValues=true to the query task parameters, then I would be set.

    Marc

    0

Du måste logga in om du vill lämna en kommentar.