<?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: Deleting tracks from AGO in ArcGIS Tracker Questions</title>
    <link>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1004425#M198</link>
    <description>&lt;P&gt;Can you post more information? Which notebook did you try? What errors are you seeing?&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2020 20:31:10 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-11-24T20:31:10Z</dc:date>
    <item>
      <title>Deleting tracks from AGO</title>
      <link>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1004369#M197</link>
      <description>&lt;P&gt;We are wanting to track Santa for our annual Parade Routes.&amp;nbsp; We want to delete our practice routes we created in Tracker and have tried the script in the AGO Notebook:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://host.domain.com/webadaptor/rest/services/Hosted/location_tracking/FeatureServer/0/deleteFeatures" target="_blank" rel="noopener"&gt;https://host.domain.com/webadaptor/rest/services/Hosted/location_tracking/FeatureServer/0/deleteFeatures&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which results in a invalid syntax error.&lt;/P&gt;&lt;P&gt;Any suggestions or ideas?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 19:12:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1004369#M197</guid>
      <dc:creator>KeriMorro</dc:creator>
      <dc:date>2020-11-24T19:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting tracks from AGO</title>
      <link>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1004425#M198</link>
      <description>&lt;P&gt;Can you post more information? Which notebook did you try? What errors are you seeing?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 20:31:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1004425#M198</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-11-24T20:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting tracks from AGO</title>
      <link>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1004466#M199</link>
      <description>&lt;P&gt;ArcGIS Notebook Python 3 Standard 4.0&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="ansi-cyan-fg"&gt;File &lt;/SPAN&gt;&lt;SPAN class="ansi-green-fg"&gt;"&amp;lt;ipython-input-5-0ec303b38de1&amp;gt;"&lt;/SPAN&gt;&lt;SPAN class="ansi-cyan-fg"&gt;, line &lt;/SPAN&gt;&lt;SPAN class="ansi-green-fg"&gt;1&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-fg"&gt;SyntaxError&lt;/SPAN&gt;&lt;SPAN class="ansi-red-fg"&gt;:&lt;/SPAN&gt; invalid syntax&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 21:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1004466#M199</guid>
      <dc:creator>KeriMorro</dc:creator>
      <dc:date>2020-11-24T21:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting tracks from AGO</title>
      <link>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1006358#M201</link>
      <description>&lt;P&gt;We ended up using the code below:&lt;/P&gt;&lt;P&gt;layers=item.layers&lt;BR /&gt;layer = layers[0]&lt;BR /&gt;layer.delete_features (where = "Activity = 5")&lt;/P&gt;&lt;P&gt;Where Activity 5 is Automotive.&lt;/P&gt;&lt;P&gt;Alternatively to delete all values the where clause can be changed to where ObjectID &amp;gt; 0&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 21:14:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-tracker-questions/deleting-tracks-from-ago/m-p/1006358#M201</guid>
      <dc:creator>KrystalClem2</dc:creator>
      <dc:date>2020-12-02T21:14:43Z</dc:date>
    </item>
  </channel>
</rss>

