Skip to main content

ArcGIS Connector

ArcGIS Use the Esri ArcGIS component to manage map layers, and update locations.

Connections

OAuth 2.0

OAuth 2.0 connection for ArcGIS

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
Authorize URLIf you want to use ArcGIS Enterprise, you can change this to http://:/arcgis/sharing/rest/oauth2/authorizehttps://www.arcgis.com/sharing/rest/oauth2/authorize
Token URLIf you want to use ArcGIS Enterprise, you can change this to http://:/arcgis/sharing/rest/oauth2/token/https://www.arcgis.com/sharing/rest/oauth2/token/
Client IDClient Identifier of your app for the API
Client SecretClient Secret of your app for the API

Actions

Add Features (Geometry objects or Feature Attributes)

Add features to a hosted feature layer.

InputCommentsDefault
Connection
Debug PayloadIf true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes.false
Feature Service Layer IDThis is the ID of the layer in the hosted feature service. You can find this ID using the 'Get Layer ID' action.
Features to AddAdd Attributes and Geometry Points, Multipoints, Polylines, Polygons and Envelopes. You can check more information about the feature JSON object here: https://developers.arcgis.com/rest/services-reference/enterprise/feature-object.htm https://developers.arcgis.com/rest/services-reference/enterprise/add-features.htm
[
{
"geometry": {
"x": -118.15,
"y": 33.8
},
"attributes": {
"OWNER": "Joe Smith",
"VALUE": 94820.37,
"APPROVED": true,
"LASTUPDATE": 1227663551096
}
},
{
"geometry": {
"x": -118.37,
"y": 34.086
},
"attributes": {
"OWNER": "John Doe",
"VALUE": 17325.9,
"APPROVED": false,
"LASTUPDATE": 1227628579430
}
}
]
Feature Service URLThis is the URL of the hosted feature service, not a specific layer. You can find this URL using the 'Get Feature Service URL' action.

Add Hosted Layer to Feature Service

Add a hosted layer to a hosted feature service.

InputCommentsDefault
Connection
Debug PayloadIf true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes.false
NameThe name of the layer.
Feature Service URLThis is the URL of the hosted feature service, not a specific layer. You can find this URL using the 'Get Feature Service URL' action.
Geometry TypeThe geometry type of the layer.esriGeometryPoint
Allow Geometry UpdatesAllow geometry updates allows editors to edit the geometry of a feature in the feature service. This is enabled by default. If you disable this option, editors can update only the nonspatial attributes of features in the feature service.true
CapabilitiesA comma-separated list of supported operations. The default is 'Query,Extract'.Query,Extract
Default VisibilityThe default visibility of the layer.true
Drawing InfoThe drawing information for the layer. This includes the renderer, labeling info, transparency, scale symbols, etc.
{
"transparency": 0,
"labelingInfo": null,
"renderer": {
"type": "simple",
"symbol": {
"color": [
20,
158,
206,
130
],
"size": 18,
"angle": 0,
"xoffset": 0,
"yoffset": 0,
"type": "esriSMS",
"style": "esriSMSCircle",
"outline": {
"color": [
255,
255,
255,
220
],
"width": 2.25,
"type": "esriSLS",
"style": "esriSLSSolid"
}
}
}
}
ExtentThe extent of the layer. If provided, the layer will only be visible within the extent.
{
"xmin": -134.74729261792592,
"ymin": 23.56096242376989,
"xmax": -55.695547615409396,
"ymax": 50.309217030288835,
"spatialReference": {
"wkid": 4326
}
}
FieldsThe fields of the layer.
[
{
"name": "OBJECTID",
"type": "esriFieldTypeOID",
"alias": "OBJECTID",
"sqlType": "sqlTypeOther",
"nullable": false,
"editable": false,
"domain": null,
"defaultValue": null
},
{
"name": "id",
"type": "esriFieldTypeInteger",
"alias": "id",
"sqlType": "sqlTypeInteger",
"nullable": true,
"editable": true,
"domain": null,
"defaultValue": null
},
{
"name": "name",
"type": "esriFieldTypeString",
"alias": "name",
"sqlType": "sqlTypeNVarchar",
"nullable": true,
"editable": true,
"domain": null,
"defaultValue": null,
"length": 256
},
{
"name": "rating",
"type": "esriFieldTypeString",
"alias": "rating",
"sqlType": "sqlTypeNVarchar",
"nullable": true,
"editable": true,
"domain": null,
"defaultValue": null,
"length": 256
}
]
Has AttachmentsIndicates whether the layer has attachments. If true, the layer supports attachments.true
Has MIndicates whether the client-side features in the layer have M (measurement) values.false
Has Static DataIndicates whether the layer has static data.true
Has ZIndicates whether the client-side features in the layer have Z (elevation) values.false
HTML Popup TypeThe type of pop-up window that is used for the layer. The default is esriServerHTMLPopupTypeNone.esriServerHTMLPopupTypeNone
Is Data VersionedIndicates whether the data is versioned.false
Max Record CountThe maximum number of records that will be returned for a given query.1000
Max ScaleThe maximum scale (most zoomed in) at which the layer is visible in the view. If the map is zoomed in beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a maximum scale. The maxScale value should always be smaller than the minScale value, and greater than or equal to the service specification.0
Min ScaleThe minimum scale (most zoomed out) at which the layer is visible in the view. If the map is zoomed out beyond this scale, the layer will not be visible. A value of 0 means the layer does not have a minimum scale. The minScale value should always be larger than the maxScale value, and lesser than or equal to the service specification.0
Object ID FieldThe object ID field of the layer.OBJECTID
Supported Query FormatsThe supported query formats for the layer. The default is 'JSON'.JSON
Supports Advanced QueriesIndicates whether the layer supports advanced queries. If true, the layer supports advanced queries.false
Supports Rollback On Failure ParameterIndicates whether the edits should be applied only if all submitted edits succeed. If false, the server will apply the edits that succeed even if some of the submitted edits fail. If true, the server will apply the edits only if all edits succeed.true
TemplatesThe templates of the layer.
[
{
"name": "New Feature",
"description": "",
"drawingTool": "esriFeatureEditToolPoint",
"prototype": {
"attributes": {
"id": null,
"name": null,
"rating": null
}
}
}
]

