Skip to main content
Solved

How read metadata of all items from ArcGIS Online?


joy
Enthusiast
Forum|alt.badge.img+15
  • Enthusiast

With the help of the following request url in the Httpcaller, it was possible to get a returned xml output with information about one feature. However instead of retrieving information about one feature, ideally I would like to retrieve metadata of all the items from ArcGIS Online. Does anyone might have an idea how that can be achieved?

 

This url gets me metadata of one feature.

https://<companyname>.maps.arcgis.com/sharing/rest/content/items/<Item Id>/info/iteminfo.xml

 

Best answer by nielsgerrits

You can use the ArcGISOnlineConnector to list all items.

View original
Did this help you find an answer to your question?

8 replies

nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • June 28, 2022

You can use the ArcGISOnlineConnector to list all items.


joy
Enthusiast
Forum|alt.badge.img+15
  • Author
  • Enthusiast
  • June 28, 2022
nielsgerrits wrote:

You can use the ArcGISOnlineConnector to list all items.

@nielsgerrits​ I get the the following error when I try to browse the user content folder in the ArcGISOnlineConnector: 

Python Exception <ModuleNotFoundError>: No module named 'fmepy_esri_agol'

 

I have ArcGIS pro and I am using the Python that is delivered with ArcGIS Pro. So I think I should be able to use this module. Do you might have an idea what might be the cause of that?


nielsgerrits
VIP
Forum|alt.badge.img+54
joy wrote:

@nielsgerrits​ I get the the following error when I try to browse the user content folder in the ArcGISOnlineConnector: 

Python Exception <ModuleNotFoundError>: No module named 'fmepy_esri_agol'

 

I have ArcGIS pro and I am using the Python that is delivered with ArcGIS Pro. So I think I should be able to use this module. Do you might have an idea what might be the cause of that?

What version FME do you use? (See Help, About FME Workbench)

What is you current Python Compatibility? (See Navigator, Workspace Parameters, Scripting)


joy
Enthusiast
Forum|alt.badge.img+15
  • Author
  • Enthusiast
  • June 28, 2022
joy wrote:

@nielsgerrits​ I get the the following error when I try to browse the user content folder in the ArcGISOnlineConnector: 

Python Exception <ModuleNotFoundError>: No module named 'fmepy_esri_agol'

 

I have ArcGIS pro and I am using the Python that is delivered with ArcGIS Pro. So I think I should be able to use this module. Do you might have an idea what might be the cause of that?

My FME workbench isthe following version: FME(R) 2021.2.3.0 (20220131 - Build 21812 - WIN64) .

Python is 3.8

image 


nielsgerrits
VIP
Forum|alt.badge.img+54
joy wrote:

@nielsgerrits​ I get the the following error when I try to browse the user content folder in the ArcGISOnlineConnector: 

Python Exception <ModuleNotFoundError>: No module named 'fmepy_esri_agol'

 

I have ArcGIS pro and I am using the Python that is delivered with ArcGIS Pro. So I think I should be able to use this module. Do you might have an idea what might be the cause of that?

I'm not sure. It feels like the package is not installed correctly. You can try yo remove the package via the tab FME Packages under tools and reinstall it.


joy
Enthusiast
Forum|alt.badge.img+15
  • Author
  • Enthusiast
  • June 28, 2022
joy wrote:

@nielsgerrits​ I get the the following error when I try to browse the user content folder in the ArcGISOnlineConnector: 

Python Exception <ModuleNotFoundError>: No module named 'fmepy_esri_agol'

 

I have ArcGIS pro and I am using the Python that is delivered with ArcGIS Pro. So I think I should be able to use this module. Do you might have an idea what might be the cause of that?

You are right. Apparently I don't have enough rights to install this package. So first I have to sent a call to IT to receive the rights to install this package.

I will come back later on it when I receive the respective rights to make use of the package.


joy
Enthusiast
Forum|alt.badge.img+15
  • Author
  • Enthusiast
  • June 30, 2022

@nielsgerrits​ I got the rights to Python and now ArcGISOnlineConnector works. I do get the necessary metadata out of the ArcGISOnlineConnector. Thank you for recommending the ArcGISOnlineConnector.


nielsgerrits
VIP
Forum|alt.badge.img+54
joy wrote:

@nielsgerrits​ I got the rights to Python and now ArcGISOnlineConnector works. I do get the necessary metadata out of the ArcGISOnlineConnector. Thank you for recommending the ArcGISOnlineConnector.

Nice. Thanks for the feedback :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings