Bug ID Number |
BUG-000136846 |
Submitted | January 19, 2021 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS API for Python |
Version found | 1.8.3 |
Operating System | Windows OS |
Operating System Version | 10.0 |
Status | Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
|
Additional Information
This is expected behavior. The clone_items() method requires a feature service definition. In this scenario, the JSON of the feature service cannot be obtained because the admin endpoint cannot be accessed.
Workaround
If the underlying hosted feature service is public and the purpose of the view is setting styles or filters:
- In the target organization, on the Content tab, click Add Item > From a URL.
- Use REST URL of the underlying hosted feature service.
- Navigate to the item details page for the item, and click the Visualization tab.
- Apply the desired styles or filters.
- Click Save As New Layer.
- Replace the views of the items to be cloned with the new reference layer.
Steps to Reproduce