Multiple Clients - Lucity Administration for Web Apps

Question: Our organization has multiple clients. How can we configure the Lucity Administration for Web Apps to prompt for which client to use?

Answer:

  1. Customers with multiple clients will need to add an entry like the following to their appsettings.config file:

    <add key ="Clients" value ="clint019 - SQL Eval,clint015 - SQL Dev,clint017 - Oracle"/>

    Note: The dropdown list will only show the second part of each value. In the example above, the list would display SQL Eval, SQL Dev, Oracle.

  2. You must also place entries for the initial connection string for each client in the connections.config file as shown here:

    <add name="GBAUserConnectionStringclint015" connectionString="Data Source=GBAMS-DEV-01\Dev;Initial Catalog=GBAUserDev;User ID=gbams_web_gateway;Password=gateway" providerName="System.Data.SqlClient"/>

    <add name="GBAUserConnectionStringclint019" connectionString="Data Source=GBAMS-DEV-01\Dev;Initial Catalog=GBAUserEval;User ID=gbams_web_gateway;Password=gateway" providerName="System.Data.SqlClient"/>

    <add name="GBAUserConnectionStringclint017" connectionString="Data Source=DEV;User ID=gbams_web_gateway;Password=gateway" providerName="Oracle.DataAccess.Client"/>

  3. Thus, the item with key value 2 above will map to "GBAUserConnectionString2" in connections.config. The value "SQL Dev" is only used to display the choices when starting Lucity Administration for Web Apps:

    select client

  4. After the user selects a client, the system will use the key to look up the correct LucityUserConnectionString and then proceed to the login screen in Lucity Administration for Web Apps.
  5. You may also set a default client (the default value selected on the "Select a Client" screen above) with this entry in appsetting.config:

    <add key ="DefaultClient" value = "clint015 - SQL Dev"/>

  6. To switch clients, users will need to exit Lucity Administration for Web Apps and re-launch the program.

See Also

Administrative FAQ

Customizing the Dashboard Background Image

Error and Event Logs

DOS Attacks

Multiple Clients - Live Data Tool

ArcGIS Server and Lucity Web are on different servers