Create Feature Service

Create a new hosted feature service.

InputCommentsDefault
Connection
Debug PayloadIf true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes.false
Feature Service NameName of the feature service to create.
Feature Service CapabilitiesA comma-separated list of supported operations.Create,Delete,Query,Update,Editing
DescriptionA user-friendly description for the published dataset.
Service DescriptionDescription given to the service.

Create Web Map

Creates a web map.

InputCommentsDefault
Connection
Debug PayloadIf true, the payload sent to the ArcGIS REST API will be console logged. This is useful for debugging purposes.false
Web Map NameA web map name.
Authoring AppString value indicating the application that last authored the webmap.
Authoring App VersionString value indicating the application that last authored the webmap.
Base MapBasemaps give the web map a geographic context. You can check more information about the basemap JSON object here: https://developers.arcgis.com/web-map-specification/objects/baseMap/
{
"baseMapLayers": [
{
"title": "OSM",
"type": "OpenStreetMap",
"layerType": "OpenStreetMap",
"opacity": 1,
"visibility": true,
"id": "OpenStreetMap",
"blendMode": "hue"
}
],
"title": "Imagery with Labels"
}
VersionRoot element in the web map specifying a string value indicating the web map version.
Spatial ReferenceAn object used to specify the spatial reference of the given geometry, leave blank to use default values. You can check more information about the spatial reference JSON object here: https://developers.arcgis.com/web-map-specification/objects/spatialReference/
{
"wkid": 102100,
"latestWkid": 3857
}
BackgroundDefines the appearance for the background of the map, leave blank to use default values. You can check more information about the background JSON object here: https://developers.arcgis.com/web-map-specification/objects/background/{"color":[255,255,255,255]}
BookmarksA bookmark is a saved geographic extent that allows end users to quickly navigate to a particular area of interest, leave blank to use default values. You can check more information about the bookmarks JSON object here: https://developers.arcgis.com/web-map-specification/objects/bookmark/
[
{
"name": "Turning Torso",
"thumbnail": {
"url": "https://live.staticflickr.com/46/162587578_7e5b01da61.jpg"
},
"viewpoint": {
"rotation": 20.10910658523367,
"scale": 144447.638572,
"targetGeometry": {
"spatialReference": {
"latestWkid": 3857,
"wkid": 102100
},
"xmin": 1433565,
"ymin": 7465055,
"xmax": 1465745,
"ymax": 7485349
}
},
"extent": {
"spatialReference": {
"latestWkid": 3857,
"wkid": 102100
},
"xmin": 1433565,
"ymin": 7465055,
"xmax": 1465745,
"ymax": 7485349
},
"timeExtent": [
1125100800,
null
]
}
]
Geotriggers InfoInformation on any Geotrigger conditions defined for this map, leave blank to use default values. You can check more information about the geotriggers info JSON object here: https://developers.arcgis.com/web-map-specification/objects/geotriggersInfo/
{
"geotriggers": [
{
"type": "fence",
"name": "Example Geotrigger - Notify when I am within 50m of my target areas.",
"feed": {
"type": "deviceLocation",
"filterExpression": {
"title": "Location filter",
"expression": "return $locationupdate.horizontalaccuracy <= 20"
}
},
"fenceNotificationRule": "enter",
"feedAccuracyMode": "useGeometryWithAccuracy",
"enterExitRule": "enterIntersectsAndExitDoesNotIntersect",
"fenceParameters": {
"type": "features",
"bufferDistance": 50,
"fenceSource": {
"layerUrl": "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Recreation/MapServer/0",
"type": "featureLayer"
},
"filter": {
"where": "facility = 6",
"geometry": {
"x": 13871520.850500003,
"y": 3910293.086000003,
"spatialReference": {
"wkid": 102100,
"latestWkid": 3857
}
}
}
},
"notificationOptions": {
"expressionInfo": {
"title": "Expression",
"expression": "'You have entered' + $fencefeature.AREA_NAME"
}
}
},
{
"type": "fence",
"name": "Geotrigger 2",
"feed": {
"type": "deviceLocation"
},
"fenceNotificationRule": "exit",
"fenceParameters": {
"type": "features",
"bufferDistance": 1000,
"fenceSource": {
"layerId": "1234",
"type": "featureLayer"
}
}
}
]
}
Initial StateThe initial state at which to open the map, leave blank to use default values. You can check more information about the initial state JSON object here: https://developers.arcgis.com/web-map-specification/objects/initialState/
{
"viewpoint": {
"rotation": 45,
"scale": 36111,
"targetGeometry": {
"spatialReference": {
"latestWkid": 3857,
"wkid": 102100
},
"xmin": -8237304.65218491,
"ymin": 4977090.890664136,
"xmax": -8230616.412209966,
"ymax": 4983588.038068367
}
}
}
Map Floor InfoContains floor-awareness information for the map, leave blank to use default values. You can check more information about the map floor info JSON object here: https://developers.arcgis.com/web-map-specification/objects/mapFloorInfo/
{
"facilityLayer": {
"facilityIdField": "FACILITY_ID",
"layerId": "Facility_2419",
"nameField": "NAME",
"siteIdField": "SITE_ID"
},
"levelLayer": {
"facilityIdField": "FACILITY_ID",
"layerId": "Levels_3860",
"levelIdField": "LEVEL_ID",
"levelNumberField": "LEVEL_NUMBER",
"longNameField": "NAME",
"shortNameField": "NAME_SHORT",
"verticalOrderField": "VERTICAL_ORDER"
}
}
Map Range InfoMap range information, leave blank to use default values. You can check more information about the map range info JSON object here: https://developers.arcgis.com/web-map-specification/objects/mapRangeInfo/
{
"activeRangeName": "floors",
"currentRangeExtent": [
-2,
10
],
"fullRangeExtent": [
-2,
100
]
}
Operational LayersOperational layers contain business data which are used to make thematic maps, leave blank to use default values. You can check more information about the operational layers JSON object here: https://developers.arcgis.com/web-map-specification/objects/operationalLayers/
[
{
"id": "Recreation_4720",
"layerType": "ArcGISFeatureLayer",
"url": "http://sampleserver6.arcgisonline.com/arcgis/rest/services/Recreation/MapServer/0",
"visibility": true,
"opacity": 1,
"mode": 1,
"title": "Map Service Layer",
"blendMode": "color-burn",
"popupInfo": {
"title": "Facilities: {description}",
"fieldInfos": [],
"description": null,
"showAttachments": true,
"mediaInfos": []
}
}
]
Parcel FabricA Parcel Fabric object that the map can use to access Parcel Fabric related functionality, such as managing parcel records, leave blank to use default values. You can check more information about the parcel fabric JSON object here: https://developers.arcgis.com/web-map-specification/objects/parcelFabric/
{
"id": "123",
"title": "L0Ren6kV5",
"url": "https://sampleserver.esri.com/server/rest/services/RentonV56K/FeatureServer/0"
}
PresentationA presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers, etc., leave blank to use default values. You can check more information about the presentation JSON object here: https://developers.arcgis.com/web-map-specification/objects/presentation/
{
"displayTimeSlider": false,
"showLegend": true,
"slideAdvancementInterval": 0,
"slides": [
{
"baseMap": {
"baseMapLayers": [
{
"id": "Census_6367",
"layerType": "ArcGISMapServiceLayer",
"url": "https://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer",
"visibility": true,
"opacity": 1,
"title": "Census",
"showLegend": true
}
],
"title": "Topographic"
},
"mapLocation": {
"centerPoint": {
"spatialReference": {
"wkid": 102100
},
"x": -13039519.5049599,
"y": 4038507.24398202
}
},
"title": {
"backgroundColor": [
0,
0,
0,
255
],
"borderColor": [
0,
0,
0,
255
],
"borderSize": 0,
"font": "Tahoma",
"fontSize": 32,
"foregroundColor": [
255,
255,
255,
255
],
"horizontalAlignment": 1,
"opacity": 0.63,
"text": "Meet in Redlands at 7:30 at Uncle Howies",
"titleFontStyle": 1
},
"visibleLayers": [
{
"featureVisibility": [
[
1
],
[],
[],
[
0
]
],
"id": "73128eb3-05ee-46a7-8c22-0c385a0b1827"
}
]
}
]
}
Reference ScaleA floating-point number representing the reference scale which map symbols are drawn relative to. The number is the scale's denominator. When the reference scale is 0, symbols are always drawn at the same size regardless of the map scale. The referenceScale is only used for Feature Layers that have scaleSymbols:true. Not all applications or layer types support referenceScale yet. In particular, ArcGISOnline will not use the referenceScale when drawing symbols in the browser.
TablesAn array of objects representing non-spatial datasets used in the web map, leave blank to use default values. You can check more information about the tables JSON object here: https://developers.arcgis.com/web-map-specification/objects/table/
[
{
"url": "http://sampleserver6.arcgisonline.com/arcgis/rest/services/SF311/FeatureServer/1",
"id": "SF311_1421",
"title": "SF311 - SF_Crime_Incidents",
"itemId": "0217f8067457410a998fc9293563ba94",
"capabilities": "Query"
}
]
Time ZoneTime zone of the webmap. When applicable, dates and times will be displayed using this time zone. The time zone can be system, unknown or any named IANA time zone.
Utility NetworksAn array of utility network objects the map can use to access utility-related functionality, such as tracing and querying associations, leave blank to use default values. You can check more information about the utility networks JSON object here: https://developers.arcgis.com/web-map-specification/objects/utilityNetwork/
[
{
"id": "1",
"title": "Electric Utility Network",
"url": "https://sampleserver7.arcgisonline.com/arcgis/rest/services/UtilityNetwork/NapervilleElectric/FeatureServer/921",
"traceConfigurations": [
{
"title": "Circuit Trace",
"id": "111ce238-a186-42f1-bcbd-05a1180ff484"
},
{
"title": "Upstream Protective device trace",
"id": "f0f3e0da-620a-43c2-b52c-59461e4eac95"
},
{
"title": "Downstream customer trace",
"id": "da61a483-6770-4721-868a-b78745a5f183"
}
]
}
]
WidgetsThe widgets object contains widgets that should be exposed to the user, leave blank to use default values. You can check more information about the widgets JSON object here: https://developers.arcgis.com/web-map-specification/objects/widgets/
Enabled Location TrackingA boolean value indicating whether or not location tracking is enabled on the webmap.true
Location Tracking InfoAn object of additional information specifying layer and update interval time.
{
"layerId": "e1eb5f1b-605d-41de-8254-b1f8b50f22af",
"updateInterval": "300"
}
Disable Place FinderA boolean value indicating whether or not to disable the place finder.false
Enabled SearchA boolean value indicating whether search (find) functionality is enabled in the web map.true
Search Hint TextA string value used to indicate the hint provided with the search dialog.Search
Search LayersAn array of objects that define search fields and search criteria for layers in the web map.
[
{
"id": "Census_9227",
"field": {
"name": "STATE_NAME",
"exactMatch": false,
"type": "esriFieldTypeString"
},
"subLayer": 3
}
]
Search TablesAn array of objects that define search fields and search criteria for tables in the web map.
[
{
"id": "table1",
"field": {
"name": "field1",
"exactMatch": false,
"type": "esriFieldTypeString"
}
}
]
Enabled Basemap Gallery On ViewIndicates whether the basemap gallery is enabled on the view. The default is true.true
Enabled Measure On ViewIndicates whether the measure is enabled on the view. The default is true.true
Enabled Routing On ViewIndicates whether the routing is enabled on the view. The default is true.true

