<?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: New Feature-Linked Annotations with existing SQL Queries in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1630842#M97066</link>
    <description>&lt;P&gt;Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/293575"&gt;@JMutunga&lt;/a&gt;! The&amp;nbsp;Annotate Selected Features geoprocessing tool was able to annotate the updated feature after being created. Much appreciated!&lt;/P&gt;</description>
    <pubDate>Mon, 07 Jul 2025 20:03:32 GMT</pubDate>
    <dc:creator>Jar</dc:creator>
    <dc:date>2025-07-07T20:03:32Z</dc:date>
    <item>
      <title>New Feature-Linked Annotations with existing SQL Queries</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1625520#M96788</link>
      <description>&lt;P&gt;I have point features related to a feature-linked annotation feature class that are generated based on specific SQL query parameters. When I add a band new feature to my feature class, a feature-linked annotation is not automatically generated because the new feature does not meet the parameters of the labeling SQL query at the time of creation. When I modify the attributes of the feature after it has been created to satisfy the SQL query an annotation is still not created.&lt;/P&gt;&lt;P&gt;Based on a thread that I've found online, created feature needs to satisfy the SQL query when it gets created. This was confirmed when I copied existing features that meet the SQL query parameters and annotations were created automatically. Is there a work around for new features that may not meet the SQL query parameters right away? The forum links to a geonet.esri.com solution that is no longer accessible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original GIS StackExchange Post (From 8 years ago):&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://gis.stackexchange.com/questions/216107/feature-linked-annotation-not-added-when-new-features-are-drawn" target="_blank" rel="noopener"&gt;https://gis.stackexchange.com/questions/216107/feature-linked-annotation-not-added-when-new-features-are-drawn&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;&lt;STRONG&gt;Feature linked annotation not added when new features are drawn&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;I created feature linked annotation for a line feature class. Both the feature and the annotation are feature classes stored within the same feature dataset on an SQL Server Geodatabase.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;The initial labeling made use of a simple SQL query which may or may not be relevant. The annotation was created successfully but I'm having a hard time maintaining it due to the following:&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;When I create a new feature that matches the filtering requirements of my feature linked annotation, the annotation is not created automatically. Instead I have to select the feature and then click Selection &amp;gt; Annotate selected features. It's my understanding from reading through ESRI's help that the annotation should be created automatically for any newly added features. These new features DO match the sql query I initially made use of.&lt;/EM&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;&lt;STRONG&gt;Answer:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;I have ran into this problem before and this seemed to work for me.&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;&lt;A href="https://geonet.esri.com/thread/52888" target="_blank" rel="noopener"&gt;https://geonet.esri.com/thread/52888&lt;/A&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;The SQL Query is exactly what's stopping the annotation from getting created.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;&lt;EM&gt;The composite relationship class allows for new annotation to get created as soon as a new feature in the related feature class is created. This process only happens at the exact moment that the new feature is committed to the database (before you ever modify attribute information). When a SQL Query is being used to limit the annotation that is seen in a particular anno class, the value(s) which match the SQL query must be present at the time the feature is created for the related anno to get created as well. In your case, they're not.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 22:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1625520#M96788</guid>
      <dc:creator>Jar</dc:creator>
      <dc:date>2025-06-20T22:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: New Feature-Linked Annotations with existing SQL Queries</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1626017#M96814</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/264258"&gt;@Jar&lt;/a&gt;&amp;nbsp; Could you please provide clear steps (especially where the 'SQL Query' is applied) to reproduce the behavior?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 22:40:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1626017#M96814</guid>
      <dc:creator>JMutunga</dc:creator>
      <dc:date>2025-06-23T22:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: New Feature-Linked Annotations with existing SQL Queries</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1626419#M96838</link>
      <description>&lt;P&gt;For sure!&lt;/P&gt;&lt;P&gt;I have a point feature class in a file geodatabase with labeling turned on. My labels have 8 Annotation Classes with different SQL expressions used to determine which labels/formatting to apply to the points.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;One Annotation Class SQL expressions could be:&lt;BR /&gt;&lt;EM&gt;Street_Number IS NOT NULL and Level_Apartment IS NULL&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Another Annotation Class SQL expression could be:&lt;BR /&gt;&lt;EM&gt;Street_Number IS NOT NULL and Level_Apartment IS NOT NULL&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A Feature-Linked Annotation Feature Class is created using "Convert Labels to Annotation" with "Create feature-linked annotation", "Create annotation when new features are added", and "Update annotation when feature's shape is modified" all checked.&lt;/P&gt;&lt;P&gt;The issue is when a new point feature is created using "Create Feature", &lt;EM&gt;Street_Number&lt;/EM&gt; will be NULL by default when the feature is created, which doesn't satisfy the SQL query used to generate a new feature-linked annotation and it doesn't get labeled. Changing&amp;nbsp;&lt;EM&gt;Street_Number&lt;/EM&gt; to a value after being created also does not result in a new annotation being created.&lt;/P&gt;&lt;P&gt;I can only get a new annotation to be created when the new feature already has&amp;nbsp;&lt;EM&gt;Street_Number&lt;/EM&gt;&amp;nbsp;populated at the time of being created via a copy/paste because&amp;nbsp;&lt;EM&gt;Street_Number IS NOT NULL&lt;/EM&gt; when the point is created.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jun 2025 21:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1626419#M96838</guid>
      <dc:creator>Jar</dc:creator>
      <dc:date>2025-06-24T21:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: New Feature-Linked Annotations with existing SQL Queries</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1627535#M96904</link>
      <description>&lt;P&gt;Thanks for the detailed response.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;If you select the newly created feature(s) and run the &lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/cartography/annotate-selected-features.htm" target="_self"&gt;Annotate Selected Features geoprocessing tool&lt;/A&gt;, does the correct annotation get updated (and displayed on the map)?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;Changing&amp;nbsp;&lt;EM&gt;Street_Number&lt;/EM&gt; to a value after being created also does not result in a new annotation being created.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jun 2025 15:03:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1627535#M96904</guid>
      <dc:creator>JMutunga</dc:creator>
      <dc:date>2025-06-27T15:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: New Feature-Linked Annotations with existing SQL Queries</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1630825#M97065</link>
      <description>&lt;P&gt;I wanted to provide an update on this behavior to&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/264258"&gt;@Jar&lt;/a&gt;&amp;nbsp;&amp;nbsp;and anyone else who may run into this issue.&lt;/P&gt;&lt;P&gt;When the new feature is created with attribution (often Null) that does not satisfy the SQL Queries already defined in the classes, ArcGIS Pro will not create annotation for it. This also applies when the attribution is updated using the Attribute pane or Table after the feature was created as reported here. This behavior is 'as-designed' because ArcGIS Pro only creates annotation when a feature is being created i.e. using an active annotation feature template in Create Features pane.&lt;/P&gt;&lt;P&gt;That said, the following suggestions might be helpful as workarounds:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Use the&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/cartography/annotate-selected-features.htm" target="_blank" rel="noopener"&gt;Annotate Selected Features geoprocessing tool&lt;/A&gt;&amp;nbsp;to create/update annotation for the new feature after populating its attributes in the Table/Pane. You can quickly open the tool by right clicking the annotation feature layer from the Content's pane, go to Selection menu item then choose 'Annotate Selected Features' from the pull right menu options.&lt;/LI&gt;&lt;LI&gt;When creating new features in Create Features pane, use default values that satisfy the SQL Queries. See &lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/editing/configure-a-feature-template.htm#GUID-91E52002-B78D-45EB-BAE7-818806683BDC" target="_blank" rel="noopener"&gt;Specify Feature Template Default attributes&amp;nbsp;&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Create a separate 'placeholder' annotation class to catch features that do not satisfy the SQL Query criteria.&lt;/LI&gt;&lt;LI&gt;Set up the SQL Query so that display attribute(s) for new features that do not satisfy the query remain 'empty' and wait until they are populated/updated.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 07 Jul 2025 19:37:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1630825#M97065</guid>
      <dc:creator>JMutunga</dc:creator>
      <dc:date>2025-07-07T19:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: New Feature-Linked Annotations with existing SQL Queries</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1630842#M97066</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/293575"&gt;@JMutunga&lt;/a&gt;! The&amp;nbsp;Annotate Selected Features geoprocessing tool was able to annotate the updated feature after being created. Much appreciated!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 20:03:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/new-feature-linked-annotations-with-existing-sql/m-p/1630842#M97066</guid>
      <dc:creator>Jar</dc:creator>
      <dc:date>2025-07-07T20:03:32Z</dc:date>
    </item>
  </channel>
</rss>

