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?
Solved
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=jsonYou 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
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.


