I’d like to use FME to query ArcGIS Enterprise map services (content) and, if a new service has been published that day, post a link to the new map service in Slack. Has anyone ever done this?
Use FME to query ArcGIS Enterprise and post to Slack
Best answer by hkingsbury
I haven’t done it, but it should be relatively straight forward
You’ll need to store the already seen services somewhere, this could be a csv, database, json file. Basically somewhere you can check what you’ve already found.
You’ll then query the base endpoint, making sure you’re requesting json
https://sampleserver6.arcgisonline.com/arcgis/rest/services?f=json
You can then break that resulting JSON down and compare it against what you have already.
For any new services that have been published since you last ran it, you will then append those to your list of existing services, then use the SlackConnector to send a message - https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/Transformers/slackconnector.htm
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.