ProjectWise Analytics Data Upload Service Help

Configure Data Sources (Database Connections) and Upload Schedules

Use the ProjectWise Analytics Data Source Administrator application to configure data sources that connect to the ProjectWise databases you want to upload data from.

You can:

  • configure new data sources
  • re-configure data sources (change settings)
  • remove data sources
  • upgrade data sources to the current version
    Important: You must upgrade existing data sources to the current version after installing a newer version of ProjectWise Analytics Data Upload Service.

Opening ProjectWise Analytics Data Source Administrator and Setting the Account It Will Run Under

ProjectWise Analytics Data Source Administrator opens automatically when you turn on the option to Launch ProjectWise Analytics Data Source Administrator at the end of ProjectWise Analytics Data Upload Service installation.

You can also open this application from the desktop by going to Apps > Bentley > ProjectWise Analytics Data Source Administrator.

In ProjectWise Analytics Data Source Administrator, click Set account to sign in with your Bentley IMS account.

After signing in, review the permissions that the service is asking you to grant and then click Allow in the Datasource data upload authorization window.

Configuring a New Data Source

  1. In ProjectWise Analytics Data Source Administrator, click Add Data Source.
  2. When the Data upload pipeline configuration wizard opens, click Next.
  3. On the ProjectWise database information page, specify which ProjectWise database this data source will connect to (which tells the upload service which database to upload data from):
    1. Set Database Type to Microsoft SQL Server or Oracle, depending on which database ProjectWise is using.
    2. Enter the Connection Information of the specific ProjectWise database you want the service to upload data from:
      Microsoft SQL Server Oracle
      • Database server name - Enter the name of the computer on which the database server is installed. If your SQL Server installation has named instances, enter the name of the computer, followed by a backslash, followed by the SQL Server instance name you want to connect to. For example: computername\SQLServerinstancename
      • Database name - Enter the name of the database you want to connect to on the specified database server.
      • Database user name - Enter the name of the database user who has access to the specified database.
      • Database user password - Enter the password of the specified database user.
      • Datasource or TNS Name - Enter the name of the datasource or TNS you want to connect to.
      • Database user name - Enter the name of the database user who has access to the specified datasource or TNS.
      • Database user password - Enter the password of the specified database user.
    3. Click Next.
  4. On the Database schema verification page, do the following:
    1. Click the Upgrade link next to Database is instrumented for change collection.

      In order for the ProjectWise Analytics Data Upload Service to be able to collect data from the database, the database must first be instrumented for analytics data collection. Clicking Upgrade will add tables to the database that allow ProjectWise Analytics Data Upload Service to track ProjectWise changes and depict those changes in ProjectWise Project Insights.

    2. When the Confirm database upgrade dialog opens, click Yes.
    3. When upgrade is finished click Close to close the Upgrade status log.
    4. Click Next.
  5. On the Scheduled data processing jobs page, configure schedules for running data collection and data upload jobs (these are two separate jobs) and click Next when finished.

    For data collection and data upload, each has a default schedule defined. You can edit the default schedules (select one and click Modify) or use them as is. You can also click Add to define new schedules.

  6. On the Summary page, click Finish.
    The new data source is added to list of data sources in the ProjectWise Analytics Data Source Administrator.
  7. Click Add Data Source and repeat the steps above if you want to create connections to other databases, otherwise click Close.

The ProjectWise Analytics Data Upload Service will begin collecting and uploading data to the project for display in the ProjectWise Project Insights portal according to the configured schedules.

Note: Please be aware of the following:
  • After you create a data source and the first run of the service, the transaction log can fill up quickly.
  • Data upload and processing could take up to a few hours or more depending on the size of your database. Data will not be available in the ProjectWise Project Insights portal until data upload and processing is finished.

Configuring a Data Source That Connects to a Moved or Copied Database

When you are creating a data source that connects to a database that was moved or copied, and that database contains ProjectWise Analytics Data Upload Service instrumentation from a previous connection, the database schema verification stage will detect this and will prompt you to select how you want to resolve the situation.

On the Database schema verification page, click the Resolve link next to Database is safe to upload.

When the Resolve the suspicious configuration wizard opens, select the appropriate option based on whether the database was moved or copied.

If the database was moved:

  1. Select The database was moved. Old database instance was turned off.
  2. In the Remove the suspicious configuration wizard, click Finish.

If the database was copied from a template database:

  1. Select The database is a copy. The source database was used as a template.
  2. In the Remove the suspicious configuration wizard, click Next.
  3. If you want to upload data from the work areas listed, turn on I need those associations, proceed, and then click Next.

    If you do not want to upload data from the work areas listed, go to ProjectWise Explorer and unassociate those work areas from the ProjectWise project, and then click Refresh list here.

  4. Once there are no more work areas listed (only work areas with "unsafe" associations are listed), click Next.
  5. Click Clean. When that is complete, click Finish.

If the database is a copy and will be used in parallel with the original database:

Note: This workflow both assumes and requires that duplicate work areas (a work area that exists in both the copied and original database) will not be associated to the same ProjectWise project.
  1. Select This database is a copy. Both databases are used in parallel.
  2. the Remove the suspicious configuration wizard, turn on I consulted and was informed to proceed with the configuration (assuming that you have been given permission to proceed!), then click Finish.

Re-configuring a Data Source

If you need to change the settings of a data source, select the datasource from the list and click Re-configure. This reopens the configuration wizard and lets you change database connection settings and schedules as needed.

Upgrading a Data Source Created in a Previous Version

If you are upgrading from a previous version of ProjectWise Analytics Data Upload Service and you have data sources that were created in a previous version, you can quickly upgraded your data sources to the current version by clicking the Verify All Data Sources.

The Datasource Upgrade Verification dialog opens, and quickly checks each data source to see which data sources are ok and which ones need to be upgraded.

The ones that do not need to be upgraded are marked Verified, no issues in the Verification result column, and then removed from the list.

The ones that need to be upgraded are marked DB upgrade is needed in the Verification result column. Click Fix it to upgrade the selected data sources to the current version.

When the Confirm database upgrade dialog opens, click Yes.

When upgrade is finished click Close to close the Upgrade status log.

In most cases the upgrade will complete with no issues. If there happen to be any errors that occurred while processing, these errors will be added to the service log and the Verification result column will inform you that the Service log contains errors. Note, having errors does not mean the data source was not upgraded.

To see what the errors were, click Show errors. This opens the ProjectWise Analytics Data Upload Service log where you can review the errors.

After reviewing the errors and you are sure everything is ok, click I resolved the errors.

Removing a Data Source

If you want to remove a data source, select the data source in the ProjectWise Analytics Data Source Administrator and click Remove.

The Data upload pipeline configuration wizard opens.

If you want to remove all the instrumentation that was added to the database when the data source was created, which will permanently stop all data collection from this database, then turn on Remove extra tables and triggers.