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 UserSession
hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

string

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