<?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 edit attributes for specific feature in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-attributes-for-specific-feature/m-p/633649#M59185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help me find a way to edit attributes of a featurelayer. but not using attributeInspector widget.&lt;/P&gt;&lt;P&gt;sofar I've set an edit button in Popup footer. users click on it and I want them to be able to edit attributes in another Div.&lt;/P&gt;&lt;P&gt;so I have the object of that specific element.&lt;/P&gt;&lt;P&gt;which looks like this:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="_jivemacro_uid_14598459316492454 jive_macro_code jive_text_macro" data-renderedposition="188.390625_50_798_311" jivemacro_uid="_14598459316492454" modifiedtitle="true"&gt;&lt;OL class="children expanded" style="list-style-type: none; padding-left: 12px; color: #212121; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;OL class="children expanded" style="list-style-type: none; padding-left: 12px;"&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;OBJECTID&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"17"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;Shape&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"Point"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;date&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"Null"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;id&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"Null"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;name&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"some Thing"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;type&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"some Type"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name object-properties-section-dimmed" style="color: #881391;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;OL class="children expanded" style="list-style-type: none; padding-left: 12px;"&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;spatialReference&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;type&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"point"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;x&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-number" style="color: #1c00cf;"&gt;5733576.450887503&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;y&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-number" style="color: #1c00cf;"&gt;3865276.718386505&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name object-properties-section-dimmed" style="color: #881391;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;infoTemplate&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-null" style="color: #808080;"&gt;null&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name object-properties-section-dimmed" style="color: #881391;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2016 08:46:13 GMT</pubDate>
    <dc:creator>behsoh</dc:creator>
    <dc:date>2016-04-05T08:46:13Z</dc:date>
    <item>
      <title>edit attributes for specific feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-attributes-for-specific-feature/m-p/633649#M59185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;help me find a way to edit attributes of a featurelayer. but not using attributeInspector widget.&lt;/P&gt;&lt;P&gt;sofar I've set an edit button in Popup footer. users click on it and I want them to be able to edit attributes in another Div.&lt;/P&gt;&lt;P&gt;so I have the object of that specific element.&lt;/P&gt;&lt;P&gt;which looks like this:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="_jivemacro_uid_14598459316492454 jive_macro_code jive_text_macro" data-renderedposition="188.390625_50_798_311" jivemacro_uid="_14598459316492454" modifiedtitle="true"&gt;&lt;OL class="children expanded" style="list-style-type: none; padding-left: 12px; color: #212121; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;attributes&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;OL class="children expanded" style="list-style-type: none; padding-left: 12px;"&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;OBJECTID&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"17"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;Shape&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"Point"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;date&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"Null"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;id&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"Null"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;name&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"some Thing"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;type&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"some Type"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name object-properties-section-dimmed" style="color: #881391;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;geometry&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;OL class="children expanded" style="list-style-type: none; padding-left: 12px;"&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;spatialReference&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;type&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-string" style="color: #c41a16;"&gt;"point"&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;x&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-number" style="color: #1c00cf;"&gt;5733576.450887503&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;y&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-number" style="color: #1c00cf;"&gt;3865276.718386505&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name object-properties-section-dimmed" style="color: #881391;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;infoTemplate&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name" style="color: #881391;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="value object-value-null" style="color: #808080;"&gt;null&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN class="name object-properties-section-dimmed" style="color: #881391;"&gt;__proto__&lt;/SPAN&gt;&lt;SPAN class="object-properties-section-separator" style="padding-right: 5px;"&gt;:&lt;/SPAN&gt;&lt;SPAN class="object-value-object value" style="color: inherit;"&gt;Object&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what can i do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 08:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-attributes-for-specific-feature/m-p/633649#M59185</guid>
      <dc:creator>behsoh</dc:creator>
      <dc:date>2016-04-05T08:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: edit attributes for specific feature</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-attributes-for-specific-feature/m-p/633650#M59186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/192945" target="_blank"&gt;beh soh&lt;/A&gt;​, &lt;/P&gt;&lt;P&gt;You can simply use the&lt;A href="https://developers.arcgis.com/javascript/jsapi/featurelayer.html#applyedits" rel="nofollow noopener noreferrer" target="_blank"&gt; ApplyEdits &lt;/A&gt;method of the FeatureLayer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var attr = {
&amp;nbsp; "ID": targetRefID,
&amp;nbsp; "SUBSECRIPTION_TYPE": 1,
&amp;nbsp; "COVERAGE_TYPE": COVERAGE_TYPE_VALUE,
&amp;nbsp; "X_COORD": customerPoint.x,
&amp;nbsp; "Y_COORD": customerPoint.y
&amp;nbsp; };
&amp;nbsp; var g_ = new Graphic(customerPoint, null, attr, null);
&amp;nbsp; customerLayer.applyEdits([g_], null, null, addCustomerResult, err);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find the answer, please mark it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 02:57:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/edit-attributes-for-specific-feature/m-p/633650#M59186</guid>
      <dc:creator>YousefQuran</dc:creator>
      <dc:date>2021-12-12T02:57:25Z</dc:date>
    </item>
  </channel>
</rss>

