Hi,
I develop a python script to manage my Web Map Applications and it's hard for me to tell them apart
I want to get all Application on my Portal server.
I call it with :
apps = gis.content.search(query='owner:me',item_type='Web Mapping Application', max_items=5000)
# -- Parcours de la liste des résultats et des items
for item in apps:
if item is not None :
...
Solved! Go to Solution.
You can get more information on the item type with the following.
for item in apps:
if item is not None:
print(item.title)
print(item.type)
print(item.typeKeywords)
You can get more information on the item type with the following.
for item in apps:
if item is not None:
print(item.title)
print(item.type)
print(item.typeKeywords)
I had identified these variables correctly but I was hoping for a simpler method. 😅
I will have to make conditions IF to extract the values that interest me in the typeKeywords.
Thank you for your answer.