<?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: Shouldn't the editor widget honor definition expression? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shouldn-t-the-editor-widget-honor-definition/m-p/216331#M20075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a head's up, this has been addressed in our next 4.15 release.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2020 16:49:58 GMT</pubDate>
    <dc:creator>HeatherGonzago</dc:creator>
    <dc:date>2020-02-04T16:49:58Z</dc:date>
    <item>
      <title>Shouldn't the editor widget honor definition expression?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shouldn-t-the-editor-widget-honor-definition/m-p/216329#M20073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If a feature layer has a definition expression define, as in the code pen example linked below, shouldn't you only be able to see, edit (select for editing)&amp;nbsp; features that meet the definition expression?&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems that the widget tool doesn't honor the definition expression and its quite confusing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: You have a feature layer in a web map, there are two features in the data source that over lap, the definition expression is true for 1 and false for the other (so you can't see the second in the web map),&amp;nbsp; if you select the edit tool and click on the one that is visible, both are queried from the feature service and both are displayed in the edit widget results.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something I'm not configuring correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a code pen example.&amp;nbsp; Click on the pink zigzag patrol line with the edit tool active&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/AliWieck/pen/ExaMWJq?editors=1000" title="https://codepen.io/AliWieck/pen/ExaMWJq?editors=1000"&gt;https://codepen.io/AliWieck/pen/ExaMWJq?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Line&amp;nbsp;90ish of this codepen example applies a definition query that should&amp;nbsp;limit display of any police route lines like so&lt;/P&gt;&lt;P&gt;layer.definitionExpression = "PatrolType = 'Segway patrol'"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yet when I click on a location where I know there are segway and other types of routes that are overlapping, I get all features returned&amp;nbsp; and displayed in the editor widget even though only one&amp;nbsp; is visible on the map.&amp;nbsp; Click the button for any feature that doesn't meet the definition expression does nothing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="479211" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/479211_pastedImage_6.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 21:32:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shouldn-t-the-editor-widget-honor-definition/m-p/216329#M20073</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-01-24T21:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Shouldn't the editor widget honor definition expression?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shouldn-t-the-editor-widget-honor-definition/m-p/216330#M20074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ali,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are correct. The definitionExpression should be taken into consideration. There is a bug for this and we're hoping to have it addressed for the next 4.15 release slated for March timeline.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2020 17:19:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shouldn-t-the-editor-widget-honor-definition/m-p/216330#M20074</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2020-01-27T17:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shouldn't the editor widget honor definition expression?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shouldn-t-the-editor-widget-honor-definition/m-p/216331#M20075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a head's up, this has been addressed in our next 4.15 release.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2020 16:49:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/shouldn-t-the-editor-widget-honor-definition/m-p/216331#M20075</guid>
      <dc:creator>HeatherGonzago</dc:creator>
      <dc:date>2020-02-04T16:49:58Z</dc:date>
    </item>
  </channel>
</rss>

