laptop and a wrench

漏洞

The clone_items() function fails and returns the error message, "User does not have permissions to access this service." when attempting to clone a public hosted feature layer view hosted by another organization.

上次发布: April 22, 2021 ArcGIS API for Python
漏洞 ID 编号 BUG-000136846
已提交January 19, 2021
上次修改时间June 5, 2024
适用范围ArcGIS API for Python
找到的版本1.8.3
操作系统Windows OS
操作系统版本10.0
状态Will Not Be Addressed

附加信息

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.

解决办法

If the underlying hosted feature service is public and the purpose of the view is setting styles or filters:

  1. In the target organization, on the Content tab, click Add Item > From a URL.
  2. Use REST URL of the underlying hosted feature service.
  3. Navigate to the item details page for the item, and click the Visualization tab.
  4. Apply the desired styles or filters.
  5. Click Save As New Layer.
  6. Replace the views of the items to be cloned with the new reference layer.

 

重现步骤

漏洞 ID: BUG-000136846

软件:

  • ArcGIS API for Python

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项