皆さん、こんにちは。<\/P>
解決策を見つけるのに苦労しており、コミュニティの助けを期待しています。<\/P>
私は単純に以下を使用しています:<\/P>
新しく作成されたsurvey123のポイントフィーチャを、調査の属性のサブセットとともにArcGIS Online上の既存のホストされたポイントフィーチャ レイヤーに追加しようとしています。<\/P>
調査からホストされたフィーチャ レイヤーの対応するフィールドへの属性値のフィールドマッピングは成功していますが、結果のレコードにはジオメトリがありません。<\/P>
問題は、「Create a new record in a feature layer」アクションの「Geometry」パラメーターで使用しているものにあると思います。survey の item()?['geometry'] や item()?['geometry\/geometryType'] を使って調査ジオメトリに基づいてジオメトリを設定しようとしましたが、うまくいきませんでした。Power Automate のメッセージではジオメトリ出力が null と表示されます。<\/P>
残念ながら、Microsoft のドキュメントは ArcGIS コネクタのパラメーター詳細を調べるには非常に不親切で、このアクションの Geometry パラメーターについてはまだドキュメントにも反映されていません。 <\/P>
もっと簡単でシンプルなはずだと思うのですが、これを解決した方はいませんか?<\/P>
ありがとうございます。<\/P>
Paul<\/P>
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/1305639
{ "x": 1.0, "y": 1.0, "spatialReference": { "wkid": 4326, "latestWkid": 4326 } }
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.
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
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.