<?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: Filter function for display after the date field date minus (xy) days in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/filter-function-for-display-after-the-date-field/m-p/525433#M26544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming that you're using AGOL to host your data. Based on this link (&lt;A href="https://doc.arcgis.com/en/arcgis-online/share-maps/hosted-web-layers.htm" title="https://doc.arcgis.com/en/arcgis-online/share-maps/hosted-web-layers.htm"&gt;About hosted web layers—ArcGIS Online Help | ArcGIS&lt;/A&gt; ) it seems that hosted AGOL content doesn't honor definition queries when publishing data so any date filter you may apply in Desktop would be ignored once published.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And based on my limited testing I don't think that the layer filter listed in an AGOL web map supports the type of filter (e.g. only show 'Today' that you're looking for). Someone would have to update the web map regularly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using hosted layers the following link may provide some solution ideas via ArcPy as it comes to updating your services on a scheduled basis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/" title="http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/"&gt;Updating ArcGIS.com Hosted Feature Services with Python | ArcGIS Blog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Dec 2015 17:56:43 GMT</pubDate>
    <dc:creator>SethLewis1</dc:creator>
    <dc:date>2015-12-21T17:56:43Z</dc:date>
    <item>
      <title>Filter function for display after the date field date minus (xy) days</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-function-for-display-after-the-date-field/m-p/525432#M26543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we would like to present the most recent data on the map, this, for example, after the creation date.&lt;/P&gt;&lt;P&gt;First with a special legend which have been entered today.&lt;/P&gt;&lt;P&gt;Secondly, which are markedly different from before the date today minus eg 5 days ago.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is possible directly at Agol as Feature Layer and filter function?&lt;/P&gt;&lt;P&gt;Or should this be done on a batch ArcCatalog / Python, etc?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help for our club in NPO stadium.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A Merry Christmas and happy new year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greeting&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Dec 2015 21:07:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-function-for-display-after-the-date-field/m-p/525432#M26543</guid>
      <dc:creator>MikeSchudel1</dc:creator>
      <dc:date>2015-12-20T21:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Filter function for display after the date field date minus (xy) days</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/filter-function-for-display-after-the-date-field/m-p/525433#M26544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm assuming that you're using AGOL to host your data. Based on this link (&lt;A href="https://doc.arcgis.com/en/arcgis-online/share-maps/hosted-web-layers.htm" title="https://doc.arcgis.com/en/arcgis-online/share-maps/hosted-web-layers.htm"&gt;About hosted web layers—ArcGIS Online Help | ArcGIS&lt;/A&gt; ) it seems that hosted AGOL content doesn't honor definition queries when publishing data so any date filter you may apply in Desktop would be ignored once published.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And based on my limited testing I don't think that the layer filter listed in an AGOL web map supports the type of filter (e.g. only show 'Today' that you're looking for). Someone would have to update the web map regularly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using hosted layers the following link may provide some solution ideas via ArcPy as it comes to updating your services on a scheduled basis:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/" title="http://blogs.esri.com/esri/arcgis/2013/04/23/updating-arcgis-com-hosted-feature-services-with-python/"&gt;Updating ArcGIS.com Hosted Feature Services with Python | ArcGIS Blog&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 17:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/filter-function-for-display-after-the-date-field/m-p/525433#M26544</guid>
      <dc:creator>SethLewis1</dc:creator>
      <dc:date>2015-12-21T17:56:43Z</dc:date>
    </item>
  </channel>
</rss>

