In ArcGIS Pro, you can share maps and layers to your ArcGIS Online or ArcGIS Enterprise portal. You can access your portal items from Map Viewer Classic, ArcGIS Pro, and other ArcGIS apps. You can make content changes and updates directly in the portal with Map Viewer Classic; you can also make updates from ArcGIS Pro. In both cases, the latest portal content is available to all your apps
- Video length: 3:05.
- This video was created with ArcGIS Pro 2.3.
In this tutorial, you'll share an ArcGIS Pro map to your active portal. You'll make changes to the web map in Map Viewer Classic and view the updated content in ArcGIS Pro. You'll make further changes to the web map in ArcGIS Pro and save them to your portal.
- Estimated time: 30 minutes (including optional section)
- Software requirements:
- ArcGIS Pro Basic
- ArcGIS Online or ArcGIS Enterprise account with sharing privileges
Open the project
A mangrove is a type of ecosystem that contains valuable natural resources and diverse animal species. The mangrove is a unique environment and interesting to ecotourists, so the conservation of this land cover is important.
You'll share a map of mangrove locations and walking trails on the North Island of New Zealand.
If you completed the Author a map tutorial, you can use the project you created (New Zealand Mangroves) for this tutorial. Open the project from your list of recent projects on the ArcGIS Pro start page or browse to it by clicking Open another project. If you use your own project, skip the first section of this tutorial and begin with Prepare the map for sharing. You may notice minor differences in images and names, but the steps will work.
- Start ArcGIS Pro and sign in if necessary.
- On the start page, next to the list of recent projects, click Open another project.
If you already have a project open, click the Project tab on the ribbon. In the list of side tabs, click Open. On the Open page, on the Recent Projects tab , click Open another project at the top of the page.
- On the Open Project dialog box, under Portal , click ArcGIS Online .
- At the top of the dialog box, in the Search box, type Share a web map and press the Enter key.
- In the list of search results, click Share a web map to select the project package.
If there is more than one project package with this name, select the package with the Authoritative badge . In the Owner column, the owner name is ArcGISProTutorials. If you don't get any results, see No search results are returned.
- Click OK.
The project opens with a map zoomed in on the North Island of New Zealand.
- On the ribbon, click the View tab. In the Windows group, click Reset Panes and click Reset Panes for Mapping (Default).
This ensures that the Contents and Catalog panes are open and that other panes are closed.
- On the ribbon, click the Map tab. In the Navigate group, click Bookmarks . Go to each of the three bookmarks to see different views of the mangroves.
- When you're finished, go to the Okura Scenic Reserve bookmark.
This will be the default view for your web map.
- On the Quick Access Toolbar, click Save to save the project.
Prepare the map for sharing
When you share a web map, several items are created in your portal: a web map, a web layer, and a service definition file. Typically, the web layer is a single item that includes all the layers from your ArcGIS Pro map (excluding basemap and reference layers, which are web services already). If your map contains both feature and raster layers, two web layers are created: a web feature layer from the feature layers and a web tile layer from the raster layers.
To share a single layer from your map as a web layer, right-click the layer in the Contents pane and click Sharing > Share As Web Layer .
- On the ribbon, click the Share tab. In the Share As group, click Web Map .
The Share As Web Map pane appears. At the top of the pane, the Map tab is selected.
- In the Name box, replace the default name with New_Zealand_Mangrove followed by an underscore and your name or initials.
When you share a web map, a web layer is created with the same name as the map. Web layers in your ArcGIS organization must have unique names; therefore, giving your map a unique name prevents potential layer name conflicts. (Web maps don't need unique names unless they are stored in the same folder.)
- In the Summary box, type Mangrove accessibility from walking trails.
- In the Tags box, type the following keywords: trails, mangrove, New Zealand. Make sure the keywords are separated by commas. Press the Enter key.
- Under Select a Configuration, click the drop-down arrow, if necessary, and click Copy all data: Exploratory.
If your active portal is ArcGIS Online, this is the default configuration. If your active portal is ArcGIS Enterprise, you must select this configuration. To learn more about configuration options, see Share a web map.
The Use symbol types compatible with all clients check box is checked by default. This converts ArcGIS Pro symbols to web symbols that can be rendered by any application that opens the map.
- Under Location, accept the default blank setting.
When no folder is specified, the map will be shared to the root level of your portal content.
- Under Share with, check the box next to the name of your organization.
When the map is shared, everyone in your organization will be able to open it in Map Viewer Classic, ArcGIS Pro, and other ArcGIS apps.
If spell-checking is enabled, unrecognized words—such as the name of your map—are marked with wavy underlines. See Set proofing options for more information.
- At the top of the Share As Web Map pane, click the Configuration tab. Under it, click the Input Layers tab if necessary.
You see the items that will be shared to your portal: a web map and a single web feature layer . The web feature layer has three sublayers corresponding to the feature layers in the map.
Click the web feature layer or its sublayers to configure the web map layers. For example, you can change the layer name or split the sublayers into separate layers.
- At the bottom of the Share As Web Map pane, under Finish Sharing, click Analyze.
Analyzer errors and warnings, if any, appear on the Messages tab. Errors prevent sharing and must be fixed. Warnings may affect web map performance or display but don't prevent sharing. In this case, no errors or warnings are found.
You can right-click a warning or error to take corrective action or to open a relevant help topic.
Share the map
You are ready to share the map to the web.
Sharing the map to your portal does not use service credits. After the map is shared, minimal service credits are used to maintain it in storage.
- In the Share As Web Map pane, under Finish Sharing, click Share.
Progress is displayed at the bottom of the Share As Web Map pane. The process may take some time depending on network traffic, connection stability, and other factors. Occasionally, a job may fail and need to be shared again.
When the map is shared, a success message appears at the bottom of the pane.
To monitor the sharing process more closely, click Jobs under Finish Sharing to open the Job Status pane.
- On the success message, click Manage the web map to open a web browser window or tab. Sign in to your ArcGIS organization if prompted.
The map's item page appears with the Overview tab selected at the top of the page.
Before opening the web map, you'll add some metadata.
- To the right of Description, click Edit.
- In the Edit Description text box, type or copy and paste the following: Map of mangroves and walking trails on the North Island of New Zealand. Trail segments within 150 meters of mangrove are indicated.
- Under the text box, click Save.
- Under the text box, click Save.
Explore and modify the web map
You'll open, explore, and modify the web map in Map Viewer Classic. You'll also look at the items created in your portal content.
ArcGIS Online offers two map viewers: the new Map Viewer (formerly known as Map Viewer Beta) and Map Viewer Classic (formerly known as Map Viewer). Either one may be your primary map viewer, depending on settings made by your organization administrator or your own user settings.
- At the top of the item page, click Open in Map Viewer Classic. If necessary, click the map viewer drop-down arrow to choose this option.
- If you are prompted to open a newer Map Viewer version, click Not Right Now.
The steps in this tutorial reflect the Map Viewer Classic version. Come back later to explore the new version.
- At the top of the Contents pane, click Legend to see the map legend.
Widen the Contents pane if you don't see the text labels for the buttons at the top of the pane.
The layers have the same names and symbols as your ArcGIS Pro map.
- Pan and zoom to explore the map.
- In the row of tools above the web map, click Bookmarks . Click each bookmark to zoom to it.
You'll add one more bookmark to the map.
- In the search box above the map, type Thames, Waikato, NZL, and press the Enter key.
The map zooms to the old goldmining town of Thames on the east side of the Firth of Thames.
- Close the search result pop-up on the map. Pan to the west and zoom out to show the mangroves and trails on the southern shore of the Firth of Thames.
- Click Bookmarks and click Add Bookmark at the bottom of the drop-down list. In the text box, type Firth of Thames and press the Enter key.
- Close the list of bookmarked places.
- Zoom out so that all of the North Island of New Zealand is visible.
- Click Save and click Save on the drop-down list.
As the web map owner, changes you make to the map or to layer properties are saved with the map. Other users in your organization can also open the map and make changes, but their changes must be saved to a new map. On the web map's item page, on the Settings tab, you can choose whether to allow others to save a copy of the map. The default setting allows it.
- At the top of the page, click the Home drop-down arrow and click Content.
On the Content page, on the My Content tab, you see the new items: the web map, the web layer, and a service definition file.
- Click the New_Zealand_Mangrove_yourname_WFL1 feature layer to open its item page.
On the Overview tab, on the right side of the page, are options for working with the web feature layer. Under the Layers heading are options for working with its sublayers. See Manage hosted feature layers in the ArcGIS Online help for more information about working with feature layers in your portal.
- Close the browser tab or window that is open to the item page.
Open the web map in ArcGIS Pro
Web maps and web layers can be added from your portal to ArcGIS Pro. You'll add the web map to your project and zoom to the bookmark you created in Map Viewer Classic.
- In your open ArcGIS Pro project, in the Catalog pane, click the Portal tab. Under Portal, make sure the My Content tab is selected.
Your web map and web feature layer appear at the top of the content list. If you don't see them, click the Menu button and click Refresh . (If your content includes folders, the folders appear first.)
By default, items are sorted by their last modified date. Click the Sort button to change the sort method.
- In the Catalog pane, right-click the New_Zealand_Mangrove_yourname web map and click Add And Open .
The web map is added to the project. Notice that it opens to the extent that you saved in Map Viewer Classic. You're finished with the original map, so you'll close it.
- Click the view tab of the map view named Map to make it active. Click Close .
New_Zealand_Mangrove_yourname is now the only open map. You'll confirm that the map and its layers are hosted online.
- In the Catalog pane, click the Project tab. Expand Maps .
Your project contains two maps. The link icon indicates a web map.
- In the Contents pane, click List by Data Source .
The data sources of the map layers are online services and the web feature layer in your portal.
- In the Contents pane, click List by Drawing Order .
You'll go to the bookmark you added in Map Viewer Classic.
- On the ribbon, click the Map tab. In the Navigate group, click Bookmarks.
- In the list of bookmarks, under New_Zealand_Mangrove_yourname Bookmarks, click Firth of Thames.
The map zooms to the bookmarked location.
- On the Quick Access Toolbar, click Save .
Modify the web map in ArcGIS Pro
Anyone in your organization can add the web map to ArcGIS Pro. As the map owner, you can change the web map in ArcGIS Pro and save your changes to the web. When you do so, other users of the web map receive a notification that a newer version of the map is available. They can choose whether to update the version they are currently using.
If you open a web map owned and shared by someone else, you can make changes to the map and save those changes in your project. If the web map owner subsequently saves changes to the map, any changes you made to the version in your project are overwritten when you accept the update. If you need to preserve those changes, do not accept the update. Alternatively, before accepting the update, make a copy of the web map in your project or save it as a map file.
- In the Contents pane, right-click the symbol for the Trails layer. On the color palette, click a different color, such as a light red.
The Trails symbol is updated on the map.
- On the ribbon, click the Share tab. In the Manage group, click Save Web Map .
The Save Web Map window appears. A message alerts you that the web map was updated in a different application. Any changes that you made in that application (Map Viewer Classic in this case) will be lost if they are not supported by ArcGIS Pro. Since the only change you made was to add a bookmark, nothing will be lost.
- On the Save Web Map window, click Save Web Map.
The Save Web Map pane appears. In the pane, some parameters are disabled, either because they can't be changed or because they aren't used. An archive copy of the web map presently stored in your portal is saved by default.
- At the bottom of the pane, under Share with, confirm that the map is still shared with your organization.
- Under Finish Saving, click Analyze.
There are no errors or warnings.
- Click Save.
- When the map is successfully saved, click Manage the web map at the bottom of the pane.
A browser tab or window opens to the map's item page.
- On the web map's item page, click Open in Map Viewer Classic (or click the map viewer drop-down arrow to choose this option). If you are prompted to open the map in a newer version, click Not Right Now.
The web map reflects the layer symbology and map extent that you saved in ArcGIS Pro.
The Trails layer symbol has changed only in the web map. The New_Zealand_Mangrove_yourname_WFL1 feature layer itself is not changed. If you or a colleague adds the web layer to a new map, either in Map Viewer Classic or in ArcGIS Pro, it will have the same light green symbol it had when you shared it. To change the web feature layer, you can overwrite it.
- At the top of the page, click the Home drop-down arrow and click Content.
In the list of content, you see the archived web map in addition to the web map. If you had lost any changes to the web map that were unsupported by ArcGIS Pro, they would still be available in the archived map.
Web maps can be used to share geographic information within an organization, raise awareness of important topics for the general public, or publish map data for use in other projects. To learn how to share a 3D scene to your portal, try Author and share a local scene.