<?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 Feature layer Method: attr(name,value) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-method-attr-name-value/m-p/681225#M63482</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I'm new to ArcGIS javascript API, now I need to replace an attributes array of the feature layer (whole records associated with a specific field) as a new array of records. I'm just wondering is it possible to use the method attr(name,value) to realize it? Because I saw the method description says: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr(name,value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adds a new attribute or changes the value of an existing attribute on the layer's node. Removes the attribute if the value is null or undefined. (Added at v3.7)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I can't, can any one give me any hint or code about how to do it? Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2013 21:06:33 GMT</pubDate>
    <dc:creator>yufeizhuang</dc:creator>
    <dc:date>2013-10-14T21:06:33Z</dc:date>
    <item>
      <title>Feature layer Method: attr(name,value)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-method-attr-name-value/m-p/681225#M63482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all, I'm new to ArcGIS javascript API, now I need to replace an attributes array of the feature layer (whole records associated with a specific field) as a new array of records. I'm just wondering is it possible to use the method attr(name,value) to realize it? Because I saw the method description says: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;attr(name,value)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adds a new attribute or changes the value of an existing attribute on the layer's node. Removes the attribute if the value is null or undefined. (Added at v3.7)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I can't, can any one give me any hint or code about how to do it? Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 21:06:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/feature-layer-method-attr-name-value/m-p/681225#M63482</guid>
      <dc:creator>yufeizhuang</dc:creator>
      <dc:date>2013-10-14T21:06:33Z</dc:date>
    </item>
  </channel>
</rss>

