Zum Hauptinhalt gehen

I'm using Query Layer to filter the result, but I need to have a union of 2 attributes/columns and output into 1 column with a new column name. Please share your thoughts.

Kommentare

1 Kommentar

  • Guillaume Ruelle

    Depending if you want to make the new column permanent, you'll first have to create it in your desktop (ArcCatalog, or whatever) and then publish it as a service?Then you'll be able to populate this new attribute by using the "Set Feature Attribute" (maybe in a for each loop ?)

     

    The syntax would be

     

     

    Attribute value = `${$query.feature.attributes["attribute1"]} - ${$query.feature.attributes["attribute2"]} `

     

    You can then run the "Update Feature " activity, to register your changes.

     

    Hope this helps !

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.