<?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: Time definition query in Collector and going offline in ArcGIS Collector Questions</title>
    <link>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264305#M4598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it looks like the problem with query. AGS for replica creates FGDB. And if the query comes from SDE (MS SQL for example), you can have trouble with this query in replica and map package too. The query for replica cannot be compatibile with FGDB - for exmaple&lt;/P&gt;&lt;P&gt;my queyry is: convert(date,datum,102) = convert(date,GETDATE()-59,102)&lt;/P&gt;&lt;P&gt;It works for SDE, but I cannot create replica, and this query does not work in map package, because this query works only for database and not for FGDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As solution it looks the best way create some number column where you will have numbers - number of hours since. And to this column use Definition query - number of hours &amp;lt; 5 (for example). It should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Feb 2015 08:33:11 GMT</pubDate>
    <dc:creator>VHolubec</dc:creator>
    <dc:date>2015-02-16T08:33:11Z</dc:date>
    <item>
      <title>Time definition query in Collector and going offline</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264303#M4596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A while back Russ pointed out to me that you can't use time definition queries in your map service if you want the data to go offline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that still true?&amp;nbsp;&amp;nbsp; I know it's possible in arcgis mobile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e.g. I want to only show the last 24 hours mapping on Collector.&amp;nbsp;&amp;nbsp; Our fire air observers need to be able have a relatively clear space for new mapping with fires changing over time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or are we better off using scheduled tasks to move data to new tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Dec 2014 05:23:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264303#M4596</guid>
      <dc:creator>PeterTimmers</dc:creator>
      <dc:date>2014-12-05T05:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Time definition query in Collector and going offline</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264304#M4597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just tried one of our maps with with time based definition query and got the following:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #e5edf4;"&gt;Error executing tool.: ErrorMsg@SyncGPService:{"code":500,"description":"Failed to create replica."} Failed to execute (Create Feature Service Replica).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #e5edf4;"&gt;Could be due to anything mind you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #505051; font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; background-color: #e5edf4;"&gt;See what Russ has to say &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Dec 2014 00:06:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264304#M4597</guid>
      <dc:creator>GISSupport3</dc:creator>
      <dc:date>2014-12-08T00:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: Time definition query in Collector and going offline</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264305#M4598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it looks like the problem with query. AGS for replica creates FGDB. And if the query comes from SDE (MS SQL for example), you can have trouble with this query in replica and map package too. The query for replica cannot be compatibile with FGDB - for exmaple&lt;/P&gt;&lt;P&gt;my queyry is: convert(date,datum,102) = convert(date,GETDATE()-59,102)&lt;/P&gt;&lt;P&gt;It works for SDE, but I cannot create replica, and this query does not work in map package, because this query works only for database and not for FGDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As solution it looks the best way create some number column where you will have numbers - number of hours since. And to this column use Definition query - number of hours &amp;lt; 5 (for example). It should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Feb 2015 08:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264305#M4598</guid>
      <dc:creator>VHolubec</dc:creator>
      <dc:date>2015-02-16T08:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Time definition query in Collector and going offline</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264306#M4599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this, it explains the problem I was having here &lt;A href="https://community.esri.com/thread/154348"&gt;Non standardized def query breaks Create Replica function&lt;/A&gt; . It would be nice if the queries compatible with FGDB could be expanded. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 21:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264306#M4599</guid>
      <dc:creator>MarkPeacey2</dc:creator>
      <dc:date>2015-08-19T21:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Time definition query in Collector and going offline</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264307#M4600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pardon my ignorance, but how would I construct a numeric field (like hours since) to only show the last 7 days features?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you have a scheduled action in the DB to recalculate all rows every hour... sounds onerous, especially if there is a lot of data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2015 22:52:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264307#M4600</guid>
      <dc:creator>PeterTimmers</dc:creator>
      <dc:date>2015-08-20T22:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Time definition query in Collector and going offline</title>
      <link>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264308#M4601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will this be supported in the pending 10.4 release; ie can go offline with time based definition queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2016 23:32:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-collector-questions/time-definition-query-in-collector-and-going/m-p/264308#M4601</guid>
      <dc:creator>GISSupport3</dc:creator>
      <dc:date>2016-01-19T23:32:51Z</dc:date>
    </item>
  </channel>
</rss>

