Items
An item, also known as a content item, is a reference to a specific type of content in the ArcGIS portal. An item is created when content is added to the portal. It is used to manage and access the resource. Items can reference many different types of content, such as maps, layers, styles, tools, applications, files, data services, or notebooks. The structure of the content is typically Text/JSON or a reference to a file.
You can use an item to:
- Securely store different types of content in the portal.
- Manage all properties and capabilities of the content.
- Share content with different users and groups.
- Access data and services.
How to work with items
To create and access items, you can use interactive tools, client APIs, or the REST API.
The typical workflow is:
- Create and store an item with tools, such as ArcGIS Online and the developer dashboard.
- Manage your items with tools.
- Access items in the portal service with a client API or the REST API.
Item types
Many different types of items can be stored in the portal, including maps, layers, styles, tools, applications, files, data sources, or notebooks. Each item has a set of properties that describe and reference the content. For items that reference content that can be stored as text, such as a web map, the JSON data is stored in a child data source. For items that reference services, properties such as the URL
are stored, and depending upon the type of service, child data may also be stored with the item such as a renderer or pop-up configuration.
Below is a list of some of the more common item types, the label used in ArcGIS Online, and the data type.
Type | Label (in ArcGIS Online) | Data Type | Description |
---|---|---|---|
Web Map | Web map | Text/JSON | A map with its configuration stored as a JSON structure. |
Web Scene | Web scene | Text/JSON | A scene with its configuration stored as a JSON structure. |
Feature Service | Feature Layer (hosted) | Text/JSON | A hosted layer that references a feature layer in a feature service. |
Vector Tile Service | Tile Layer (hosted) | Text/JSON | A hosted layer that references tile data and styles for a vector tile service. |
Map Service | Tile Layer (hosted) | Text/JSON | A hosted layer that references static tile data in a Map service. |
CSV | CSV | File | A reference to a file that contains comma separated values. |
Shapefile | Shapefile | File | A reference to a zipped file that contains a shapefile. |
Item properties
All items contain a common set of properties such as the owner
, title
, type
, tags
, thumbnail
, and description
. These properties are common to all types of items and are set when the item is created. The properties are also used to search for the item.
When an item is created, it is assigned a unique identifier, also known as an item ID. You can use an item ID to find and directly access an item and its content in the portal.
Items that reference services can be used to manage the properties and capabilities of that service. For example, you can use a hosted feature layer item to store the pop-up and styling information for a hosted feature layer. It can also be used to set the editing capabilities for the feature layer in the feature service.
An item's sharing permissions can also be set with its access
property, so that it can be accessed by only its owner (private
), the members of an organization (org
), or everyone (public
).
These properties are typically set using an item page. See Manage an item for more details.
Manage an item
The easiest way to access and manage an item is to use an item page. An item page is a web page where you can access item properties through tools such as ArcGIS Online and the developer dashboard.
Item pages
Examples:
Example:
- Public/Private: https://developers.arcgis.com/layers/<ITEM_ID>
Access an item
To access and work with items in the portal, you can use client APIs or the REST API.
Get an item
To access an item and its properties, you can access it by item ID
. The response contains the item properties.
The public example shows how to access a public web map item by its ID. The private example shows how to access any private item that you own by ID.
APIs
REST API
Get item data
Items can contain child data. The data is typically stored as text (JSON) or as a reference to services, files, or other resources.
The public example gets the child data for a public web map item. The private example gets the child data for an item that you own. The data returned is the JSON. To create your own private item, see Create a web map.
APIs
REST API
Search for an item
Use a query to search for items in the portal. If many results are returned, use paging.
The public example searches for all items that contain the string, type, and owner. The private example searches for your private items that are web maps.
APIs
REST API
Create an item
You can create and store new items in the portal by specifying the item type and other required parameters. This request requires an access token.
This example creates a web map item.
NOTE: Child data should also be provided to define the JSON for the web map itself. See Create a web map to learn how to create a web map and get the JSON.
APIs
REST API
Share an item
To share an item with different users, set the access
property. The scope can be public (everyone), organization (your organization members only), group (private or public group), or private (only you).
You must be the item's owner or an administrator for the organization to change this property.
APIs
REST API
Tutorials
Use tools to create different types of content and build content-driven applications.
Web maps

Create a web map
Use Map Viewer to create a web map for your application.

Style layers in a web map
Use Map Viewer to style layers in a web map.

Display a web map
Create and display a map from a web map.
Web scenes

Create a web scene
Use Scene Viewer to create a web scene for your application.

Style layers in a web scene
Use Scene Viewer to style layers in a web scene.

Display a web scene
Create and display a scene from a web scene.
Feature layers

Import data as a feature layer
Use data management tools to import and create hosted feature layers.

Manage a feature layer
Set the properties and capabilities of a hosted feature layer.

Add a feature layer
Access and display point, line, and polygon features from a feature service
Vector tile layers

Publish a vector tile layer
Use ArcGIS Online to publish a vector tile layer.

Add a vector tile layer
Access and display a vector tile layer in a map.
Basemap layers

Create a custom basemap style
Use the Vector tile style editor to style a vector tile basemap layer.

Display a custom basemap style
Add and display a styled vector tile basemap layer.
Services
Portal service
Store, manage, and access private and public content.
API support
- 1. Limited operations, use HTTP requests.
- 2. Access via ArcGIS REST JS.
Tools
Use tools to access the portal and create and manage content for applications.
Developer dashboard
Manage API keys, service usage, and data with the ArcGIS Developers website.
ArcGIS Online
Create, manage, and share content and data with cloud-based GIS tools.
Map Viewer
Create, explore, and share web maps for 2D applications.
Scene Viewer
Create, explore, and share web scenes for 3D applications.
Vector tile style editor
Style vector tile basemap layers for applications.
ArcGIS Pro
Explore, visualize, and analyze both 2D and 3D data with desktop GIS tools.