laptop and a wrench

漏洞

A feature collection item cannot be added to the ArcGIS Online content page using the ArcGIS API for Python gis.content.add() method.

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

附加信息

The original code used to add the item has the text parameter formatted incorrectly. The correct code to add the item is: item = gis.content.add(item_properties = {"title": "random_test_3", "tags": "test,second_trial,item_from_df_csv_params", "snippet": "random_test_data item created with csv parameters", "description": "random_test_data item from csv with lat_long params", "text": json.dumps({"layers": [dict(fc.layer)], 'showLegend' : True}), "type": "Feature Collection", "typeKeywords": "Data, Feature Collection, Singlelayer"})

重现步骤

漏洞 ID: BUG-000134041

软件:

  • ArcGIS API for Python

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项