<?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 implement functionality similar to &amp;quot;saving file in .mxd format&amp;quot; in web application using arcgis api for javascript? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636272#M59439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-avatarid="2111" data-externalid="" data-online="false" data-presence="null" data-userid="4158" data-username="ciava.at" href="https://community.esri.com/people/ciava.at" style="font-weight: bold; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; background-color: #f3f3f3;"&gt;Domenico Ciavarella&lt;/A&gt; ,&amp;nbsp; &lt;/P&gt;&lt;P&gt;I am still not clear how to store the current json data or layer information of map.I want to save it but not getting how?&lt;/P&gt;&lt;P&gt;As per this sample I got the direction, it is about creating web map from json data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 05:34:49 GMT</pubDate>
    <dc:creator>GauriDeshmukh</dc:creator>
    <dc:date>2014-07-16T05:34:49Z</dc:date>
    <item>
      <title>How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636270#M59437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to implement a functionality which will save all layers added to map,its all display information like current extent, symbology and queried features if any etc. Its similar to saving an mxd(map document) file in arc map. But I want save this layer details in a table in database. When a user will open this saved file the layer should get added to map with all its saved properties.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 09:54:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636270#M59437</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-07-15T09:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636271#M59438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can have a similar functionality using the webmap format. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See this sample: &lt;A href="https://developers.arcgis.com/javascript/jssamples/ags_createwebmapitem.html" title="https://developers.arcgis.com/javascript/jssamples/ags_createwebmapitem.html"&gt;Web map using JSON | ArcGIS API for JavaScript&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Help format web map json: &lt;A href="http://resources.arcgis.com/en/help/arcgis-web-map-json/index.html#//02qt00000007000000" title="http://resources.arcgis.com/en/help/arcgis-web-map-json/index.html#//02qt00000007000000"&gt;ArcGIS web map JSON format&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:50:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636271#M59438</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2014-07-15T15:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636272#M59439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;A _jive_internal="true" data-avatarid="2111" data-externalid="" data-online="false" data-presence="null" data-userid="4158" data-username="ciava.at" href="https://community.esri.com/people/ciava.at" style="font-weight: bold; font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #8b8b8b; background-color: #f3f3f3;"&gt;Domenico Ciavarella&lt;/A&gt; ,&amp;nbsp; &lt;/P&gt;&lt;P&gt;I am still not clear how to store the current json data or layer information of map.I want to save it but not getting how?&lt;/P&gt;&lt;P&gt;As per this sample I got the direction, it is about creating web map from json data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 05:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636272#M59439</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-07-16T05:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636273#M59440</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/38245"&gt;Gauri Deshmukh&lt;/A&gt;‌, I don't think that there is an out of box for serialize in webmap. You can see sample project how this for serialize : &lt;A href="https://github.com/swingley/cereal" title="https://github.com/swingley/cereal"&gt;swingley/cereal · GitHub&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 13:39:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636273#M59440</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2014-07-16T13:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636274#M59441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://community.esri.com/people/ciava.at"&gt;ciava.at&lt;/A&gt;&lt;/STRONG&gt;&amp;nbsp; excellent ..using&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; the code for map-cereal.js from&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://github.com/swingley/cereal" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433;" target="_blank"&gt;swingley/cereal · GitHub&lt;/A&gt;‌, I am able to get JSON response for my current map document and can create Webmap from this json. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 11:44:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636274#M59441</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-07-17T11:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636275#M59442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I am looking for converting this webmap to map or is there any way to construct a map again with the json response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 11:48:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636275#M59442</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-07-17T11:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636276#M59443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Gauri, this sample illustrates how to get a map from the web map response:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/ags_createwebmapitem.html" title="https://developers.arcgis.com/javascript/jssamples/ags_createwebmapitem.html"&gt;Web map using JSON | ArcGIS API for JavaScript&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key aspect of the sample is using the arcgisUtils class to create a deferred object, then obtain the map from the response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; arcgisUtils&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;createMap&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;webmap&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #999999;"&gt;"map"&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;).&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;then&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #000088;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;response&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;){&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #000088;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; map &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; response&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;map&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;//do something with the map here &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jul 2014 18:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636276#M59443</guid>
      <dc:creator>KevinDeege</dc:creator>
      <dc:date>2014-07-18T18:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636277#M59444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;STRONG style="font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://community.esri.com/people/KDeege-esristaff"&gt;KDeege-esristaff&lt;/A&gt;&lt;/STRONG&gt;&lt;STRONG style="font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; ,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I dont want to create web map&amp;nbsp; or a map like this, I want to add the layers &lt;STRONG style="font-size: 12px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;which i got in response&lt;/STRONG&gt; ,separately&amp;nbsp; to the map by map.addddLayer method (as per my requirement).&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 07:49:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636277#M59444</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-07-21T07:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636278#M59445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I add layer in the form of object to map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 07:51:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636278#M59445</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-07-21T07:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636279#M59446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you use the array of layers in the response as a way to accomplish this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #000088;"&gt;var&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; layers &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt; response&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;itemInfo&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;itemData&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;operationalLayers&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;;&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln" style="color: #000000;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 19:02:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636279#M59446</guid>
      <dc:creator>KevinDeege</dc:creator>
      <dc:date>2014-07-21T19:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636280#M59447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes i can use, from the response i converted json data to object and added layers(dynamica map service layer) to map.&lt;/P&gt;&lt;P&gt;But I am not able to add graphics&amp;nbsp; layers whose json response is in the form of feature collection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 07:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636280#M59447</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-07-22T07:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636281#M59448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gauri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at this sample regarding &lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/javascript/jssamples/fl_featureCollection.html"&gt;Feature Collections&lt;/A&gt;&lt;/STRONG&gt; if you haven't already have.&lt;/P&gt;&lt;P&gt;If your response is in Feature Collection then you can create a feature layer from that. Not sure if you can make graphics layer out of that!&lt;/P&gt;&lt;P&gt;See if this helps in any way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Akshay H.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 23:49:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636281#M59448</guid>
      <dc:creator>AkshayHarshe</dc:creator>
      <dc:date>2014-07-22T23:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to implement functionality similar to "saving file in .mxd format" in web application using arcgis api for javascript?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636282#M59449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Akshay,&amp;nbsp; I tried&amp;nbsp; to add my feature collection to feature layer as per this sample,but the feature layer is not getting displayed on a map, may be I am missing something. It would be better if i use graphics layer. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Jul 2014 06:29:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-implement-functionality-similar-to-quot/m-p/636282#M59449</guid>
      <dc:creator>GauriDeshmukh</dc:creator>
      <dc:date>2014-07-23T06:29:31Z</dc:date>
    </item>
  </channel>
</rss>

