-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug
I'm trying to use OfflineContentManager to export a simple Web Experience and its dependencies from Portal A to a package, then import the package to Portal B.
The Web Experience contains a simple Web Map with a simple Hosted Feature Service.
I've used the process as described here: https://developers.arcgis.com/python/latest/guide/offline-cloning-backups/, as well as the API documentation: https://developers.arcgis.com/python/latest/api-reference/arcgis.gis.toc.html#offlinecontentmanager
The Feature Services imports correctly
The Web Map imports correctly, and swizzles the layer URLs to Portal B
The Web Experience imports, but still references Portal A
Question: Is this expected behaviour? Nothing in the documentation I can see explicitly states that URLs will be swizzled. Perhaps I've made an assumption?
To Reproduce
As per documentation:
- Use OfflineContentManager.export_items() to create a contentexport package from a Web Experience from Portal A.
- Use OfflineContentManager.import_content() to import the contentexport package to Portal B.
- Open the newly imported Web Experience in Portal B
- Test to see if Portal A is referred to.
error:
N/A
Screenshots
N/A
Expected behavior
I assumed that the Web Experience's URLs would be swizzled, just as the Web Map's URLs are.
Platform (please complete the following information):
- OS: Windows
- Browser: Edge
- Python API Version: 2.4.1.1
- Source Portal: 11.5
- Target Portal: 11.5
Additional context
N/A