Multi-Tenant: Creating a Hosting DefinitionLast Updated: 12/04/2018 Introduced in Version:
Create a Hosting definition once you have Registered a Customer. Learn how to Set up a Multi-Tenant Environment and Register a Customer see attached links:
Add a Database
First Copy the Connection String that will be used in the new Database.
To copy the Database Connection String, navigate to Systems> Integrations>Databases and select Local Connection. On the right side of the Folder, view all of the connection data (Figure 3). Locate “Connection String” and copy the bolded string following the label (Figure 1). Copy and paste the connection string in the new Database settings displayed in (Figure 3).
Next, navigate to the Databases folder under Hosting> Customers> Databases in the designer Folders. Select Add Database from the blue action panel located at the bottom of the Folder view (Figure 2).
Copy the Connection String for the local database connection and Paste the Connection String in the Database Connection String field. Select OK to save and continue (Figure 3).
Setup Customer Configuration
Now that the Database configuration has been set, its time to Add the configuration to the Registered Customer. Locate the Customers folder under Hosting and right click on the Registered Customer. The image below shows Test Company located under Customers, right click on Test Company and select Add Configuration (Figure 4).
Set the Configuration name, choose the Hosting Type and Select the Database Connection (Figure 5). Select continue to save the database connection to your Registered Customer (Figure 5).
- Configuration Name: The Configuration name can be any given name.
- Type Hosting: Choose the Hosting environment, in this case, choose (Decisions (shared) Multi-Tenancy.
- Select Database Connection: Here select the newly created Database.
This step completes the set up of a new Hosting Definition. The Hosting Definition is now registered to the customer (Test Company). Next set up a Prototype Instance in Decisions.