Erro
| Número de ID do Erro | BUG-000122626 |
|---|---|
| Enviado | May 28, 2019 |
| Última Modificação | February 18, 2025 |
| Aplica-se à | ArcGIS Pro |
| Versão encontrada | 2.3.3 |
| Sistema Operacional | N/A |
| Versão do Sistema Operacional | N/A |
| Status | As Designed |
Include the Python API .move() function to the script function to move the published content to an existing folder in Portal for ArcGIS 10.7:
From arcgis.gis import GIS
gis = GIS("https://supt0008374.esri.com/portal", "xxxxxx", "xxxxx")
portal_item = gis.content.search(query ='title:"TomThomson_1"')
print (portal_item)
first_item = portal_item[0]
first_item1 = portal_item[1]
itemlist = [first_item, first_item1]
for item in itemlist:
item_id = item.id;
getitem = gis.content.get(item_id);
getitem.move(folder='Layers_Test')
Refer to this documentation: https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html?highlight=item%20upload#arcgis.gis.Item.move.
ID do Erro: BUG-000122626
Software:
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri