getProxyUrl

Function

If an item is a proxied csv, returns the url for the proxying feature layer. If the item is not a proxied csv, returns undefined.

If an item is a proxied csv, returns the url for the proxying feature layer. If the item is not a proxied csv, returns undefined.

Parameters

Parameter Type Default Notes
item Required IItem
requestOptions Optional IHubRequestOptions

Hub Request Options (including whether we're in portal)

Available requestOptions

Property Type Notes
authentication Optional ArcGISIdentityManager
fetch Optional function(input: RequestInfo, init: RequestInit) : Promise<Response>

The implementation of fetch to use. Defaults to a global fetch.

hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

string

Function defined in common/src/content/compose.ts:383