Having an array of Portal Items like
p_items = ['9912a5ec3325460ab88010cfefddwr21',
'9251s4de1s1460ab88010cfe64seyus',
'ssdf2a5ec3325541dgs10cfefd21syx'
]
I need to retrieve two properties of Type of Items weather is (Feature Layer (hosted, view) ,or Feature Layer (hosted), or Map Image Layer )
and also, the URL referring into the source (ArcGIS Server Feature Service)
I already tried this
p_items = ['9912a5ec3325460ab88010cfefddwr21',
'9251s4de1s1460ab88010cfe64seyus',
'ssdf2a5ec3325541dgs10cfefd21syx'
]
for item in p_items:
item_id = item
p_item = gis.content.get(item_id)
item_resource = p_item.resources.list()
but the `item_resource` is always empty! Can you please let me know what I am missing here and how I can achieve this?