breakAssociation

Function

When an entity decides it wants to "disconnect" itself from an existing association, half of the association "connection" is broken.

from the parent's perspective: the parent removes the child from its association group

From the child's perspective: the child removes the parent reference (ref||) from its typeKeywords

When an entity decides it wants to "disconnect" itself from an existing association, half of the association "connection" is broken.

from the parent's perspective: the parent removes the child from its association group

From the child's perspective: the child removes the parent reference (ref||) from its typeKeywords

Parameters

Parameter Type Default Notes
entity Required HubEntity

entity initiating the disconnection

associationType Required HubEntityType
id Required string

id of the entity the initiating entity wants to disconnect from

context Required IArcGISContext

contextual portal and auth information

Returns

Promise<void>

Function defined in common/src/associations/breakAssociation.ts:29