isDownloadSchedulingAvailable
To be used before calling any of the schedule functions in order to prevent fetch requests to scheduler API from portal/enterprise
Note: After a discussion w/ Dave, we decided this check is preferred to passing the context into functions that would need checkPermission
To be used before calling any of the schedule functions in order to prevent fetch requests to scheduler API from portal/enterprise
Note: After a discussion w/ Dave, we decided this check is preferred to passing the context into functions that would need checkPermission
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
requestOptions Required | IHubRequestOptions |
The request options needed to get the HubApiUrl |
|
access Required | AccessLevel |
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
Whether or not the scheduling feature is available
boolean
Function defined in common/src/content/manageSchedule.ts:162