Hi,
I'm trying to add a basemap provided by an AGS 10.1 to my WAB-Application. The service is token-based secured. Operational secured layers work fine with a proxy configuration. This is the config-UI for the basemap gallery widget:
It is also impossible to combine non-secured with secured services in this UI. I thought another workaround would be, to add the basemap directly to the web map, but then the other esri basemaps didn't work; or more precisely: if I switch over to an esri basemap my own secured basemap turns grey an is not available anymore.
I appreciate any suggestions
Andre
Solved! Go to Solution.
For those with similar problems:
I solved the problem by adding the AGS Service as an element in my AGOL account and saved the server credentials within the element. After that I restricted the allowed Referrer-Urls to my WAB-Application, so neither one can load the service into new web maps nor download data from the service.
Andre
Andre,
Is your basemap using the same wkid as esri basemaps (wkid: 102100)? If your basemap is cached/tiled does it have the same LODs as esri basemaps?
thx for your reply,
my basemap has the same wkid and the same tiles as esri basemaps. it's successfully integrated in several flex applications, because there I can specify a token.
Andre
For those with similar problems:
I solved the problem by adding the AGS Service as an element in my AGOL account and saved the server credentials within the element. After that I restricted the allowed Referrer-Urls to my WAB-Application, so neither one can load the service into new web maps nor download data from the service.
Andre