Hello friends:
My question is: In the Python API, how do I get a collection of Operational Layers given a QuickCapture Project obtained in a query.
The objective is to do something with each operational layer in a QuickCapture Project Here is some code:
myQCs = gis.content.search(query="type: 'QuickCapture Project'", max_items=1000) # "QuickCapture Project" guarantees a QC Project
for aQC in myQCs:
qcProjectItem = gis.content.get(aQC.id)
As you can see, I can get the QuickCapture Project as a Python object. I am hoping I can use this object to obtain the operational layers. Unfortunately this is as far as the breadcrumbs lead.
Notably: '
qcProjectItem.get_data()
returns an empty object {}.
Here's hoping you can help.