11-18-2018 07:27 PM
As part of our deployment with previous versions of GMSC we would set a different site name for each server. e.g. My GMSC Dev, My GMSC Test, My GMSC
This avoided clashes between different customers / servers etc.
With update 3 we can't see how to change the default site from 'GMSC' to 'My GMSC Dev'.
Previously we would
With update 3 changed the registry as usual no problem.
However comes unstuck with updating the default.aspx - added the two lines for changing the default site and it gets ignored.
Is it possible to do equivelent with Update 3 release?
While can launch the site by adding ?site=My GMSC Dev, would prefer to keep current methodology of default site change so users don't have to change bookmarks etc.
Solved! Go to Solution.
11-19-2018 06:46 PM
also - client would like to default to sso=true which we used to do in a similar manner ...
11-20-2018 12:43 AM
Hi Shaun,
just add your code after the defintion of the applicationArguments property which will be done at line 7.
Otherwise the property will be at the redirect from http/https to hnlp/hnlps.
Regards,
Steve
11-20-2018 07:11 PM
Thanks Steve,
Bit obvious in retrospect - too used to plugging it in later in the script.
change made to setup defaults for client:
...
<%
Response.Cache.SetExpires(DateTime.Now);
NameValueCollection applicationArguments = HttpUtility.ParseQueryString(Request.Url.Query);
if (string.IsNullOrEmpty(applicationArguments["site"]))
applicationArguments.Add("site", "GMSC Test");
if (string.IsNullOrEmpty(applicationArguments["sso"]))
applicationArguments.Add("sso", "true");
if (string.IsNullOrEmpty(applicationArguments["requesttype"]) && string.IsNullOrEmpty(applicationArguments["help"]))
...