<?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: Attribute Inspector inside Content Pane Issue (widget id already registered) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-inside-content-pane-issue/m-p/281095#M25964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Samir,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much for your reply. I realized I was creating the Attribute Inspector within a loop that selects features from multiple FeatureLayers. I moved it out of the loop and that resolved the issue. I do plan on using dojo.destroy() when the user switches to another floor so thank you for the suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Take care,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Feb 2013 17:50:13 GMT</pubDate>
    <dc:creator>KellyBoyd</dc:creator>
    <dc:date>2013-02-27T17:50:13Z</dc:date>
    <item>
      <title>Attribute Inspector inside Content Pane Issue (widget id already registered)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-inside-content-pane-issue/m-p/281093#M25962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I adapted the following sample to put the attribute inspector in the right pane of the page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_attributeinspectorpane" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_attributeinspectorpane&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(When I watched users try to use the attribute inspector in the info window, I noticed they had to pan the map and make adjustments in order to see all of the fields they needed to edit.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I'm working with floor plans so before I can enable editing, the user queries a building and the first floor is loaded. The selected floor is used in a definition expression on the feature layer used for editing. The layerInfos and attribute inspector are set up in the initSelectToolbar function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;attInspector = 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; layerInfos: layerInfos &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, "attributesDiv");&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;div data-dojo-type="dijit.layout.ContentPane"&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; data-dojo-props="title:'Enter/Edit Room'"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="attributesDiv"&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;lt;/div&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get this error in firebug "Tried to register widget with id==attributesDiv but that id is already registered".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried using different variations from to put the attribute inspector in a new div inside attributesDiv but they haven't worked. I'm thinking I may not have have the right require statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Take care,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 14:12:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-inside-content-pane-issue/m-p/281093#M25962</guid>
      <dc:creator>KellyBoyd</dc:creator>
      <dc:date>2013-02-27T14:12:13Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Inspector inside Content Pane Issue (widget id already registered)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-inside-content-pane-issue/m-p/281094#M25963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;I adapted the following sample to put the attribute inspector in the right pane of the page:&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_attributeinspectorpane" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_attributeinspectorpane&lt;/A&gt;&lt;BR /&gt;(When I watched users try to use the attribute inspector in the info window, I noticed they had to pan the map and make adjustments in order to see all of the fields they needed to edit.)&lt;BR /&gt;&lt;BR /&gt;Anyway, I'm working with floor plans so before I can enable editing, the user queries a building and the first floor is loaded. The selected floor is used in a definition expression on the feature layer used for editing. The layerInfos and attribute inspector are set up in the initSelectToolbar function.&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;attInspector = 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; layerInfos: layerInfos &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, "attributesDiv");&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;div data-dojo-type="dijit.layout.ContentPane"&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; data-dojo-props="title:'Enter/Edit Room'"&amp;gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div id="attributesDiv"&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;lt;/div&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;I get this error in firebug "Tried to register widget with id==attributesDiv but that id is already registered".&lt;BR /&gt;&lt;BR /&gt;I've tried using different variations from to put the attribute inspector in a new div inside attributesDiv but they haven't worked. I'm thinking I may not have have the right require statement.&lt;BR /&gt;&lt;BR /&gt;Any help would be greatly appreciated.&lt;BR /&gt;Take care,&lt;BR /&gt;Kelly&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Kelly, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have encountered this issue with some other variables I used in my application. I figured that I encountered this problem with my global variables. I suspect your variable 'attInspector' might be a global variable. Also, you might need to 'destroy' this variable after use each time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this is helpful,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Samir&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 15:02:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-inside-content-pane-issue/m-p/281094#M25963</guid>
      <dc:creator>SamirGambhir</dc:creator>
      <dc:date>2013-02-27T15:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Inspector inside Content Pane Issue (widget id already registered)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-inside-content-pane-issue/m-p/281095#M25964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Samir,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much for your reply. I realized I was creating the Attribute Inspector within a loop that selects features from multiple FeatureLayers. I moved it out of the loop and that resolved the issue. I do plan on using dojo.destroy() when the user switches to another floor so thank you for the suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Take care,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:50:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-inside-content-pane-issue/m-p/281095#M25964</guid>
      <dc:creator>KellyBoyd</dc:creator>
      <dc:date>2013-02-27T17:50:13Z</dc:date>
    </item>
  </channel>
</rss>

