Summary
An item’s URL is used to represent web-accessible items, such as map services, stored in ArcGIS Enterprise. For example, a map service can be embedded in ArcGIS Experience Builder using the map service’s URL. In some instances, such as moving services from one machine to another, the item’s URL needs to be updated to reflect the new machine’s hostname.
This article provides two methods used to update the service URLs of portal items in a federated ArcGIS Enterprise deployment.
Procedure
Note:
The following workflows do not apply to hosted feature layers.
Note:
The following workflows require restarting Portal for ArcGIS. Depending on the machine's capability, Portal for ArcGIS may take several minutes to restart. Services associated with Portal for ArcGIS are unavailable during this period.
Update the item's URL in the ArcGIS Portal Directory
- Navigate to the ArcGIS Portal Directory using the following URL and log in as an administrator or the item owner:
https://machine.domain.com/webadaptor/sharing/rest
- Click the administrator username at the top right corner of the ArcGIS Portal Directory page, and click the Org ID hyperlink under User (<username>).
- Scroll to the bottom of the page, and click Servers under Child Resources.
- Copy the new URL under Server URL.
- Click the administrator account name on the top-right of the page.
- At the bottom of the page, under Related Resources, click User Content.
- Under User Content (<username>), click the item to update.
- At the bottom of the page, click Update Item.
- For Url, replace the old URL with the new URL from Step 4.
- Scroll down and click Update Item.
- Right-click the taskbar and click Task Manager.
- In the Services tab, right-click Portal for ArcGIS and click Restart.
Update the item's URL in the item's iteminfo.xml file
- Navigate to the ArcGIS Portal Directory using the following URL and log in as an administrator or the item owner:
https://machine.domain.com/webadaptor/sharing/rest
- Click the administrator username at the top right corner of the ArcGIS Portal Directory page, and click the Org ID hyperlink under User (<username>).
- Scroll to the bottom of the page, and click Servers under Child Resources.
- Copy the new URL under Server URL.
- On the machine, navigate to the following directory:
<Portal Installation Directory>\arcgis\arcgisportal\content\items
- Open the item folder named based on the item's ID.
- Click the esriinfo folder.
- Open the iteminfo.xml file in a text editor, for example Notepad.
- Replace the old URL with the new URL from Step 4.
- Click File > Save to save the edits.
- Right-click the taskbar and click Task Manager.
- In the Services tab, right-click Portal for ArcGIS and click Restart.