<?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 How to save image layer to ArcGIS Online account in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-save-image-layer-to-arcgis-online-account/m-p/387263#M35739</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an image service. There are raster function templates attached to it. I specify imageServiceParameters then display the image service with JavaScript API in client app. It looks good because it appears as what I expect with proper rendering (see picture below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image with proper render" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/448332_ALCM-change-map.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to save the layer to my AGOL account as item. I saved it successfully with addItem in REST API, but it's different from&amp;nbsp;image above because the raster function template as renderer didn't go with it.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image without proper rendering" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/448333_ALCM-change-map-item.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't find a parameter that I can use to specify rasterFunction and mosaicRule when I add item. Is there another way to do it?&amp;nbsp; Any answer will be appreciated a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2019 19:52:19 GMT</pubDate>
    <dc:creator>JamesToledano</dc:creator>
    <dc:date>2019-05-23T19:52:19Z</dc:date>
    <item>
      <title>How to save image layer to ArcGIS Online account</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-save-image-layer-to-arcgis-online-account/m-p/387263#M35739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an image service. There are raster function templates attached to it. I specify imageServiceParameters then display the image service with JavaScript API in client app. It looks good because it appears as what I expect with proper rendering (see picture below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image with proper render" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/448332_ALCM-change-map.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to save the layer to my AGOL account as item. I saved it successfully with addItem in REST API, but it's different from&amp;nbsp;image above because the raster function template as renderer didn't go with it.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="image without proper rendering" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/448333_ALCM-change-map-item.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't find a parameter that I can use to specify rasterFunction and mosaicRule when I add item. Is there another way to do it?&amp;nbsp; Any answer will be appreciated a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2019 19:52:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-save-image-layer-to-arcgis-online-account/m-p/387263#M35739</guid>
      <dc:creator>JamesToledano</dc:creator>
      <dc:date>2019-05-23T19:52:19Z</dc:date>
    </item>
  </channel>
</rss>

