<?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 sample Legacy to AMD in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439434#M40504</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is that (line 4):&lt;/P&gt;&lt;P&gt;&lt;/P&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;&amp;nbsp;&amp;nbsp; selectedTemplate.featureLayer.applyEdits([newGraphic], null, null, function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; templatePicker.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var screenPoint = map.toScreen(getInfoWindowPositionPoint(newGraphic));
&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("Edit Feature");
&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(attInspector.domNode);
&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(325, 185);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.show(screenPoint, map.getInfoWindowAnchor(screenPoint));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 19:39:45 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-11T19:39:45Z</dc:date>
    <item>
      <title>Attribute Inspector sample Legacy to AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439431#M40501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was trying to translate the following sample from Legacy to AMD, but I ran into some issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the sample: &lt;A href="https://developers.arcgis.com/javascript/jssamples/ed_multipleAttrInspector.html" title="https://developers.arcgis.com/javascript/jssamples/ed_multipleAttrInspector.html"&gt;Multiple Attribute Inspectors | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how far I have gotten: &lt;A href="https://jsbin.com/sudufojawi/1/edit?html,output" title="https://jsbin.com/sudufojawi/1/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following issues:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) &lt;SPAN style="text-decoration: line-through;"&gt;Doesn't matter what template I pick I get the question mark symbol.&lt;/SPAN&gt; (Thanks to Robert this is fixed)&lt;/P&gt;&lt;P&gt;2)&lt;SPAN style="text-decoration: line-through;"&gt; When I create a new feature it does not save the attributes I put in a field.&lt;/SPAN&gt; (fixed this issue in the latest version)&lt;/P&gt;&lt;P&gt;3) I have also noticed that in both the sample and my translation, when you first create a feature, the popup box doesn't have the header with the X to close it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 13:07:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439431#M40501</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-09-04T13:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Inspector sample Legacy to AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439432#M40502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I still can not figure out why but here is the two line I changed to get the graphic to have the correct symbol.&lt;/P&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;&amp;nbsp;&amp;nbsp; var newGraphic = new Graphic(geometry);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; newGraphic.setAttributes(newAttributes);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439432#M40502</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T19:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Inspector sample Legacy to AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439433#M40503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert, that does the trick.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the only thing that is left is the pop-up box.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 13:55:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439433#M40503</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-09-04T13:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Inspector sample Legacy to AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439434#M40504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Here is that (line 4):&lt;/P&gt;&lt;P&gt;&lt;/P&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;&amp;nbsp;&amp;nbsp; selectedTemplate.featureLayer.applyEdits([newGraphic], null, null, function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; templatePicker.clearSelection();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var screenPoint = map.toScreen(getInfoWindowPositionPoint(newGraphic));
&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("Edit Feature");
&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(attInspector.domNode);
&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(325, 185);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.show(screenPoint, map.getInfoWindowAnchor(screenPoint));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:39:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439434#M40504</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T19:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Attribute Inspector sample Legacy to AMD</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439435#M40505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Robert as always.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Sep 2015 14:40:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/attribute-inspector-sample-legacy-to-amd/m-p/439435#M40505</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-09-04T14:40:08Z</dc:date>
    </item>
  </channel>
</rss>

