About to duplicate a webmap with python

221
0
08-04-2020 11:34 AM
jorgeinfante1
New Contributor

Hi.

I'm using this code:

item=gis.content.search("title:'mymap'", item_type='Web Map')

print(item)

webmap=arcgis.mapping.WebMap(item[0])

print(webmap)

the output:

[<Item title:"mymap" type:Web Map owner:admin>]

{}

Why the content of webmap is empty?

Can any help me?

0 Kudos
0 Replies