Hoppa till huvudinnehållet

Feature Query with wildcard / LIKE operator for form autocomplete

Kommentarer

3 kommentarer

  • Zack Robison

    There is an example for this that ships with WF5. In Workflow designer, navigate to File > New > Samples - Form - Autocomplete. The sample is a fleshed-out version of the ArcGIS Query subworkflow template that you can select when adding an autocomplete form element.

    0
  • Ken Lyon

    Quick answer: The syntax in that example is:

    =`UPPER(STATE_NAME) LIKE UPPER('${$textReplace1.result}%')`

    Longer answer: In that sample, you can see the syntax for what you're trying by doing the following:

    • In the workflow designer, double-click on the "Display Form" step.
    • The form designer appears. Double-click on the middle row of the form to edit the Suggestions subworkflow for the "Auto Complete" element.
    • The workflow designer for the suggestions event appears. Click on the "Query Layer" step.
    • In the right column, locate the "Where" input and click the "Expand" button.
    • You can now see the expression that is used in the query.
    0
  • Permanently deleted user

    Much appreciated to you both - just starting out with GW5...working as should!

    Thanks,

    James

    0

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