Hi Everyone,
I've been struggling with finding a solution and hoping the community can help.
I'm simply using the following:
I'm simply trying to add the newly created survey123 point feature to an existing hosted point feature layer on ArcGIS Online with a subset of the survey's attributes.
I'm able to successfully field map the attribute values from the survey to the corresponding fields in the hosted feature layer but the resulting records has no geometry.
I believe the issue is with what I'm using for the 'Geometry' parameter in the Create a new record in a feature layer action. I've used the survey's item()?['geometry'] and item()?['geometry/geometryType'] trying to set the geometry based on the survey geometry with no luck. The Power Automate messages show null for geometry output.
Unfortunately Microsoft's documentation is brutal for looking up details on parameters for ArcGIS connectors, in fact for the Geometry parameter for this action is not even reflected in the documentation yet.
I feel like this should be more straight forward and simple - anyone out there figure this out?
Thanks
Paul
Solved! Go to Solution.
Can you share what you've tried so far? Possibly with screenshots.
https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/td-p...
{
"x": 1.0,
"y": 1.0,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
}
Can you share what you've tried so far? Possibly with screenshots.
https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/td-p...
{
"x": 1.0,
"y": 1.0,
"spatialReference": {
"wkid": 4326,
"latestWkid": 4326
}
}
Hi @DavidPike ,
I ended up figuring this out through another ArcGIS Online community post that I stumbled across. The solution that @alex_mapintel and @DanielArsenault presented is exactly what you posted.
I was not expecting to have to enter in JSON for that parameter so I likely would not have figured this one without you all.
The community post I'm referring to is here: Power Automate to create a record in AGOL FeatureLayer with example attached to this post.
Thank you all for your help!
Paul
Hi @PaulLefaive2,
We also have the "Create a point geometry" action in our connectors to make it easy creating a point geometry JSON using X & Y to use in downstream Power Automate actions.