getAvailableToRequestAssociationCatalogs

Function

Specific util for building well-known (My content, Favorites, Organization, and World) association catalogs to populate a gallery picker experience for requesting association.

In addition to the normal filters that define these well-known catalogs, we also need to further filter the results to only include entities that can still be requested for association.

Specific util for building well-known (My content, Favorites, Organization, and World) association catalogs to populate a gallery picker experience for requesting association.

In addition to the normal filters that define these well-known catalogs, we also need to further filter the results to only include entities that can still be requested for association.

Parameters

Parameter Type Default Notes
i18nScope Required string

translation scope to be interpolated into the catalog

entity Required HubEntity

primary entity the catalog is being built for

associationType Required HubEntityType

type of entity the primary entity wants to view associations for

context Required IArcGISContext

contextual auth and portal information

catalogs Optional WellKnownCatalog[]

optional list of well-known catalogs to include

Returns


Function defined in common/src/associations/wellKnownAssociationCatalogs.ts:144