Geocortex URL root uses server name instead of public domain
When I add new services to my site using the Geocortex Essentials Manager, it always seems to add them using the server name as root. Usually I would just edit my site.xml afterwards so that the URL's use the public domain name instead.
I now started using Geocortex 3.9's 'add viewer' capability. I added the viewer's template using post install and configured it so that it uses the public domain name. So far so good. But when I launch the viewer from the manager, it adds the configuration file's URL as a parameter. That URL still uses the server name.
http://<public domain>.eu/SilverlightViewer_1_5_TEST/Viewer.html?ViewerConfig=http://<server name>/Geocortex/Essentials/Geocortex390/REST/sites/TestSilverLight/viewers/SLV/virtualdirectory/Config/Viewer.xml
Where/how can I change my configuration so that Geocortex always uses the public domain instead of the server name? Is this an issue in Geocortex, or is it perhaps something that I need to change in IIS or ArcGIS server manager?
Cheers,
Ibrahim
-
Hi Ibrahim,
The url in the ViewerConfig= parameter in the launch link that you get from Rest Manager comes from the web.config file located here: "C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Manager\Web.config"
If you edit this file you will see an entry under <appSettings> which defines the Essentials Url: <add key="EssentialsUrl" value="http://<servername>/Geocortex/Essentials/REST/sites" />.
Change <servername> to your public domain.
*Note that this will change all of your sites to use the public domain instead of the server name by default. To only change one of your sites, use the Viewer.Settings.xml file to shorten the url and specify the domain where the viewer configuration file is. There is information on setting this up in section 6.2.3 of the Silverlight Viewer Administrator and Developer Guide.
-Victoria
0 -
Just the information I needed! Thanks!
0 -
I have this same issue and I've tried everything I could find but with no luck.
On our Test Server, when I try to modify the name of a Map Service URL in REST Manager, to be the public domain name (testmapit.fortworthtexas.gov) instead of the actual server (gs099) it will not recognize it.
I went through the post-install many times, everything is set to the naming convention testmapit.fortworthtexas.gov but I can't figure out why Geocortex wont recognize Map Services with that URL.
This works perfectly on our Production server, so I combed through the production server's Essentials folders piece-by-piece to find what is so different but I haven't found anything.
Because of this issue we are unable to see our mapping sites off the local network, you can actually open the mapping site fine but you just can't see the map itself!
Any ideas?
Thank You in advance!
0 -
Try the ...\Geocortex Essentials\Default\REST Elements\Manager\App_Data\RestManagerSetting.xml file
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer