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

PropertyDetails
joinTypeThe type of join (left outer or left inner).
Valid values:
  • esriLeftInnerJoin
  • esriLeftOuterJoin
leftTableKeyField name from the left table.
leftTableSourceThe 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.
rightTableKeyField name from the right table.
rightTableSourceThe right table source.
typeString 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"
}