<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Power Automate to create a record in AGOL FeatureLayer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474056#M59231</link>
    <description>&lt;P&gt;I have issues with this same thread, looking for help on this one, record gets created fine but no geometry in the new record .... anybody's help is appreciated :).&lt;/P&gt;</description>
    <pubDate>Thu, 16 May 2024 17:46:03 GMT</pubDate>
    <dc:creator>DanielArsenault</dc:creator>
    <dc:date>2024-05-16T17:46:03Z</dc:date>
    <item>
      <title>Power Automate to create a record in AGOL FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1305639#M53217</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a sharepoint list that we'd like to replicate in the AGOL via power automate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The hurdle for us how do we set up the "Create a record in a feature layer" connector. We have tried passing the "geometry" parameter multiple ways. We have tried -&lt;/P&gt;&lt;P&gt;x,y&lt;/P&gt;&lt;P&gt;AND&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;"geometry": {&lt;BR /&gt;"x": 1436052.3270733608,&lt;BR /&gt;"y": 5002615.309330223,&lt;BR /&gt;"spatialReference": {&lt;BR /&gt;"wkid": 2193,&lt;BR /&gt;"latestWkid": 2193&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flow runs fine and creates the feature but with no geometry.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="gis_KIWI4_0-1688524052653.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/74792iB043CD0DCA27C522/image-size/medium?v=v2&amp;amp;px=400" role="button" title="gis_KIWI4_0-1688524052653.png" alt="gis_KIWI4_0-1688524052653.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Anyone used this connector before, that might have an idea?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also there is surprisingly low information on these connectors and the format of the inputs they expect.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 02:30:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1305639#M53217</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2023-07-05T02:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Power Automate to create a record in AGOL FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1305643#M53218</link>
      <description>&lt;P&gt;A quick glance at your json object looks like you have 2 opening brackets "{" and only 1 closing bracket "}".&lt;/P&gt;&lt;P&gt;Id try this format:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
  "x": 1436052.3270733608,
  "y": 5002615.309330223,
  "spatialReference": {
    "wkid": 2193,
    "latestWkid": 2193
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More details regarding Geometry objects can be found in the Developer Documentation at&amp;nbsp;&lt;A title="here" href="https://developers.arcgis.com/documentation/common-data-types/geometry-objects.htm" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 04:26:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1305643#M53218</guid>
      <dc:creator>alex_mapintel</dc:creator>
      <dc:date>2023-07-05T04:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Power Automate to create a record in AGOL FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1305645#M53219</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/674562"&gt;@alex_mapintel&lt;/a&gt;&amp;nbsp;, I copied the code incorrectly. It had the brackets.&amp;nbsp;&lt;BR /&gt;It also didn't like the keyword "geometry" in the code.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What worked for us was the below -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;{
  "x": 1436052.3270733608,
  "y": 5002615.309330223,
  "spatialReference": {
    "wkid": 2193
  }
}



OR 



{
  "x": 170.8504403060537,
  "y": -45.360211429819564,
  "spatialReference": {
    "wkid": 4326
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Thanks again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2023 04:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1305645#M53219</guid>
      <dc:creator>gis_KIWI4</dc:creator>
      <dc:date>2023-07-05T04:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: Power Automate to create a record in AGOL FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1366915#M56698</link>
      <description>&lt;P&gt;Thanks for this solution!&lt;/P&gt;&lt;P&gt;Also, in case anyone else is having trouble with this, just copy/paste the code directly into the "Geometry" bar--not the f(x) bar in the Expression window that appears when you click in the "Geometry" bar.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2024 18:36:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1366915#M56698</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2024-01-05T18:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Power Automate to create a record in AGOL FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474056#M59231</link>
      <description>&lt;P&gt;I have issues with this same thread, looking for help on this one, record gets created fine but no geometry in the new record .... anybody's help is appreciated :).&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 17:46:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474056#M59231</guid>
      <dc:creator>DanielArsenault</dc:creator>
      <dc:date>2024-05-16T17:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Power Automate to create a record in AGOL FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474090#M59233</link>
      <description>&lt;P&gt;Well I figured it out, no need to dig further.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:45:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474090#M59233</guid>
      <dc:creator>DanielArsenault</dc:creator>
      <dc:date>2024-05-16T18:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Power Automate to create a record in AGOL FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474093#M59234</link>
      <description>&lt;P&gt;I had to work with Esri to get this situated. I've included a screenshot of the Power Automate workflow.&lt;BR /&gt;In "Parse JSON," in "Content" I had to put the Current item from the "For each 3" step and under "Schema," I had to paste the following:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;{
    "type": "object",
    "properties": {
        "attributes": {
            "type": "object",
            "properties": {}
        },
        "geometry": {
            "type": "object",
            "properties": {}
        },
        "changeType": {
            "type": "string"
        }
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, in the "Create a record in a feature layer" step, under "Geometry," open the "Insert function" box and then click on the Dynamic content tab in that box. This will give the option to choose and add "Body geometry" from Parse JSON.&lt;/P&gt;&lt;P&gt;I think that should make it work.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 18:45:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474093#M59234</guid>
      <dc:creator>AnninaRupe1</dc:creator>
      <dc:date>2024-05-16T18:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Power Automate to create a record in AGOL FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474119#M59235</link>
      <description>&lt;P&gt;ah yes that's good, thanks for sharing.&amp;nbsp; Below is how I achieved the result.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 19:32:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/power-automate-to-create-a-record-in-agol/m-p/1474119#M59235</guid>
      <dc:creator>DanielArsenault</dc:creator>
      <dc:date>2024-05-16T19:32:04Z</dc:date>
    </item>
  </channel>
</rss>

