After adding a feature to a feature service, I want to use the objectId returned in $addFeatures1.results to add an attachment to the newly created feature. How do I fetch the objectId from the results objectarray?
0
-
Hi Jostein,
You can use a For Each loop's 'pass' parameter to iterate through the items. For a single element, you can access the objectId using: $addfeatures1.results[0].objectId
Thanks,
Stefan
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar