<?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: How to best edit tabular data of feature layer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-best-edit-tabular-data-of-feature-layer/m-p/131506#M12250</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben - I have not explored editing from a table because it seems to require better knowledge of server communication than I currently possess, but I can share what has worked for me using out of the box solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Dgrid to display a table, with a little query box above it. The Dgrid content can change based on features returned from a query and row-clicks zoom to that particular feature:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/fl_dgrid.html" title="https://developers.arcgis.com/javascript/jssamples/fl_dgrid.html"&gt;dgrid | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then do editing in the map infowindow by clicking the feature after zooming. The Attribute Inspector widget set within the map infowindow allows for editing (so it's a pop-up when you click the feature):&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/attributeinspector-amd.html" title="https://developers.arcgis.com/javascript/jsapi/attributeinspector-amd.html"&gt;AttributeInspector | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the Attribute Inspector can be put in any div so if you wanted to do a split window, you could set it on one half of the screen. Users would still need to click a feature to get the editor, or you could look into programmatically displaying it based on a click in a table row since that click event would have the id you need to select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have an edit on/off button so that when the map starts a feature click displays the normal pop-up, but when editing is enabled it displays the Attribute Inspector. And when edits are saved I refresh the Dgrid results to reflect edits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not very elegant, but it works. Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Feb 2015 17:39:56 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2015-02-24T17:39:56Z</dc:date>
    <item>
      <title>How to best edit tabular data of feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-best-edit-tabular-data-of-feature-layer/m-p/131505#M12249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a arcgis-hosted feature layer that I'd like public users to query&amp;nbsp; based on a unique value and then see the results in a tabular view.&amp;nbsp; From there, they would edit a field (w/ coded value domain).&amp;nbsp; Ideally, the screen could be split with a map for users to have the option to zoom to selected table record if they wish.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I spent a bit of time looking at samples and the api reference, but I'm scratching my head a bit on best way to implement this.&amp;nbsp; Could the Feature Table widget (though beta) be an approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have advice on how this can be achieved?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks much, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Feb 2015 20:43:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-best-edit-tabular-data-of-feature-layer/m-p/131505#M12249</guid>
      <dc:creator>BenAller</dc:creator>
      <dc:date>2015-02-18T20:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to best edit tabular data of feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-best-edit-tabular-data-of-feature-layer/m-p/131506#M12250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben - I have not explored editing from a table because it seems to require better knowledge of server communication than I currently possess, but I can share what has worked for me using out of the box solutions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use Dgrid to display a table, with a little query box above it. The Dgrid content can change based on features returned from a query and row-clicks zoom to that particular feature:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/fl_dgrid.html" title="https://developers.arcgis.com/javascript/jssamples/fl_dgrid.html"&gt;dgrid | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then do editing in the map infowindow by clicking the feature after zooming. The Attribute Inspector widget set within the map infowindow allows for editing (so it's a pop-up when you click the feature):&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/attributeinspector-amd.html" title="https://developers.arcgis.com/javascript/jsapi/attributeinspector-amd.html"&gt;AttributeInspector | API Reference | ArcGIS API for JavaScript&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the Attribute Inspector can be put in any div so if you wanted to do a split window, you could set it on one half of the screen. Users would still need to click a feature to get the editor, or you could look into programmatically displaying it based on a click in a table row since that click event would have the id you need to select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have an edit on/off button so that when the map starts a feature click displays the normal pop-up, but when editing is enabled it displays the Attribute Inspector. And when edits are saved I refresh the Dgrid results to reflect edits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not very elegant, but it works. Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 17:39:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-best-edit-tabular-data-of-feature-layer/m-p/131506#M12250</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2015-02-24T17:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to best edit tabular data of feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-best-edit-tabular-data-of-feature-layer/m-p/131507#M12251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/41473"&gt;Sarah Clark&lt;/A&gt;​&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I am looking to do what you have already done. &lt;/P&gt;&lt;P&gt;I want to edit attributes in Infowindow and allow the user to view a table and zoom to selected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be willing to share your code? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Dec 2015 00:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-best-edit-tabular-data-of-feature-layer/m-p/131507#M12251</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-12-02T00:32:11Z</dc:date>
    </item>
  </channel>
</rss>

