Configure the Core Application

Once the host is installed, it is time to log in to the host application where the core application is configured.

  1. Click Go to core app configuration.

  1. Log in as the Host Admin User you just created.

  1. Click the edit icon next to Encryption Key.

The key file that was created for the host should be used for the core app as well.

  1. Click Import Key File.
  2. Enter the Password that was created earlier.
  3. Click the Drop here field on the panel to browse to the file or drag and drop the file to upload it.
  1. Click Save Key.

  1. Click Return.
  1. Click the edit icon next to Database.
  2. Add the same connection string that you added in the host configuration.

IMPORTANT: If you are an Oracle user, the azteca user must be used here for the User and Password fields.

  1. Select the connection string you just added from the Active Connection String drop-down list.

  1. Next, click DB Schema Manager and click Update Database on the Database Schema Manager panel.

This creates and updates the core database tables to the latest version.

IMPORTANT: The red Database is not up-to-date message might not appear under certain circumstances. Even if it does not appear, you still need to complete the steps to update the database.

The Database Schema Manager panel shows the progress while it checks the CWVERSION and migration history tables. The Log displays messages from Database Schema Manager.

Once it's successfully completed, users receive a message indicating that the database was successfully updated. If not, the log shows where any issues were encountered. The Log also states any data migrations that need to be completed. See Data Migration Manager Guide for more information.

  1. Click Verify Database to identify any additional schema changes that need to be made. If there are any errors in the log after verifying the database, you can fix them by running the SQL scripts provided at the bottom of the log.
  2. Click Identify Customizations to locate any customizations in the database.
  3. Click Identify Other Schema Items to locate anything that's been added to the database, such as additional tables, views, or procedures.
  4. Click Close.

TIP: If you need to manually open Database Schema Manager, it can be accessed from the Cityworks 23.14 download file under host-setup > tools > DatabaseSchemaManager > CwDbSchemaManager.exe. See Database Schema Manager for more information.

  1. Click Return.
  1. Click the edit icon next to Cityworks License.

There are two options for activating your license key: Online Activation or Upload. Online is the preferred method, while Upload is only used in rare cases when a site is unable to reach the authorization servers that Azteca Systems uses. Please note that this is usually caused by a proxy server being involved with internet access at the site. See Offline Activation for more information.

  1. Click Online Activation to activate the license key.

  1. Enter the License Key number.
  2. Click Activate.

When the license information has been retrieved a success message displays.

  1. Click Return.

A Cityworks domain and administrator login needs to be created.

  1. Click the edit icon next to Users.
  1. Click Add record on the Employees panel.

  1. Enter the First Name, Middle Initial, and Last Name.
  1. Click Add.

  1. Click Create New Domain.

  1. Enter the Domain Name and Description.
  1. Click Create.

  1. Select the new user and assign licenses to them.
  2. Select the user's Domains and Current Domain.
  1. Click Create Log In.

  1. Enter the Email and Password.
  1. Click Create.

Now that the user has been created, they can be assigned as the Domain Administrator or Cityworks Administrators.

  1. Select the newly created domain from the Domains drop-down list in the Domains panel.
  2. Click Add record.

  1. Select the user and click Add.

  1. Click Add record on the Administrators panel to add a Cityworks administrator.

  1. Select an employee and click Add.

  1. Click Return.
  1. Click the edit icon next to System Settings.
  1. Select the Timezone.
  2. Select Secure Session Cookies to only send session cookies over HTTPS. Selecting the check box might cause issues if your Cityworks site isn’t running in HTTPS or if it’s behind a reverse proxy that terminates HTTPS before it reaches the site.
  1. Select Enable Windows Authentication to set the site to use Windows Authentication.

IMPORTANT: Starting in 23, Cityworks handles Windows Authentication in the app rather than in IIS. The following settings need to be configured manually in IIS Manager to support this. Anonymous Authentication should be set to Enabled and Windows Authentication should be set to Disabled.

  1. Select Enable Multifactor Authentication (MFA) to enable MFA in the site. Once it's enabled, set up the Multifactor Authentication preferences for your site in Admin. See Configure Global Preferences in the Admin 3.10 Guide.
  2. Enter the Form Multipart Body Length Limit (in Bytes). To support attachments larger than 1 GB being uploaded to a work activity, enter 2147483648. Increase the number as needed.
  3. Enter the Form Value Length Limit (in Bytes). To support attachments larger than 1 GB being uploaded to a work activity, 4194304. Increase the number as needed.

These values need to match what is entered in the settings in the app-settings.yaml file as well. See Attachment File Size Update for more information.

  1. Click Return.

TIP: To access your new site, enter https://<server>/<site>/login in a browser.

IMPORTANT: If you are installing Cityworks with a brand new database, a site admin (CWDBA) needs to be manually created. See Database Schema Manager for more information.