Export Layers

Export layers to the specified output format.

InputCommentsDefault
Connection
Feature Service IDThe ID of the feature service.
Owner NameIf not provided, the current user username will be used.
Export FormatThe format to export the data to.CSV
Layers to ExportAn array of exportLayerInfo JSON objects that controls which layers are exported. Leave blank to export all layers.
[
{
"id": 0
},
{
"id": 1,
"where": "POP1999 > 100000"
}
]

GeoCode

Determine the location of a single address or point of interest.

InputCommentsDefault
Connection
Address SearchA single line of text representing an address or point of interest.

Get Current User

Returns the view of the portal as seen by the current user.

InputCommentsDefault
Connection

Get Feature Service URL

Get the URL of a feature service in the portal by owner. Defaults to the current user.

InputCommentsDefault
Connection
Feature Service NameA hosted feature service name.
Owner NameIf not provided, the current user username will be used.

Get Layer ID

Get a layer ID from a hosted feature service (can get multiple layers if they have the same name).

InputCommentsDefault
Connection
Feature Service URLThis is the URL of the hosted feature service, not a specific layer. You can find this URL using the 'Get Feature Service URL' action.
Feature Layer NameA feature layer name.

List Feature Services

List all feature services in the portal by owner. Defaults to the current user.

InputCommentsDefault
Connection
Owner NameIf not provided, the current user username will be used.
Fetch AllIf true, all results will be fetched. If false, only the first page will be fetched.false
StartThe start page number.
NumberThe number of items to return. Too many results can crash the action, use a lower number if you are experiencing issues. The default is 10.

List Layers and Tables

Get all layers and tables from a hosted feature service.

InputCommentsDefault
Connection
Feature Service URLThis is the URL of the hosted feature service, not a specific layer. You can find this URL using the 'Get Feature Service URL' action.

Raw Request

Send raw HTTP request to an ArcGIS API endpoint. This action will append the OAuth2 token to the request headers. The token's validity is contingent upon the connection configuration. Please ensure that the token is compatible with the API you intend to connect to.

InputCommentsDefault
Connection
Base URLThe base URL of the ArcGIS REST API.
URLInput the path only (/findAddressCandidates?f=pjson&singleLine=1600 Pennsylvania Ave NW, DC), The base URL is taken from the Base URL input. For example, to connect to https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer/findAddressCandidates?f=pjson&singleLine=1600 Pennsylvania Ave NW, DC, only /findAddressCandidates?f=pjson&singleLine=1600 Pennsylvania Ave NW, DC is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Search Items

Search items in the portal.

InputCommentsDefault
Connection
Search StringA search string.
StartThe start page number.
NumberThe number of items to return. Too many results can crash the action, use a lower number if you are experiencing issues. The default is 10.
Stringify ResultIf true, the result will be stringified. Use this if the result is too large and is causing the action to crash.false