Join Table DataSource

Join Table data source is the result of a join operation. Nested joins are supported. To use nested joins, set either leftTableSource or rightTableSource to be a joinTable.

Referenced by: dataSource

Properties

Property Details
joinType The type of join (left outer or left inner).
Valid values:
  • esriLeftInnerJoin
  • esriLeftOuterJoin
leftTableKey Field name from the left table.
leftTableSource The left source. If the leftTableSource is a table, the resulting joinTable is a table. If the leftTableSource is a layer, the resulting joinTable is a layer.
rightTableKey Field name from the right table.
rightTableSource The right table source.
type String value indicating the type for the dataSource.
Valid value of this property joinTable

Example

{
  "type": "joinTable",
  "leftTableSource": {
    "type": "mapLayer",
    "mapLayerId": 0
  },
  "rightTableSource": {
    "type": "dataLayer",
    "dataSource": {
      "type": "table",
      "workspaceId": "MAP",
      "dataSourceName": "MAP.user1.TaxLots",
      "gdbVersion": "MAP.Version1"
    }
  },
  "leftTableKey": "STATE_FIPS",
  "rightTableKey": "FIPS",
  "joinType": "esriLeftOuterJoin"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close