Hoppa till huvudinnehållet

How can I add a new item to a dynamically-built checkgroup in a form?

Kommentarer

1 kommentar

  • Chris Dunlop

    OK, just figured it out. I'll post it here to document it.

     

    After the Query Layer, insert a Parse JSON activity, with the JSON expression {"symbol":null,"attributes":{"NTG_BASIN":"Other"}} (note that NTG_BASIN is the attribute)

     

    Insert an Add Item activity. The collection is $query1.features, and the item is $parseJson1.result

     

    The final order of activities is:

    Query Layer

    Parse JSON

    Add Item

    Get Form Element Items From Features

    Set Form Element Items

     

    0

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