<?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>idea Expose method that converts the mapView into a WebMap_as_JSON in ArcGIS JavaScript Maps SDK Ideas</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/expose-method-that-converts-the-mapview-into-a/idi-p/1699792</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am a developer of GIS Web components, and I would greatly appreciate it if the logic that converts a MapView into a WebMap_as_JSON could be exposed in a public method. We run a custom printing service that uses the Export Web Map Task geoprocessor with extra parameters to enable the printing use cases of my Organisation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Both the PrintViewModel.print() and the print.execute() combine building the payload and sending the request.&amp;nbsp;&lt;/SPAN&gt;Exposing the logic that generates the WebMap_as_JSON as a seperate method would benefit our workflow for two reasons.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Lower code complexity:&lt;/STRONG&gt; It would make it easier to edit the&amp;nbsp;WebMap_as_JSON payload before sending the request to the server. Currently we have to rely on requestInterceptors to configure the payload correctly&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Easier troubleshooting:&lt;/STRONG&gt; With over 1000 daily users sometimes the printjobs fail. We track these failures with dynatrace but getting the Webmap_as_JSON which is crucial for troubleshooting is cumbersome. A seperate method would make logging the json payload to dynatrace a breeze.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2026 08:39:38 GMT</pubDate>
    <dc:creator>gqzomer</dc:creator>
    <dc:date>2026-05-04T08:39:38Z</dc:date>
    <item>
      <title>Expose method that converts the mapView into a WebMap_as_JSON</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/expose-method-that-converts-the-mapview-into-a/idi-p/1699792</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am a developer of GIS Web components, and I would greatly appreciate it if the logic that converts a MapView into a WebMap_as_JSON could be exposed in a public method. We run a custom printing service that uses the Export Web Map Task geoprocessor with extra parameters to enable the printing use cases of my Organisation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Both the PrintViewModel.print() and the print.execute() combine building the payload and sending the request.&amp;nbsp;&lt;/SPAN&gt;Exposing the logic that generates the WebMap_as_JSON as a seperate method would benefit our workflow for two reasons.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Lower code complexity:&lt;/STRONG&gt; It would make it easier to edit the&amp;nbsp;WebMap_as_JSON payload before sending the request to the server. Currently we have to rely on requestInterceptors to configure the payload correctly&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Easier troubleshooting:&lt;/STRONG&gt; With over 1000 daily users sometimes the printjobs fail. We track these failures with dynatrace but getting the Webmap_as_JSON which is crucial for troubleshooting is cumbersome. A seperate method would make logging the json payload to dynatrace a breeze.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2026 08:39:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-ideas/expose-method-that-converts-the-mapview-into-a/idi-p/1699792</guid>
      <dc:creator>gqzomer</dc:creator>
      <dc:date>2026-05-04T08:39:38Z</dc:date>
    </item>
  </channel>
</rss>

