<?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 Easiest method to save a graphic layer info. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/easiest-method-to-save-a-graphic-layer-info/m-p/350208#M32418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the easiest way to store a graphic layer's info? Does the API offer anything?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm planning to store the info into a database record and recall it when I need to re-create this layer dynamically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Feb 2012 18:47:34 GMT</pubDate>
    <dc:creator>MarcusC</dc:creator>
    <dc:date>2012-02-23T18:47:34Z</dc:date>
    <item>
      <title>Easiest method to save a graphic layer info.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/easiest-method-to-save-a-graphic-layer-info/m-p/350208#M32418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What's the easiest way to store a graphic layer's info? Does the API offer anything?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm planning to store the info into a database record and recall it when I need to re-create this layer dynamically.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 18:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/easiest-method-to-save-a-graphic-layer-info/m-p/350208#M32418</guid>
      <dc:creator>MarcusC</dc:creator>
      <dc:date>2012-02-23T18:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Easiest method to save a graphic layer info.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/easiest-method-to-save-a-graphic-layer-info/m-p/350209#M32419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We don't have a method to serialize a graphics layer to JSON. Instead, you have to call toJson() on each graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Feature layers, OTOH, have a toJson() method which generates a feature collection. Once you have a JSON object that represents a feature collection, you can stringify it with dojo.toJson(). You can then store the string in your DB and retrieve it to re-create your feature layer later.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 19:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/easiest-method-to-save-a-graphic-layer-info/m-p/350209#M32419</guid>
      <dc:creator>derekswingley1</dc:creator>
      <dc:date>2012-02-23T19:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Easiest method to save a graphic layer info.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/easiest-method-to-save-a-graphic-layer-info/m-p/350210#M32420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! This will do it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 19:24:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/easiest-method-to-save-a-graphic-layer-info/m-p/350210#M32420</guid>
      <dc:creator>MarcusC</dc:creator>
      <dc:date>2012-02-23T19:24:20Z</dc:date>
    </item>
  </channel>
</rss>

