getAssociatedEntitiesQuery
Associated entities are those which have mutually "agreed" to be connected with one another. They require a two-way "connection" between parent/child:
parent: "includes" the child in its association query
child: "references" the parent via a typeKeyword of
the form ref|
The following returns a query to view an entity's associations with another entity type
Associated entities are those which have mutually "agreed" to be connected with one another. They require a two-way "connection" between parent/child:
parent: "includes" the child in its association query
child: "references" the parent via a typeKeyword of
the form ref|
The following returns a query to view an entity's associations with another entity type
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
entity Required | HubEntity |
Hub entity |
|
associationType Required | HubEntityType |
entity type to query for |
|
context Required | IArcGISContext |
contextual auth and portal information |
Returns
Property | Type | Notes |
---|---|---|
IFilter[] |
Filters that make up the query |
|
EntityType |
What entity is this query targeting. This is used internally to ensure we query the correct API |
|
Optional | WellKnownCollection |
An id for a well known collection that the query should use. |
Optional | Record<stringany> |
Additional properties. Useful for groupMember queries where we need to send in the groupId to construct the url |
Function defined in common/src/associations/getAssociatedEntitiesQuery.ts:26