Map Service connection string missing in Geocortex Site Direcotry/REST API
Hi, 
We have a number of workflows that use GetMapServiceInfo widget to retrieve the ArcGIS Server REST URL of the specified Map Service (e.g. https://mydomain.com/arcgis/rest/servcies/test/MapServer). It was working all fine for some sites, but not for others, in which it returns the Geocortex REST URL like http://mydomain.com/Geocortex/Essentials/REST/sites/test/map/mapservices/26) rather than the ArcGIS REST URL. So after our investigation, we found that those had issue due to in the Geocortex Site Directory / REST API, the Connection String was missing or set to N/A.
I have tried re-added the map service and check the Site Directory, the Connection String came back, however, after a period of time, the connection string went missing again. also noticed in the Site Directory, some map service have connection string, some doesn’t. I’m just wondering what logic/rules here is to tell Geocortex to show the Connection String for a map service? I search doc an forum seems it hasn’t been asked before except myself.
BTW, We’re running Geocortex 4.5.0. map services are secured, and no we didn’t do anything specifically to hide the Connection String from the Site config.xml. Any advice would be appreciated.
regards,
Jack

0
-
Jack,
Not an answer, but an affirmation that I am seeing this, too, for some map services. In my case, the site was copied from a test server to a production server if that could cause issues.
I have also removed some layers and republished the services (as same name). I was noticing that I am missing a layer from the layer list, that should be appearing. This missing layer is what led to the discovery of the above.
Carmen0 -
This is a great question Jack. I just encountered the same issue three years later on version 4.11 while trying to migrate a site we built on our environment to the client. I imagine that this isn't an issue that your average GCE dev encounters. I wonder if @[Wayne Richard] would have any idea on what's up? 0 -
hi @Zack Robison, in our case, it is caused by the Layer Permission setting in Geocortex Site. If a layer has either Allow or Deny permission set, then the connection string will be hidden in the Site REST endpoint. 0
Please sign in to leave a comment.
Comments
3 comments