Shorten URL and specify layer theme and extent to shortened url
Hi
I have shortened the site url using the method listed here:
https://support.geocortex.com/how-to-shorten-the-viewer-for-html5-url
and was wondering if there is a way to also specify the layer theme
At the moment my code looks something like this however does not work:
"viewername": "http://server.domain.com/Geocortex/Essentials/dev/REST/sites/SiteName/viewers/html/virtualdirectory/Resources/Config/Default&layertheme=3&extent=16539629.215279864,-4233501.870705846,17109543.69817411,-3880668.5481414897/" + shellName + ".json.js",
-
Ideng
Ours works like this.
http://MyServerName/html5viewer/?viewer=MyViewerName&extent=2635941.18219723,606987.354921071,2654982.84886389,622237.354921071
Follow GeoCortex addice (link below
GeoCortex link- https://support.geocortex.com/how-to-shorten-the-viewer-for-html5-url
Add your Viewer name and link in the configuration section of the Index.html file under the Html5Viewer
var viewerConfig = {
"configurations": {
"MyViewerName": "http://MyServer/Geocortex/Essentials/REST/sites/MyViewer/viewers/MyViewer/virtualdirectory/Resources/Config/Default/" + shellName + ".json.js"
},
"viewerConfigUri": null
};
Good Luck
Jimmy Brink
0
Please sign in to leave a comment.
Comments
1 comment