<?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: targeting attribute inspector of editor in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372116#M34522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boy I was looking at the same thing. Were you ever able to find anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 May 2017 17:43:51 GMT</pubDate>
    <dc:creator>ScottLehto2</dc:creator>
    <dc:date>2017-05-11T17:43:51Z</dc:date>
    <item>
      <title>targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372112#M34518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i need to interact with the attribute inspector as it's various events happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i have on my page a defined editor, and template picker, the template picker is associated with the editor in the params used to create the editor. here is the code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp; function addEditor(r){
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var contentHolder = "&amp;lt;div id='editorDiv'&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id='tmpDiv'&amp;gt;&amp;lt;/div&amp;gt;";
&amp;nbsp;&amp;nbsp; $j('##editDiv').append(contentHolder);
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var templateLayers = dojo.map(r,function(result){
&amp;nbsp;&amp;nbsp;&amp;nbsp; return result.layer;
&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var widget = new esri.dijit.editing.TemplatePicker({
&amp;nbsp;&amp;nbsp;&amp;nbsp; featureLayers: templateLayers,
&amp;nbsp;&amp;nbsp;&amp;nbsp; grouping: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; rows: 'auto',
&amp;nbsp;&amp;nbsp;&amp;nbsp; columns: 3
&amp;nbsp;&amp;nbsp; },'tmpDiv');
&amp;nbsp;&amp;nbsp; widget.startup();
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var layers = dojo.map(r, function(result) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; return {featureLayer:result.layer};
&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; var settings = {
&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map,
&amp;nbsp;&amp;nbsp;&amp;nbsp; templatePicker: widget,//&amp;nbsp;&amp;nbsp; &amp;lt;------- templatePicker for editor -----&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; geometryService: new esri.tasks.GeometryService(GEOSERVICE),
&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfos:layers,
&amp;nbsp;&amp;nbsp;&amp;nbsp; toolbarVisible: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; createOptions: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polylineDrawTools:[ esri.dijit.editing.Editor.CREATE_TOOL_FREEHAND_POLYLINE],
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; polygonDrawTools: [ esri.dijit.editing.Editor.CREATE_TOOL_FREEHAND_POLYGON,
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.dijit.editing.Editor.CREATE_TOOL_CIRCLE,
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.dijit.editing.Editor.CREATE_TOOL_TRIANGLE,
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.dijit.editing.Editor.CREATE_TOOL_RECTANGLE ]
&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp; toolbarOptions: {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reshapeVisible: true
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; };
&amp;nbsp;&amp;nbsp; var params = {settings: settings};&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp; myEditor = new esri.dijit.editing.Editor(params,'editorDiv');
&amp;nbsp;&amp;nbsp; myEditor.startup();&amp;nbsp; 
&amp;nbsp;&amp;nbsp; 
&amp;nbsp; }
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so, via settings / params, i have associated which templatePicker the editor is using.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is there a way i can do the same thing with the attribute inspector? or do i need to worry about that? can i just create an attribute inspector, and make connections to the eventhandlers for it, and the editor will automatically know whats going on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;heh. i dont know if that even makes sense.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hrm...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;just to be more clear. or give a better picture of one of the things i want to do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when i user drags on object from the template picker and drops it on the map, the attribute inspector opens in an info window. i want to populate the 'creator' field in the attribute inspector with the user information i have captured when the map is loaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if an already existing object from the feature layer is selected, and the user changes an attribute in the inspector, i want to populate the 'editor' field and the 'editdate' field&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i dont think doing this will be that hard, i am just not sure how to target the attribute editor inside the currently defined editor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;heh. hope that is more clear.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jan 2011 18:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372112#M34518</guid>
      <dc:creator>timgogl</dc:creator>
      <dc:date>2011-01-06T18:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372113#M34519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;still no luck.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so i have been looking at the source for the editor-all&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and looking at it, i am making some assumptions (and maybe i am way off....) anway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _createAttributeInspector: function(){
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (!this._settings.attributeInspector) {
&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; this._customAttributeInspector = false;
&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; var map = this._settings.map;
&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; map.infoWindow.setContent("&amp;lt;div id='content' style='width:100%'&amp;gt;&amp;lt;/div&amp;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; map.infoWindow.setTitle(esri.bundle.widgets.attributeInspector.NLS_title);
&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; map.infoWindow.resize(350, 375);
&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; this._attributeInspector = new esri.dijit.AttributeInspector({
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfos: this._settings.layerInfos
&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; }, dojo.byId("content"));
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else {
&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; this._customAttributeInspector = true;
&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; this._attributeInspector = this._settings.attributeInspector;
&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;seems to indicate with the if() block that inside of settings i can define my own attributeInspector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which i now have done, i am just not sure i have done it correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;here is my current block of code (the pertinent part):&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp; 
 var layers = dojo.map(r, function(result) {
&amp;nbsp; return {featureLayer:result.layer};
 });
 
 var ai = new esri.dijit.AttributeInspector({layerInfos:[layers]}, "attrInspector");
 
 var settings = {
&amp;nbsp; map: map,
&amp;nbsp; attributeInspector: ai,
&amp;nbsp; templatePicker: widget,
&amp;nbsp; geometryService: new esri.tasks.GeometryService(GEOSERVICE),
&amp;nbsp; layerInfos:layers,
&amp;nbsp; toolbarVisible: true,
&amp;nbsp; createOptions: {
&amp;nbsp;&amp;nbsp; polylineDrawTools:[ esri.dijit.editing.Editor.CREATE_TOOL_FREEHAND_POLYLINE],
&amp;nbsp;&amp;nbsp; polygonDrawTools: [ esri.dijit.editing.Editor.CREATE_TOOL_FREEHAND_POLYGON,
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.dijit.editing.Editor.CREATE_TOOL_CIRCLE,
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.dijit.editing.Editor.CREATE_TOOL_TRIANGLE,
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.dijit.editing.Editor.CREATE_TOOL_RECTANGLE ]
&amp;nbsp; },
&amp;nbsp; toolbarOptions: {
&amp;nbsp;&amp;nbsp; reshapeVisible: true
&amp;nbsp; }
 };
 var params = {settings: settings};

 myEditor = new esri.dijit.editing.Editor(params,'editorDiv');
 myEditor.startup();
 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //aiChange is defined ouside this function 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aiChange = dojo.connect(ai,'onAttributeChange',attributesChanged);

&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my concern is that i am not defining my layers correctly in the line i instantiate my attribute inspector.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;anyone see anything glaring?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for looking.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:13:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372113#M34519</guid>
      <dc:creator>timgogl</dc:creator>
      <dc:date>2021-12-11T17:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372114#M34520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hrm... im not even sure if i will be able to overwrite the editor.attributeInspectors built in evenhandlers. whether i can make my own or target the exsisting default one anyway... heh... this may all be a pipedream....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jan 2011 22:26:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372114#M34520</guid>
      <dc:creator>timgogl</dc:creator>
      <dc:date>2011-01-07T22:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372115#M34521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you ever figure this out? I am also trying to integrate a custom attribute inspector with the editing widget and finding only limited resources.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 21:52:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372115#M34521</guid>
      <dc:creator>MaritTenfjord</dc:creator>
      <dc:date>2011-07-28T21:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372116#M34522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Boy I was looking at the same thing. Were you ever able to find anything?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 17:43:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372116#M34522</guid>
      <dc:creator>ScottLehto2</dc:creator>
      <dc:date>2017-05-11T17:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372117#M34523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Editor gives you access to the Edit toolbar:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/editor-amd.html#edittoolbar" title="https://developers.arcgis.com/javascript/3/jsapi/editor-amd.html#edittoolbar"&gt;Editor | API Reference | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just listen for the 'activate' event which give you the current graphic:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/edit-amd.html#activate" title="https://developers.arcgis.com/javascript/3/jsapi/edit-amd.html#activate"&gt;Edit | API Reference | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can update the desired attribute of the graphic, then refresh the AttributeInspector:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/attributeinspector-amd.html#refresh" title="https://developers.arcgis.com/javascript/3/jsapi/attributeinspector-amd.html#refresh"&gt;AttributeInspector | API Reference | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 23:08:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372117#M34523</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2017-05-11T23:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372118#M34524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect. The attribute inspector was the piece of information i was looking for. It was hiding in plain sight. lol.&lt;/P&gt;&lt;P&gt;Question for you John: Do you have any knowledge of extending the attribute inspector?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see that it has constants of textbox, text area and richtext and i was looking to introduce filteringselect/combobox functionality to my application. In reality, i just wanted to load in values so users wouldn't have to type in everything. It would also provide some data editing quality control.&lt;/P&gt;&lt;P&gt;Based on what i saw, the functionality i want seems like a stretch, but perhaps i have it wrong. I figured i would ask anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 17:11:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372118#M34524</guid>
      <dc:creator>ScottLehto2</dc:creator>
      <dc:date>2017-05-12T17:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372119#M34525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When i say load in values, i mean loading in a list of value choices, not predefined/absolute values for a feature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 17:13:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372119#M34525</guid>
      <dc:creator>ScottLehto2</dc:creator>
      <dc:date>2017-05-12T17:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372120#M34526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/attributeinspector-amd.html" title="https://developers.arcgis.com/javascript/3/jsapi/attributeinspector-amd.html"&gt;AttributeInspector | API Reference | ArcGIS API for JavaScript 3.20&lt;/A&gt;&amp;nbsp;- "&lt;SPAN style="color: #4d4d4d; background-color: #ffffff;"&gt;&lt;EM&gt;The AttributeInspector widget honors the domains and subtypes as defined by the Feature Service.&lt;/EM&gt;&lt;/SPAN&gt;" &amp;nbsp;This means that a dropdown list of appropriate values will be presented to the user, and this is the best way to add the functionality you need as you're ensuring only one of the correct values are used and these constraints are available throughout the system and not just your app. &amp;nbsp;Additionally, if you need more control, you can specify your own dijit to handle the update for a specific field by using the 'customField' property when specifying the 'fieldInfos' of a 'layerInfo' in the AttributeInspector constructor.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 19:06:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372120#M34526</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2017-05-12T19:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372121#M34527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is fantastic. Thank you. Off to the races.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 May 2017 16:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372121#M34527</guid>
      <dc:creator>TheKenerson</dc:creator>
      <dc:date>2017-05-15T16:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: targeting attribute inspector of editor</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372122#M34528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was playing with this a bit again. Its kinda funny. I can make a new editor and I can make an attribute inspector but I cant make them work together. Once I run the editor.startup() it overrides my attribute inspector. Should the attribute editor be tied to the editor settings? Mine is not and I feel like it should.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have the attribute inspector and editor both using layerInfos to get their display information but other than that they are independent. I'm thinking this shouldn't be the case. Can someone please clarify this for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am more than happy to share code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jul 2017 21:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/targeting-attribute-inspector-of-editor/m-p/372122#M34528</guid>
      <dc:creator>TheKenerson</dc:creator>
      <dc:date>2017-07-07T21:31:03Z</dc:date>
    </item>
  </channel>
</rss>

