Hi there,
I am currently searching for advise on how to provide a portal token within a feature service workspaceConnectionString.
Within the ExportWebMapSpecification there is the possibility to directly insert a token on a layer basis
in order to access secured feature services:
"operationalLayers":[
{
"id":"<webmapOperationalLayerId>",
"url":"<url1>",
"token":"<tokenString1>",
"title":"<title1>",
"opacity":<opacity1>,
"visibility":"<true | false>",
"minScale":<minScale1>,
"maxScale":<maxScale1>
}
]
I am wondering if there exists some similar behaviour within the Definition of a CIMFeatureLayer more specifically in its CIMFeatureTable and the underlying CIMStandardDataConnection. Unfortunately there is no documentation on whats supported within the WorkspaceConnectionString property.
There is a property called "TOKENPROVIDERTYPE" so there is some hidden way to inject a token for authentication?
URL=<arcgis-server-url>/services/<feature-service>/FeatureServer;USER=;ENCRYPTED_PASSWORD=xyz;TOKENPROVIDERTYPE=;VERSION=sde.DEFAULT;VERSIONGUID={<guid>} Any help or hint to a documentation would be appreciated!