<?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: Project Graphics loses attributes in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/project-graphics-loses-attributes/m-p/513913#M13122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The REST service does not preserve attributes, however it does preserve the order the features were sent in, so its guaranteed that the first feature you used as input will be the first result you get back. That way you can quickly set the geometry back. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So something along the lines of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
for(int i = 0;i&amp;lt;results.Count;i++)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myLayer.Graphics&lt;I&gt;.Geometry = results&lt;I&gt;.Geometry;
&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 22:28:11 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2021-12-11T22:28:11Z</dc:date>
    <item>
      <title>Project Graphics loses attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/project-graphics-loses-attributes/m-p/513912#M13121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Apparently this is designed behavior, projecting a list of graphics with attributes, cleans them of the attributes?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a seen another post on the old forums about this issue and that is what is says.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So how am I supposed to preserve attributes when I project a feature of list of features?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 12:45:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/project-graphics-loses-attributes/m-p/513912#M13121</guid>
      <dc:creator>RobertMEIER</dc:creator>
      <dc:date>2010-07-19T12:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Project Graphics loses attributes</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/project-graphics-loses-attributes/m-p/513913#M13122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The REST service does not preserve attributes, however it does preserve the order the features were sent in, so its guaranteed that the first feature you used as input will be the first result you get back. That way you can quickly set the geometry back. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So something along the lines of:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
for(int i = 0;i&amp;lt;results.Count;i++)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myLayer.Graphics&lt;I&gt;.Geometry = results&lt;I&gt;.Geometry;
&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:28:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/project-graphics-loses-attributes/m-p/513913#M13122</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2021-12-11T22:28:11Z</dc:date>
    </item>
  </channel>
</rss>

