<?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: Connect Info Window to Edit Widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/connect-info-window-to-edit-widget/m-p/448606#M41457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I ended up doing was setting the Editor Widget _currentGraphic property equal to the graphics (results) or my featureLayer.selectFeatures query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;featureLayer.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW, function (results) { ZoomToFeature(results) });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;setGraphicsAttributes(result);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;function setGraphicsAttributes (graphic) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; editorWidget._currentGraphic = graphic;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Jan 2013 14:57:15 GMT</pubDate>
    <dc:creator>MeleKoneya</dc:creator>
    <dc:date>2013-01-23T14:57:15Z</dc:date>
    <item>
      <title>Connect Info Window to Edit Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/connect-info-window-to-edit-widget/m-p/448605#M41456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the editorWidget to add new features,&amp;nbsp; delete features, and update features.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am using the Attribute Inspector to display and edit the newly added features and selected features attributes.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I recently added a function to my application which allows the user to search for an existing editable feature by a unique identifier (asset_id).&amp;nbsp;&amp;nbsp; I am using the .selectFeatures() method on the FeatureLayer to select and then zoom to a feature based on the asset_id.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The attributes for the selected feature display within the attribute inspector with any associated domains and it appears that the fields are editable,&amp;nbsp; but my application errors when a change is made within the attribute inspector.&amp;nbsp; It appears that the attribute inspector is behaving like an info window and is not connected to the FeatureLayer for editing as I get an error which states.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unhandled exception at line 19, column 158500 in &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/esri/dijit/editing/Editor-all.js" rel="nofollow" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/esri/dijit/editing/Editor-all.js&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'this._currentGraphic.attributes' is null or not an object&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I connect the changes made via the attribute inspector in the above example back to the editor widget?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mele&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jan 2013 15:40:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/connect-info-window-to-edit-widget/m-p/448605#M41456</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2013-01-22T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Connect Info Window to Edit Widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/connect-info-window-to-edit-widget/m-p/448606#M41457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What I ended up doing was setting the Editor Widget _currentGraphic property equal to the graphics (results) or my featureLayer.selectFeatures query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;featureLayer.selectFeatures(query, esri.layers.FeatureLayer.SELECTION_NEW, function (results) { ZoomToFeature(results) });&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;setGraphicsAttributes(result);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;function setGraphicsAttributes (graphic) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; editorWidget._currentGraphic = graphic;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jan 2013 14:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/connect-info-window-to-edit-widget/m-p/448606#M41457</guid>
      <dc:creator>MeleKoneya</dc:creator>
      <dc:date>2013-01-23T14:57:15Z</dc:date>
    </item>
  </channel>
</rss>

