Move items

Portal in ArcGIS provides tools to move items between different locations in your organization. You can move items between folders, groups, and even between different portal accounts. This allows you to organize your content and share it with the appropriate users or groups.

Why move items?

Moving items enables users to better organize, share, and manage their content.

You can move items in portal to:

  • Organize content into folders to help users keep related items together making them easier to find and manage.
  • Change ownership of an item by moving an item to a different folder.
  • Transfer an item to another account or share it with different groups.
  • Consolidate items for specific projects or workflows.
  • Migrate content between different organizations or between ArcGIS Online and ArcGIS Enterprise.

How to move items

The general steps of moving items:

1. Access your content

Content page

Content page displaying items in a portal.

Sign in to your portal and ensure that you have administrative privileges to manage content within your organization.

Go to the Content tab, where you can view all the content available within your organization.

2. Select items

Content page

Content page displaying selected items in a portal.

To find and select an item, you can follow one of these methods:

  • Use the search bar at the top of the page to enter keywords related to the item you are looking for.
  • Browse through your content by clicking on the Content tab on the top navigation bar.
  • Filter your content by type, owner, or other criteria to locate the specific item more efficiently.

Once you find the item, click on it to open its details page, where you can view its properties and perform various actions.

3. Move items

Move dialog displaying folders items can be moved to.

Follow these steps to move items in your organization:

  1. Click Move. Depending on the permissions you have, you may need to share the item with the desired group or organization.
  2. Select the destination folder. You may need appropriate permissions to move items to certain groups or organizations.

Code examples

Move an item to designated folder

Below is an example script that demonstrates how to move items to a designated folder in portal:

Expand
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
item_id = "item_id_here"
source_folder = "source_folder_name_here"
destination_folder = "destination_folder_name_here"

try:
    # Get the item
    item = gis.content.get(item_id)

    # Move the item to the destination folder
    item.move(destination_folder)
Expand

Move an item from one group to another

Below is an example script that demonstrates how to move an item from one group to another in portal:

Expand
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
item_id = "itemid_to_move"
source_group_id = "source_group_id"
destination_group_id = "destination_group_id"

# Get the item
item = gis.content.get(item_id)

# Get source and destination groups
source_group = gis.groups.get(source_group_id)
destination_group = gis.groups.get(destination_group_id)

# Reassign the item to the destination group
item.reassign_to(destination_group)
Expand

Move an item from one organization to another

Below is an example script that demonstrates how to move an item from one organization to another in portal:

Expand
Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
item_id_to_move = "item_id"

# Destination folder (optional)
destination_folder = "Destination Folder"

# Authenticate to both source and target GIS
source_gis = GIS(source_url, source_username, source_password)
target_gis = GIS(target_url, target_username, target_password)

# Move the item
try:
    # Get the item from the source GIS
    item = source_gis.content.get(item_id)

    # Create a copy of the item in the target GIS
    copied_item = item.copy(target_gis)

    # Move the copied item to the specified folder in the target GIS
    if destination_folder:
        copied_item.move(destination_folder)
Expand

Tutorials

Import data to create a feature layer

Use data management tools to import files and create a feature layer in a feature service.


Define a new feature layer

Use data management tools to define and create a new empty feature layer in a feature service.


Manage a feature layer

Use a hosted feature layer item to set the properties and settings of a feature layer in a feature service.


Create a vector tile service

Use data management tools to create a new vector tile service from a feature service.


Create a map tile service

Use ArcGIS Online or scripting APIs to publish a map tile service.


Services

API support

Use data management tools or Client APIs to create, manage, and access data services. The table below outlines the level of support for each API.

CreateManageAccess
ArcGIS Maps SDK for JavaScript1
ArcGIS Maps SDK for Kotlin1
ArcGIS Maps SDK for Swift1
ArcGIS Maps SDK for Flutter1
ArcGIS Maps SDK for Java1
ArcGIS Maps SDK for .NET1
ArcGIS Maps SDK for Qt1
ArcGIS API for Python
ArcGIS REST JS
Esri Leaflet2
MapLibre GL JS23
OpenLayers23
Full supportPartial supportNo support
  • 1. Use portal class and direct REST API requests
  • 2. Access via ArcGIS REST JS
  • 3. Requires manually setting styles for renderers

Tools

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.