Skip to main content
Question

Is there a way to connect to a secured ArcGIS server map services without setting the web connections ArcGIS Portal(template)?


Forum|alt.badge.img

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!

4 replies

hkingsbury
Celebrity
Forum|alt.badge.img+54
  • Celebrity
  • July 10, 2023

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


Forum|alt.badge.img
  • Author
  • July 11, 2023

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


hkingsbury
Celebrity
Forum|alt.badge.img+54
  • Celebrity
  • July 11, 2023
sringuet wrote:

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


Forum|alt.badge.img
  • Author
  • July 11, 2023

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

 


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