PROBLEM

Unable to publish a graphic layer as a web layer to ArcGIS Online

Last Published: September 1, 2022

Description

When publishing a graphic layer with other feature layers as a web layer to ArcGIS Online, the tool runs successfully, but returns the following warning message:

Warning:   
24078 Layer's data source is not supported: Graphics
The warning message returned in the Sharing Map As A Web Layer pane on the Messages tab.

For instance, when the map consists of a graphic layer and a point feature layer, publishing them to ArcGIS Online does not display the graphic layer when viewing the web layer in ArcGIS Online Map Viewer. The images below show the graphic layer in ArcGIS Pro and the web map in ArcGIS Online Map Viewer.

In ArcGIS Pro

In ArcGIS Pro, the graphic layer displaying graphic rectangles, curved arrows, and a curved text.

In ArcGIS Online Map Viewer

In ArcGIS Online Map Viewer, only the point feature layer is displayed.

There are also instances whereby publishing a graphic layer as a web layer to ArcGIS Online fails, and the following error message is returned:

Error:   
00102 Map does not contain a required layer type for web feature layer
The error message returned in the Sharing Map As A Web Layer pane on the Messages tab.

Cause

This is a known limitation. Publishing a graphic layer as a web layer is not supported in ArcGIS Online. Refer to ArcGIS Pro: Share graphics layers for more information.

Solution or Workaround

There are three possible workarounds to share the graphic layer to ArcGIS Online.

Share the map as a web map to ArcGIS Online

In ArcGIS Pro, in the Share As Web Map pane, uncheck the Use symbol types compatible with all clients check box, and share the map containing the graphic layer as a web map to retain and view the graphics in ArcGIS Online. Refer to ArcGIS Pro: Share a web map using a selected configuration for more information.

The Share As Web Map tool pane to be configured.

The image below shows the graphic layer displayed as a feature collection in ArcGIS Online Map Viewer.

The graphic layer and the point feature layer is displayed in ArcGIS Online Map Viewer.

Share the graphic layer as a layer file to ArcGIS Online

  1. Open the ArcGIS Pro project.
  2. Browse to the graphic layer in the Contents pane and save the layer as a layer file. Refer to ArcGIS Pro: Save a layer file for instructions.
  3. Log in to ArcGIS Online and add the layer file to ArcGIS Online. Refer to ArcGIS Online: Add files from your device for instructions.
The New item window to be configured.

Share the graphic layer as a layer package to ArcGIS Online

In ArcGIS Pro, in the Share As A Layer Package pane, select the Upload package to Online account option, and share the layer package to ArcGIS Online. Refer to ArcGIS Pro: Create a map package for more information.

The Package Layers tool pane to be configured.

Article ID: 000028237

Software:
  • ArcGIS Online
  • ArcGIS Pro 3 0
  • ArcGIS Pro 2 8 x
  • ArcGIS Pro 2 x

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