getCardModelUrlFromEntity

Function

given a target and hub entity, this util returns a gallery card's title url

Parameters

Parameter Type Default Notes
entity Required HubEntity

hub entity

context Required IArcGISContext

auth & portal information

target Required CardModelTarget

context the card should redirect to

baseUrl Optional string

base url to work in conjunction with the target

Returns

string

Function defined in common/src/urls/getCardModelUrl.ts:57