<?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 Non standardized def query breaks Create Replica function in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/non-standardized-def-query-breaks-create-replica/m-p/256815#M9909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a 10.3 feature service and require offline capabilities to use it with the Android SDK. In the MXD there's a Definition Query with a non- standardized query on a layer - exact query is &lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;DateChecked &amp;gt; DATEADD(month, -2, GetDate())&lt;/SPAN&gt;. This prevents the Create Replica function from working on the Feature Service. I can't use a standardized query in the Def Query (CURRENT_DATE isn't supported) and our DBAs don't want to disable standardized queries for the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems slightly strange to enforce standardized queries at the REST endpoint but not allow them in a Definition Query within an MXD. Is it likely that standardized queries will be supported within Def Queries in future versions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an aside the error message encountered when the createReplica fails is, "Unable to complete operation. Failed to create replica.". A more descriptive error message would greatly help troubleshooting for other people who come across this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Apr 2015 23:01:26 GMT</pubDate>
    <dc:creator>MarkPeacey2</dc:creator>
    <dc:date>2015-04-29T23:01:26Z</dc:date>
    <item>
      <title>Non standardized def query breaks Create Replica function</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/non-standardized-def-query-breaks-create-replica/m-p/256815#M9909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a 10.3 feature service and require offline capabilities to use it with the Android SDK. In the MXD there's a Definition Query with a non- standardized query on a layer - exact query is &lt;SPAN style="font-size: 10.0pt; font-family: 'Verdana','sans-serif';"&gt;DateChecked &amp;gt; DATEADD(month, -2, GetDate())&lt;/SPAN&gt;. This prevents the Create Replica function from working on the Feature Service. I can't use a standardized query in the Def Query (CURRENT_DATE isn't supported) and our DBAs don't want to disable standardized queries for the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems slightly strange to enforce standardized queries at the REST endpoint but not allow them in a Definition Query within an MXD. Is it likely that standardized queries will be supported within Def Queries in future versions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an aside the error message encountered when the createReplica fails is, "Unable to complete operation. Failed to create replica.". A more descriptive error message would greatly help troubleshooting for other people who come across this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Apr 2015 23:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/non-standardized-def-query-breaks-create-replica/m-p/256815#M9909</guid>
      <dc:creator>MarkPeacey2</dc:creator>
      <dc:date>2015-04-29T23:01:26Z</dc:date>
    </item>
  </channel>
</rss>

