HOW TO

Preserve custom raster symbology for a single image or a mosaic dataset published from ArcGIS Pro to ArcGIS Online

Last Published: April 29, 2025

Summary

When publishing raster data as an image or a mosaic dataset with a custom color scheme applied from ArcGIS Pro, the published imagery layer in ArcGIS Online doesn’t preserve the symbology. As a result, the image is displayed by default with the RGB composite renderer, similar to the image shown below.

This is a known limit for BUG-000110154. Although the two reference articles below provide existing solutions, both require multiple steps. This article aims to provide an additional simpler solution. 

Cause

This is a known limit for BUG-000110154

Although the two articles below provide existing solutions, both require multiple steps. This article aims to provide an additional simpler solution. 

Existing solution 1: https://support.esri.com/en-us/knowledge-base/how-to-apply-a-raster-function-template-to-symbolize-cl-000021676

Existing solution 2: https://support.esri.com/en-us/knowledge-base/publish-an-imagery-service-with-a-preferred-raster-func-000031281

Procedure

Note:
The workflows below apply to dynamic imagery layers. You cannot share dynamic imagery layer items with the public. Even if you have privileges to share data publicly, the option to share dynamic imagery layers with Everyone (public) is not available. See: Imagery layers
  1. Once an image or a mosaic dataset has been configured with the desired custom symbology, create a raster function template.

  1. In the Symbology pane, click the three-line 'hamburger' menu in the top right-hand corner and click Export as raster function template.
  2. Populate information in the parameter as necessary. In this case, in the Category field, select Custom. When the template is saved, it is available in the Custom tab of Raster Functions.
  3. Type a Description.
  4. For Type select Mosaic.
  5. Set Multidimensional rules to Match Variables. Click OK to save. 
  1. Open the Raster Functions pane. Select the Custom tab. Navigate to the new Raster Function Template created from the step above.
    • Right-click,  Share to Portal, and populate the name, summary, and tags as appropriate.
  2. Publish the image or a mosaic dataset as a Dynamic Imagery Layer.
    1. Select any options for your images. In this workflow, we select Single image, and click Next.
    2. Source Data: Click the Add button to locate the source image data, and click Next.
    3. Populate the item details for the imagery layer, and click Run.
  3. After creating the hosted imagery layer is completed, go to ArcGIS Online and the Item Details page of the dynamic imagery layer.
    1. Under Settings, scroll down to the Imagery Layer (hosted) section.
    2. Make sure to enable the Allow function check box.
    3. Click the Choose Raster Function Template button to select the raster function template, select the Default template to your selected raster function template, enable the template under Raster Functions, and click Save.

  1. Open the dynamic imagery layer in Map Viewer.
  1. If you prefer not to configure the raster function template on the settings page, you can instead apply it directly within Map Viewer.
    1. Open the published dynamic imagery layer in Map Viewer.
    2. Select the Processing templates menu, shown in the image below.
    3. Select + import user defined template.
    4. Under My Content, select the raster function template, and click Done.

Now, the custom symbology in Map Viewer looks exactly the same in ArcGIS Pro.

Article ID: 000034171

Software:
  • ArcGIS Pro
  • ArcGIS Online

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options