Skip to main content
Open

Add a ‘Generate Token’ Request/Action to the ArcGISOnlineConnector

Related products:Transformers
  • June 3, 2021
  • 1 reply
  • 22 views

andrewshakes
Contributor
Forum|alt.badge.img+1

This would simplify workspaces that make REST api calls and utilize the enhanced security of the ArcGIS Online web connection. Current methods to generate a token include:

1.      Use a HTTPCaller with a username and password in the upload body:

f=json&username<username>&password<password>&expiration=180&referer=https://<yourorganisation>.maps.arcgis.com

2.      Use a custom transformer that uses a PythonCaller: https://hub.safe.com/publishers/rbraggaar/transformers/arcgisonlinetokengetter

1 reply

  • December 9, 2021

I believe GenerateToken would make a good 'action' in this ArcGISonlineconnector package. There is a 3rd method of obtaining an arcgis online token - FME hub ArcGISOnlineTokenGetter'>