<?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: ArcGIS Online feature layer webhooks - view required? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/arcgis-online-feature-layer-webhooks-view-required/m-p/1569745#M60565</link>
    <description>&lt;P&gt;Thanks Christopher.&lt;/P&gt;&lt;P&gt;You're right - on checking my original assumption I was mistaken and it seems a view is not required (which would have been strange!).&lt;/P&gt;&lt;P&gt;The only setting needing ticked was -&amp;nbsp;'Keep track of changes to the data (add, update, delete features).'&lt;/P&gt;&lt;P&gt;this then made the 'Webhooks' option available in the rest/admin page of the service. (also I previously said JSON which was me getting confused again..).&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 14:12:26 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2024-12-18T14:12:26Z</dc:date>
    <item>
      <title>ArcGIS Online feature layer webhooks - view required?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/arcgis-online-feature-layer-webhooks-view-required/m-p/1569603#M60557</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In AGOL I have a hosted feature service layer created by a Survey123 published form.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to create a feature service webhook in AGOL (don't want to do this in Survey123 because another API will be interacting with the layer outside of the 123 app).&amp;nbsp; It seems a view must first be created to allow a webhook to be set in the JSON REST settings.&lt;/P&gt;&lt;P&gt;Seems a bit of a strange requirement to me.&amp;nbsp; Can anyone shed any light on this and/or the rationale behind it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 22:48:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/arcgis-online-feature-layer-webhooks-view-required/m-p/1569603#M60557</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2024-12-17T22:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online feature layer webhooks - view required?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/arcgis-online-feature-layer-webhooks-view-required/m-p/1569682#M60563</link>
      <description>&lt;P&gt;Are you saying you can't create a webhook on the source feature layer at all, or only after a view is created?&lt;/P&gt;&lt;P&gt;Are you sure it wasn't another action like enabling change tracking, or maybe query being disabled by default on survey123 layers because of editing settings?&lt;/P&gt;&lt;P&gt;I was looking at this earlier in the week and found very little documentation on this around the behaviour with views.&lt;/P&gt;&lt;P&gt;Testing it I found:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If the webhook is on the feature layer, all edits made against the feature layer or any of its views trigger the webhook&lt;/LI&gt;&lt;LI&gt;If the webhook is on the view, it will only trigger if the edit is made against the view itself. However, I noticed some webhook payloads were empty of data in make. Not sure why but suspect it's because the feature was moved out of the view definition by the edit.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Even though I hit that issue I'd recommend considering the impact of making edits on your service and the webhook. You may want to make the API interactions via a view, particularly if they're adds, so that other interactions can be made with the service without triggering the webhook or needing to disable it.&lt;/P&gt;&lt;P&gt;If anyone coming across this thread has more resources on views and webhooks that would be great...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 10:28:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/arcgis-online-feature-layer-webhooks-view-required/m-p/1569682#M60563</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2024-12-18T10:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Online feature layer webhooks - view required?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/arcgis-online-feature-layer-webhooks-view-required/m-p/1569745#M60565</link>
      <description>&lt;P&gt;Thanks Christopher.&lt;/P&gt;&lt;P&gt;You're right - on checking my original assumption I was mistaken and it seems a view is not required (which would have been strange!).&lt;/P&gt;&lt;P&gt;The only setting needing ticked was -&amp;nbsp;'Keep track of changes to the data (add, update, delete features).'&lt;/P&gt;&lt;P&gt;this then made the 'Webhooks' option available in the rest/admin page of the service. (also I previously said JSON which was me getting confused again..).&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 14:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/arcgis-online-feature-layer-webhooks-view-required/m-p/1569745#M60565</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2024-12-18T14:12:26Z</dc:date>
    </item>
  </channel>
</rss>

