AnsweredAssumed Answered

WebMap to json

Question asked by spelletier on Oct 30, 2015
Latest reply on Oct 30, 2015 by spelletier

I use Web App Builder and I would like to know if there is a method to export the contents of a webmap to json. It is possible to open a webmap (json) like this :

 

https://developers.arcgis.com/javascript/jssamples/ags_createwebmapitem.html

 

but I have found nothing to export the webmap to json.

 

 

I tried the following method but it only records what is visible on the map.

 

var = Web_Map_as_JSON JSON.toJson (printTask._getPrintDefinition (this.map, params));

 

This method does not save everything in the toc and not visible on the map.

Outcomes