processActionLinks
Given an array of IHubActionLinks, the following util will "pre-process" the action links. This includes:
- For kind = "content": Fetching the content item, grabbing its site relative href, and transforming the link into an external action link that can be consumed in the UI
Note: we can add other pre-processing as necessary
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
links Required | HubActionLink[] |
hub action links |
|
requestOptions Required | IHubRequestOptions |
hub request options |
Available requestOptions
Property | Type | Notes |
---|---|---|
Optional | ArcGISIdentityManager | |
Optional | function(input: RequestInfo, init: RequestInit) : Promise<Response> |
The implementation of |
Optional | string | |
Optional | boolean | |
Optional | IHubRequestOptionsPortalSelf |
Returns
Property | Type | Notes |
---|
Function defined in common/src/core/processActionLinks.ts:23