<?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: JPG format as parameter for service request URL in WAB in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201876#M5572</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Ionut,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;It sounds like you need to remove the layer from your web map and re-add it now that it has a cache so that it quits thinking it is a dynamic map service and starts treating it as a tiled map service.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Jul 2017 12:52:09 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2017-07-25T12:52:09Z</dc:date>
    <item>
      <title>JPG format as parameter for service request URL in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201873#M5569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding changing the format for the request for data (map services) inside an application made with WAB for developers (2.4).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application contains several layers which were cached layers published as map services. The cache format is JPG but when I check the request format for data, the format request from client is PNG and the data is loading very slowly, even if the service is cached data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If someone could tell me where exactly to modify or to specify the request format; if I should specify in WAB code or if there`s something about the GIS service that should be changed..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The serivce request looks like this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;EM&gt;domain&lt;/EM&gt;/arcgis/rest/services/&lt;EM&gt;Folder&lt;/EM&gt;/&lt;EM&gt;ServiceName&lt;/EM&gt;/MapServer/export?dpi=96&amp;amp;transparent=true&amp;amp;&lt;STRONG&gt;format=png32&lt;/STRONG&gt;&amp;amp;layers=show%3A-1%2C-1%2C-1&amp;amp;bbox=-108530.93828921515%2C225676.9179301192%2C1110671.5001156619%2C816228.0990324814&amp;amp;bboxSR=3844&amp;amp;imageSR=3844&amp;amp;size=1536%2C744&amp;amp;f=image&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;Also, none of the layers in ArcMap had transparency before publishing..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222;"&gt;Ionut&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 06:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201873#M5569</guid>
      <dc:creator>IonutAlixandroae4</dc:creator>
      <dc:date>2017-07-24T06:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: JPG format as parameter for service request URL in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201874#M5570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Ionut,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;This is not possible if your layer you are wanting to change is coming from the webmap. The web map is turned into a Map object using the arcgisUtils.createMap method internal to the JS API which does not allow for that level of control. I find it strange that the request is coming across that way. Normally the request for a tile in a cached map service does not an export request at all, that is only done for a dynamic map service request.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 13:17:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201874#M5570</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-07-24T13:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: JPG format as parameter for service request URL in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201875#M5571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;Well, I`m not sure if I made myself clear or similar, but after I manually created the cache data for the published layers, in the .mxd I have replaced the layers with the cache data and published again as a dynamic map service, so the data could load faster in the web map.... So in the end I have a dynamic map service which has some groups and sub-groups of layers (which in the published .mxd are the cached data from another process of publishing). Hope this helps. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if the Map object returns the requests as PNG tiles for a dynamic map service, I think it doesn`t matter the workflow anymore..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ionut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 06:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201875#M5571</guid>
      <dc:creator>IonutAlixandroae4</dc:creator>
      <dc:date>2017-07-25T06:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: JPG format as parameter for service request URL in WAB</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201876#M5572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Ionut,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp; &amp;nbsp;It sounds like you need to remove the layer from your web map and re-add it now that it has a cache so that it quits thinking it is a dynamic map service and starts treating it as a tiled map service.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jul 2017 12:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/jpg-format-as-parameter-for-service-request-url-in/m-p/201876#M5572</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-07-25T12:52:09Z</dc:date>
    </item>
  </channel>
</rss>

