<?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: Sharing content with definition queries in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/sharing-content-with-definition-queries/m-p/2447#M19</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's been my experience so far.&amp;nbsp; Unless I'm missing something, definition queries are not yet support with the creation of the runtime content.&amp;nbsp; Currently I keep track of the definition queries in a configuration file and apply them during the loading of the map in the mobile application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FeatureLayer fLayer = layer as FeatureLayer;&lt;/P&gt;&lt;P&gt;fLayer.DefinitionExpression = "SUBTYPECD = 2";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like some extremely core functionality that they are missing here....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the 10.2.6 runtime and I generate the .geodatabase file in ArcMap 10.3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Kris Foster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Nov 2015 17:15:48 GMT</pubDate>
    <dc:creator>KrisFoster</dc:creator>
    <dc:date>2015-11-23T17:15:48Z</dc:date>
    <item>
      <title>Sharing content with definition queries</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/sharing-content-with-definition-queries/m-p/2446#M18</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to share a streets layer that utilizes a definition query of only the streets that have the word "AVE" in their name. However, when I share the layer as runtime content, it shares all the streets and not just the ones I identified using the SQL statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are definition queries something that do not transfer in the creation of the runtime content?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Aug 2015 20:37:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/sharing-content-with-definition-queries/m-p/2446#M18</guid>
      <dc:creator>JeremyMullins1</dc:creator>
      <dc:date>2015-08-05T20:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sharing content with definition queries</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/sharing-content-with-definition-queries/m-p/2447#M19</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's been my experience so far.&amp;nbsp; Unless I'm missing something, definition queries are not yet support with the creation of the runtime content.&amp;nbsp; Currently I keep track of the definition queries in a configuration file and apply them during the loading of the map in the mobile application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FeatureLayer fLayer = layer as FeatureLayer;&lt;/P&gt;&lt;P&gt;fLayer.DefinitionExpression = "SUBTYPECD = 2";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like some extremely core functionality that they are missing here....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the 10.2.6 runtime and I generate the .geodatabase file in ArcMap 10.3.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Kris Foster&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Nov 2015 17:15:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/sharing-content-with-definition-queries/m-p/2447#M19</guid>
      <dc:creator>KrisFoster</dc:creator>
      <dc:date>2015-11-23T17:15:48Z</dc:date>
    </item>
  </channel>
</rss>

