setEntityAssociationGroup

Function

Utility to create a relationship between an entity and a group, setting the group as the entity's association group. This adds the entity-specific association keyword to the association group, and it adds the association definition to the original entity.

Parameters

Parameter Type Default Notes
entity Required HubEntity
group Required IHubGroup
context Required IArcGISContext

Returns

Promise<HubEntity>
Property Type Notes

Function defined in common/src/associations/setEntityAssociationGroup.ts:16