<?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: Definition Query in Layer filtering associated Feature Linked Annotation in ArcGIS Enterprise Portal Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31465#M420</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case anyone is still wondering about this, you can definitely use subqueries to filter out the appropriate features, as in the following example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Transformer definition query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( subtypecd NOT IN ( 6, 7, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; ) AND ( operatingvoltage IN ( 190, 400, 410, 210, 220, 230 ) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Transformer annotation definition query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;featureid IN (SELECT objectid FROM transformer WHERE subtypecd NOT IN (6, 7, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; AND operatingvoltage IN ( 190, 400, 410, 210, 220, 230 ) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This shows usage for file geodatabases, but I also use the logic for Oracle without much trouble (accepting of course that you can only perform subqueries on the base table unless you build views).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Oct 2011 11:03:20 GMT</pubDate>
    <dc:creator>ChristopherStorer</dc:creator>
    <dc:date>2011-10-26T11:03:20Z</dc:date>
    <item>
      <title>Definition Query in Layer filtering associated Feature Linked Annotation</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31459#M414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a ESRI supplied dll file writtien for ArcGIS Version 9.x that provides the ability to have the feature linked annotation filtered based on the Definition Queries of Originating layer.&amp;nbsp; See &lt;/SPAN&gt;&lt;A href="http://edndoc.esri.com/arcobjects/8.3/?URL=/arcobjectsonline/samples/arcmap/layers/layerpropertypage/layerproppageprj.htm"&gt;http://edndoc.esri.com/arcobjects/8.3/?URL=/arcobjectsonline/samples/arcmap/layers/layerpropertypage/layerproppageprj.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone gotten this to work in 10.0 or is there another way?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2011 18:06:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31459#M414</guid>
      <dc:creator>BrianKaplan</dc:creator>
      <dc:date>2011-09-12T18:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query in Layer filtering associated Feature Linked Annotation</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31460#M415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not found a v10 way to do this, but it certainly would be nice!&amp;nbsp; Perhaps you should post this to ideas.esri.com as a future feature.&amp;nbsp; If I figure it out, I'll let you know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 15:27:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31460#M415</guid>
      <dc:creator>ChristopherStorer</dc:creator>
      <dc:date>2011-10-19T15:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query in Layer filtering associated Feature Linked Annotation</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31461#M416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would be nice to figure this out for 10...it really would save allot of time creating copies of anno layers from selection sets. Defeats the purpose of Feature Linked Anno. You would think that if the feature is not there (e.g. through a definition query) the anno should not display&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 16:23:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31461#M416</guid>
      <dc:creator>MicahCallough</dc:creator>
      <dc:date>2011-10-19T16:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query in Layer filtering associated Feature Linked Annotation</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31462#M417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It would be nice to figure this out for 10...it really would save allot of time creating copies of anno layers from selection sets. Defeats the purpose of Feature Linked Anno. You would think that if the feature is not there (e.g. through a definition query) the anno should not display. The only way i can figure out how to do this is to make the def query on the feature i am making anno from...join it to the anno feature calculate the ones that did not come across on the join to "unplaced" and the rest to placed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 16:28:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31462#M417</guid>
      <dc:creator>MicahCallough</dc:creator>
      <dc:date>2011-10-19T16:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query in Layer filtering associated Feature Linked Annotation</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31463#M418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, it's dirty, but theoretically you could do a table join inside a map and query it out from the source table.&amp;nbsp; Doesn't hurt a view-only map too badly, but it could make editing more prone to error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: Looks like you were thinking the same thing &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2011 17:07:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31463#M418</guid>
      <dc:creator>ChristopherStorer</dc:creator>
      <dc:date>2011-10-19T17:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query in Layer filtering associated Feature Linked Annotation</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31464#M419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you working with an RDBMS or a file-based workspace?&amp;nbsp; With Oracle, I just tested using subqueries; I realize this functionally limits me to the base table, but that's worth the compromise, with how fast the queries run.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Oct 2011 14:28:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31464#M419</guid>
      <dc:creator>ChristopherStorer</dc:creator>
      <dc:date>2011-10-20T14:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Definition Query in Layer filtering associated Feature Linked Annotation</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31465#M420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In case anyone is still wondering about this, you can definitely use subqueries to filter out the appropriate features, as in the following example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Transformer definition query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( subtypecd NOT IN ( 6, 7, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; ) AND ( operatingvoltage IN ( 190, 400, 410, 210, 220, 230 ) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Transformer annotation definition query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;featureid IN (SELECT objectid FROM transformer WHERE subtypecd NOT IN (6, 7, &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; AND operatingvoltage IN ( 190, 400, 410, 210, 220, 230 ) )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This shows usage for file geodatabases, but I also use the logic for Oracle without much trouble (accepting of course that you can only perform subqueries on the base table unless you build views).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 11:03:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-portal-questions/definition-query-in-layer-filtering-associated/m-p/31465#M420</guid>
      <dc:creator>ChristopherStorer</dc:creator>
      <dc:date>2011-10-26T11:03:20Z</dc:date>
    </item>
  </channel>
</rss>

