Skip to main content

I am trying to connect to a map service hosted on another organization's ArcGIS Server. I have the credential for the service and able to connect through the REST endpoint on a browser. When I try to connect using the ArcGIS Server Feature reader, I get the error that a token is required. I read on community blog that some people had to set up a web connection using a Portal template .It looks like this requires and AppID from the Portal, which I can't obtain since I am no admin and it is from a different organization. What are my options then?

 

Any input is appreciated! Thank you!

You can use this transformer - https://hub.safe.com/publishers/abley-limited/transformers/arcgis_s_token

To get a token, then pass it through to the feature reader and set the authentication type to token

image


Thank you so much for the answer. I download the transformer and was able to add the parameters, but I still can't add the feature service reader because I don't know what to type in Token box. Also, what would be the input for ArcGIS_S_Token transformer? Sorry for all my questions, I am fairly new to FME and trying to navigate my way! Thank you!

image.pngimage


Thank you so much for the answer. I download the transformer and was able to add the parameters, but I still can't add the feature service reader because I don't know what to type in Token box. Also, what would be the input for ArcGIS_S_Token transformer? Sorry for all my questions, I am fairly new to FME and trying to navigate my way! Thank you!

image.pngimage

Ah, so what you're trying to add there is a Reader. A feature reader (as you mentioned in you original post) is similar, but different. A feature reader is a transformer that performs the read and allows you to pass attributes into it - eg the token

 

To start the process you'd use a creator - this makes a blank/empty feature that can trigger processes

Your workbench would start off like

imageand the token is specified like

image


Oh ok! That makes sense now! I apologize I am new to FME and don't always start building my workbenches appropriately. Thank you so much for your time! I'll try that

 


Reply