<?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: Editor widget 4.22 force value attribute on creation in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1178377#M77522</link>
    <description>&lt;P&gt;Thank you very much Joel,&lt;/P&gt;&lt;P&gt;your suggestion was perfect!!!&lt;/P&gt;</description>
    <pubDate>Mon, 30 May 2022 20:57:43 GMT</pubDate>
    <dc:creator>DamianoMontrasio</dc:creator>
    <dc:date>2022-05-30T20:57:43Z</dc:date>
    <item>
      <title>Editor widget 4.22 force value attribute on creation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1177739#M77497</link>
      <description>&lt;P&gt;Between version 4.16 and version 4.22 of the API, on the FeatureLayer's "edits" event, the "target" property (hence target.url) is no longer exposed/returned, which we use to perform a check, i.e., figuring out on which layer to go and update the an other field with the WebService 'Update_Features'.&lt;/P&gt;&lt;P&gt;Any images of code...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianoMontrasio_0-1653601007853.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42244i02D508ABA59EE98D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DamianoMontrasio_0-1653601007853.png" alt="DamianoMontrasio_0-1653601007853.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianoMontrasio_1-1653601024934.png" style="width: 728px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42246iEFF54AE7B983FCDD/image-dimensions/728x373?v=v2" width="728" height="373" role="button" title="DamianoMontrasio_1-1653601024934.png" alt="DamianoMontrasio_1-1653601024934.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there's an other way to create a feature with an hidden field forced to a specific value?&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 21:37:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1177739#M77497</guid>
      <dc:creator>DamianoMontrasio</dc:creator>
      <dc:date>2022-05-26T21:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget 4.22 force value attribute on creation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1177769#M77500</link>
      <description>&lt;P&gt;This is a compate beteen api 4.15 with target property and 4.22 without.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DamianoMontrasio_0-1653602826121.png" style="width: 739px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42254i58BF32E36EEB0435/image-dimensions/739x220?v=v2" width="739" height="220" role="button" title="DamianoMontrasio_0-1653602826121.png" alt="DamianoMontrasio_0-1653602826121.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I've not found info about deprecation of target....&lt;/P&gt;&lt;P&gt;Was useful for us.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 22:08:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1177769#M77500</guid>
      <dc:creator>DamianoMontrasio</dc:creator>
      <dc:date>2022-05-26T22:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget 4.22 force value attribute on creation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1178028#M77508</link>
      <description>&lt;P&gt;You can use &lt;A href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_objects/Function/bind" target="_self"&gt;bind&lt;/A&gt; in order to maintain a reference to your layer. For example:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;l_FeatureLayer.on("edits", otRilievi_Object.rilievi_edits_complete.bind(otRilievi_Object, l_FeatureLayer));&lt;/LI-CODE&gt;&lt;P&gt;...and elsewhere...&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;this.rilievi_edits_complete = function(target, p_Features) {
	//target is now a reference to the layer being edited
};&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 27 May 2022 16:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1178028#M77508</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2022-05-27T16:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Editor widget 4.22 force value attribute on creation</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1178377#M77522</link>
      <description>&lt;P&gt;Thank you very much Joel,&lt;/P&gt;&lt;P&gt;your suggestion was perfect!!!&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 20:57:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/editor-widget-4-22-force-value-attribute-on/m-p/1178377#M77522</guid>
      <dc:creator>DamianoMontrasio</dc:creator>
      <dc:date>2022-05-30T20:57:43Z</dc:date>
    </item>
  </channel>
</rss>

