Skip to main content
Mitratech Success Center

TeamConnect Business Intelligence Integration Guide (6.3)

This guide details the installation and integration instructions for TeamConnect Business Intelligence for version 6.3.


Note: If you are reading this document as a PDF, click this link to view the most recent version online.

TeamConnect Business Intelligence provides colorful visual reports embedded within TeamConnect. Interactive dashboards provide multiple visualizations of similar data in one screen for easy user consumption and analysis, and users can drill directly into dashboards to report on specific data. Designers can build ad-hoc reports and dashboards that can include cross-object data and reportable custom fields and objects in the TeamConnect system.

Before you begin:

  • Review system and software requirements in Reporting Requirements for TeamConnect Business Intelligence.
  • Ensure your TeamConnect instance has TeamConnect (TCE) 6.3 installed.
  • Note that any email in TeamConnect must be blank or follow the standardized w3 format
  • Make sure you have an active account able to install Sisense; this account is provided by Mitratech.  The license should have long index support and your account should have two unique admins - one web UI admin and one TC Integration admin.
  • Mitratech recommends to install multiple environments (like development and production) on different servers as synchronizing two separate TeamConnect environments with the same user and email address would violate Sisense unique email address requirement.
  • Ensure that you install TeamConnect and TCBI on different servers.

Preparing the TeamConnect 6 Instance

Important: If using Data Warehouse, make sure Data Warehouse is installed before continuing with TeamConnect Business Intelligence integration. TeamConnect version should be 6.3 or higher (such as TeamConnect 7.x)

On-premise prep work:

Installers (.exe) must be ran as Administrator

  • sisense.exe

    • Sisense executable

  • installer.exe

    • TCBI Plugin installer executable

Whitelist these URL's:

  • *


Installing Sisense

This step will install the Sisense Server Console, Sisense Web Application, ElastiCube Manager, and ElastiCube Server. To install Sisense, you must have Administrative privileges on the machine and the ability to install on the C:\ drive. Make sure you have an active account able to install Sisense; this account is provided by Mitratech.

To install Sisense on a single Windows Server:

The instructions below detail how to install Sisense on your Windows server. Follow these steps before completing the Sisense plugin installation.

Run the Sisense offline installer: SiSense. as Administrator

  1. On the Welcome to Sisense screen, click Activate.
  2. On the Sisense Activation screen, sign in with the account given to you by Mitratech. If you are copy and pasting your credentials into the fields, make sure you are not pasting an extra space at the end.
  3. Click Install.
  4. Click Custom Installation.                                                                                                                                                                                                                                         clipboard_e8d820849be89eb0c8fbadbbe48c94f04.png
  5. On the Custom Installation screen, if you need to use a port other than 8081, make a note of the port number for configuring the firewall.                                                         clipboard_e7984bb8db9d0982812e03c5a204b82fa.png
  6. If you expect to have more than 1 million records in the source database, select Long Index Edition.
  7. After Sisense is installed, create a new firewall rule firewall named Sisense Web and open the TCP 8081 and 443 ports (the port mentioned in the previous steps) for both inbound and outbound communication -- to the TeamConnect Web Server.  This internal traffic is managed by the on-premise network team.
    Note: You need to configure Secure Sockets Layer (SSL) for Sisense if TeamConnect is configured with SSL. To configure SSL for Sisense, refer to Setting Up SSL.
  8. On the Sisense server, create a folder to contain the ElastiCubes.
  9. Stop the Sisense services in Task Manager and replace the dll files (Prism.ElastiCubeManager.ApiExtension.dll and Prism.ETL.Client.dll are the extension files provided along with installation files) in the folder path: C:\Program Files\Sisense\Prism
  10. Start all Sisense services


To install the Sisense Plugin:

Unzip, Run installer.exe as Administrator.

  1. Open the Sisense installer .EXE file provided by Mitratech Holdings, Inc.
  2. Click on the Installer icon with the Application file type (do not click on the Installer folder).
  3. The TeamConnect Business Intelligence Setup pop-up will appear. Enter your administrator credentials and the site URL, then click Next.
    • This username / password will be your Sisense username / password
    • Use http://localhost:8081
      • If you jumped ahead and have SSL enabled, disable SSL and use the original port before running setup exe tool again (e.g.: don't use https:// here)

  4. The Choose file location screen will appear. Click Install if you are satisfied with the location.
  5. TeamConnect Business Intelligence will begin installing in the next screen. Once it is finished loading, you will be taken through the Setup screens in order to finish the installation. Click Finish when this screen appears.
  6. Once the plugin is successfully installed, an Uninstall option will appear in the same folder as the installation icon.
  7. To verify that the plugin was installed navigate through the following folder path: Program Files > Sisense > app > plugins > TeamConnect > and verify that the plugin.json file is in the TeamConnect folder.


To select a partition for your Sisense data to live:

  1. Choose a partition with enough disk space and create a folder (for example, E:\ElastiCubeData).
  2. Open the Sisense Server Console as an administrator.
  3.  Click the clipboard_e4028e855e67b8d60b715b11db4fc6d60.pngicon to edit server preferences.
  4. On the Edit Server Preferences dialog box, click the Browse button for the Default Server data folder and select the partition and folder created in Step 1.
  5. Stop and start the Sisense Server.

Note: Sisense has enhanced the functionality of scatter map widget. On the target server, run the below cmd file (script) with Administrator privileges to configure and upgrade it to the latest version (the older version is deprecated).


Configuring Sisense for TeamConnect Integration Edit section

Note: Follow the below instructions to install the plug-ins only if you are unable to use the sisense plugin installer.

Installing TeamConnect Plug-ins 

  1. Extract into the app/resources directory on the Sisense server. This directory is typically located in C:\Program Files\Sisense\app.

  2. Extract into the app/plugins directory on the Sisense server. This directory is typically located in C:\Program Files\Sisense\app.

  3. Extract into the app/plugins directory on the Sisense server. This directory is typically located in C:\Program Files\Sisense\app.

  4. For additional functionality download the below plugins and extract them into the app/plugins directory on the Sisense server. This directory is typically located in C:\Program Files\Sisense\app. 


Plugin Details Description
Dynamic Buckets

The Dynamic Buckets add-on supports aggregating a column, bar, and line chart’s results into buckets. This enables you to dynamically or manually segment the result population into groups while still retaining the filtering functionality.

For more information, refer to TCBI - Dynamic Buckets.


Toggle between different widgets to save space.


Toggle between different sub-dashboards on demand by clicking an Indicator widget; useful for providing large amounts of information within a limited space.

Funnel Widget Visualize stages in a process
Print Widget

Shortcut to print any widget


  • Pre-built templates to integrate application like functionality into dashboards
  • After placing the .zip file in the plugins folder, follow additional instructions as described here
Table with Aggregation Combo of regular table and pivot; performs better than pivot. Creating simple reports that need aggregation.
Jump to Dashboard Right-click allows jumping from one dashboard to another. 
Visualize Queries Display relationships between columns/tables in widget queries

Login to Sisense Web Application as an administrator.

  1. Click Admin.

  2. Click REST API.


  4. Click the 0.9 button in top right.

  5. Expand the /branding endpoint.

  6. Expand the GET /branding item.

  7. Click Try it out.

  8. Copy all the settings in the Response Body field.

  9. Expand the POST /branding item.

  10. Paste the copied settings into the body field.

  11. Add the following setting to the body text. You may need to add a comma before this key if there are other settings.


{"homePage": "/Resources/TeamConnect/homepage.html", "logo": {"desktop": {"small": "/resources/TeamConnect/LogoDesktopSmall.png"}}}


For example, your results may look like this:
    “other_setting”: {},
    “email”: {},
    “more_settings”: “”,
    “homePage”: “/resources/TeamConnect/homepage.html”


13. Click Execute and make sure the Response Code is ‘200’.

Disable drill to anywhere by default


  1. Login to Sisense Web Application as an administrator.

  2. Click Admin.

  3. Click REST API.


  5. Click the 0.9 button in top right.

  6. Expand the /roles endpoint.

  7. Click Try it out.

  8. Expand the PUT /roles/{idOrName}/manifest/{path} item.

  9. Paste the copied settings into the body field.

    {"drill_to_anywhere": false}
  10. Click Execute and make sure the Response Code is ‘200’.


Installing the Email Templates

For TeamConnect Business Intelligence 6.1 (not applicable to 6.0), if you are upgrading TeamConnect Business Intelligence from a previous version or installing for the first time, the Sisense branded email templates for notifications need to be replaced with Business Intelligence versions that are tailored to the TeamConnect integration:


To install the email templates:

  1. Open the folder from the installation media, where xx is the release version.
  2. On the Sisense server, navigate to the \Sisense\app\translations\en-US directory, typically located C:\Program Files\Sisense\app\translations\en-US.
  3. Open the email-templates.js file and replace its contents with the contents of the email-templates.js from in the installation media.
  4. On the Sisense server, navigate to the \Sisense\app\next\src\features\emails\templates directory, typically located C:\Program Files\Sisense\app\vnext\src\features\emails\templates.This is actually: C:\Program Files\Sisense\galaxy-service\src\features\emai
  5. Copy and paste the contents of the emails folder (but not the folder itself) from in the installation media into the templates folder. 
  6. Restart the IIS server.

Creating an ElastiCube for the TeamConnect Database

Creation of the ElastiCube can take hours to create the schema and move the data. For example, creating an ElastiCube for a nearly empty database can take 2 hours, but a fully populated database could potentially take more than 20 hours.

Note: To enhance performance, specific tables and columns from system objects are not included in reporting by default. To ensure the inclusion of these tables or columns in your reports, utilize customized scripts before initiating a schema synchronization.

Before you begin:

  • Make sure the user has DBA access on the server machine from which they will be running syncs. To check if the user is already a DBA:
    •  type lusrmgr in the Microsoft Windows search field and open lusrmgr.
    • In the lusrmgr window, click Groups in the navigation pane and then ora_dba to see the list of oracle DBAs on the server.
    • If the user is not in the ora_dba group, click the Add button and add the user.
  • Grant the database schema access to create a materialized view by logging into sqlplus as sysdba and typing the command:  

    where <DBUsername> is the database username for your database. For example:
  • For SQL Server, the login that you provide for TCBI's use must have the following roles:
    • public role
    • db_owner role
  • Set TCBI Security
    • Scroll down to the below section and follow the select / update commands:
      • Turning On Matter Level Security


To create the Elasticube:

1. On the Medusa Release folder, navigate to TC_BusinessIntelligence > and downlaod the file. Go to > installer > unzip and open the file with a text editor. Define the values for the following properties. Note that these values are case sensitive.

## All database values below are used in relation to connecting to the TeamConnect Database ##

  • database.hostname – the fully qualified domain name of the server that hosts the database
  • database.portnumber – the database port number
    • Typically 1433 for MSSQL
    • Typically 1521 for Oracle
  • database.dbname – the database sid or database service name
      • No slash for just a SID
      • You need the slash if you have a service!
  • database.dbtype – the database type:
    • Oracle
    • SQLServer
  • database.driverClassName – the database driver class name:
    • oracle.jdbc.driver.OracleDriver
    • sqlserver.jdbc.SQLServerDriver
  • database.connectionString – the database connection string for Sisense.
    • This property is only needed if you are using load balancing or clustering.
    • Leave blank if not clustered or load balanced
  • database.username – the database username. This value must be provided in uppercase only
    • For example, if the database user name is "Client_Dev_01" then you must update this value as "CLIENT_DEV_01"
  • database.userpassword – the database encrypted password
    • To encrypt the password, use the same encrypt.jar that encrypts the password in the file.
  • sisense.cubename  – the name of the ElastiCube, not including the .ecube extension.
    • This value is environment specific and can be any value that you wish
    • Having a hard time choosing a name, try matching your TeamConnect context root, use TEAMCONNECT_DEV, or similar
  • sisense.serverName – the fully qualified domain name of the server that hosts Sisense
    • You can also use 'localhost', '', or similar
  • sisense.buildRetryLimit – the allowed number of attempts to automatically install or sync the cube (due to an issue in Sisense, the first attempt often fails)
    • Recommended: 3
  • sisense.pluginLocation –  the location of the Sisense plugin folder, excluding the "metadata\translations" subfolder and in the path, use \\ in stead of \
    • for example, C:\\Program Files\\Sisense\\app\\plugins 
      • This parameter allows the autoCube to copy the .json file to the translations folder automatically. If the folder location is changed, this property needs to be updated. If this property is left blank, the autoCube will not copy the json file.
  • sisense.incrementalThreshold   the incremental Threshold limit in MB.
    • The default value is 45 MB. If the TeamConnect original table size is greater than 45 MB, the corresponding SI$ view is qualified for incremental.
    • # for example, if the J_INVC_LINE_ITEM table size is 100 MB, the SI$_LINEITEM will be incremental
  • -  YES if you want email notifications for failed builds, NO if you do not
  • - YES if you want email notification for successful builds,  NO if you do not. 


Provide the below values if you update "YES" for the and

  • email.recipient - the email of the recipient; If you want to send notifications to multiple recipients, separate the values with a comma
  • email.sender - a valid email address for the sender
  • email.server - the IP address of the email server

2. Place the oracle ojdbc6.jar / mssql java 8 (mssql-jdbc-7.4.1.jre8.jar) driver into autoCube_lib folder

3. Open a command prompt (or powershell) as an administrator.

4. Change the directory to the TeamConnect_BI folder that you extracted in step 1. This directory contains the TCBI_SchemaSync.bat file.

5. Execute TCBI_SchemaSync.bat. The ElastiCube is created, integrated into Sisense, and is now available for use.

  • Recommendation: Setup a scheduled task for TCBI_SchemaSync.bat that is disabled. Then, run the task from Task Scheduler

6. After cube is created, open the log file in the /TeamConnect_BI/autoCube_logs/ directory and check for any error keywords such as error and fail.

Sharing the ElastiCube with the Admin Account

Before the TeamConnect admin configures the integration, the ElastiCube needs to be shared with the Sisense administrator account user manually. You can share ElastiCubes through the Admin page of the Sisense Web Application.

To share an ElastiCube:

  1. In the Sisense Web Application, select Admin > Data Sources and then the menu button for the relevant ElastiCube.
  2. Click Share.
  3. Type and select the Sisense administrator account given to you by Mitratech. The information for this account is listed in the center of the window.
  4. Click Save.

Note: The following items pertain to configuring a high-availability configuration only.

  • For a high-availability environment, add the ElastiCube to an ElastiCube set, share both the individual ElastiCubes and the ElastiCube set with the appropriate Sisense administrator account, and then use the name of the ElastiCube set in the report integration.
  • If an ElastiCube is not secured by sharing it with the Sisense administrator account, the ElastiCube will always appear in the selection list when the dataset for a report is selected.

Configuring Single Sign-On

Sisense SSO is completly separate from TeamConnect SAML SSO and nothing relating to TCE SAML SSO should be referenced. See instructions below.

In order to embed dashboards, Single sign-on (SSO) must be configured and working. Single sign-on (SSO) is configured on the Admin tab in Sisense.

  1. Log into Sisense Web Application as an administrator.
  2. Click the Admin tab.
  3. In the navigation pane, click Single Sign-on.
  4. Enable SSO using the Single Sign-on Configuration toggle.
  5. Select the method.
  6. In the Remote Login URL, type the URL TeamConnect instance with the suffix of /sso, typically in the form:


    example (without the spaces):
    http://     TeamConnectDev/     sso
    https://       TeamConnectDev/     sso


    <ServerName> is the name of the TeamConnect server
    <Port> is the number of the port used to connect to the TeamConnect server's JVM Port
    <Context> is the context path for TeamConnect

    For a multi-tenant environment you can set the remote login URL to any URL or page as this user should never actually be used.

  7. Click Save.

Configuring Report Integration in TeamConnect

Integrating TeamConnect with an external report system requires the following steps:

Turning On Matter Level Security

Out of the box, Matter level security defaults to OFF upon installation of 6.3, i.e., anyone viewing a Dashboard will be able to see any Matter listed regardless of their TeamConnect security limitations. It is turned OFF because removing the security results in up to a 2x performance improvement. The best practice is to turn OFF matter security for analytical reports because it could cause perceived inaccuracies if security restrictions limit a user from seeing all the data. A Report Designer can manage some security concerns when building reports. If your organization requires Matter level security, execute the following script to turn it back ON.  Users with SQL access to the TeamConnect database can modify the matter level security.

If Matter Security is turned ON, it will stay ON after future upgrades. There is no need to manually reset it every time.

Please Note: enabling matter security on the ecube may significantly impact performance of the schema and data reloads.  It will also impact the aggregated values displayed in the dashboards.  For example, a chart that sums financial information will be limited to summing values for only matters that the user can access and may result in an inaccurate financial picture.  Mitratech recommends leaving security disabled and instead using dashboard design to mitigate security concerns.  If enabling security is desired, please consult with your Services or Support representative to discuss these impacts.

The following script should be run against the database where 'YES' is changed to 'NO'. This will cause the necessary security table to be built which will restrict Matters to be displayed only if the user has rights. Once the script is run, restart the TeamConnect appServer. 



After the script is executed, TCBI schemaSync has to be performed. Once the schemaSync completed, user/group sync for the Report Integration has to be run from TeamConnect. Instructions on how to trigger a schemaSync and a user/group sync follow. 

You can check the status of matter level security in TeamConnect GUI. Navigate to Admin > Admin Settings > Reporting > TCBI Information to check the status. 




Under TCBI Information section, the TCBI SECURITY is ON(If security is enabled) and OFF(If security is disabled).

Preparing the TeamConnect Instance

  1. After TeamConnect and Data Warehouse (if applicable) are installed and running correctly, open the file in the TeamConnect .WAR file and add the location of the Sisense server to the sisense.server.location property, including the http prefix and the port number. Redeploy the .WAR file.

        Example: https://Sisense_DNS_Entry or https://SISENSE_SERVER_FQDN:443
            ## Parameters for Sisense reporting connections
            ## The location(s) of the Sisense server (hostname:port).
                (for dns entries)
    (for server / non-dns entries)

    Use Midnight Commander or Total Commander to edit the file in the TeamConnect.WAR file (or) Unzip the TeamConnect.WAR file with 7-zip (not WinZIP), edit the file in a text editor and re-zip the file using zip encryption. Ensure that the new file is named as TeamConnect.WAR file.

    Replace the .WAR file with the new file at the location <Tomcat X.0 install dir>\webapps\ and redeploy the TeamConnect.WAR file as required for the environment hosting the installation.

    For a basic Tomcat installation on Windows, stop/restart the Tomcat service before/after removing the TeamConnect folders from <Tomcat X.0 install dir>\webapps and  <Tomcat X.0 install dir>\work\Catalina\localhost\.

    The restart will take a few minutes to redeploy and start the Team Connect webapp.  Any issues encountered during the deployment should appear in \Tomcat\logs\Catalina*.log. Once the restart is successful, user will be able to login to the TeamConnect as before.

  2. The below steps 3-6 are redundant now.  Navigate to Admin > Admin Settings > About > TeamConnect TCBI Report Integration 6.3 > Install
  3. In TeamConnect, click the Documents tab and select Top Level from the left pane.
  4. Click the System folder and then click the Report Integrations folder.
  5. Click New Folder and the name specifying the name of the integration you are adding. For the Sisense integration, the folder must be named Sisense and is case sensitive.
  6. Drop the appropriate .class files and .properties files into this folder. For example, for a Sisense integration:
    • SisenseReportAdapter.class
    • SisenseReportPortlet.class
    • SisenseReportTag.class
      Screenshot 2021-02-10 174044.png
  7. Going further if users want to upgrade the TCBI report integration automatically they need to run the below mentioned query.If not, the upgrade needs to be performed manually.



Assigning Reporting Privileges to Users in TeamConnect

A user must be assigned rights to the Report Integration tool in order to use reporting.  

To assign Report Integration rights:

  1. In TeamConnect, click the Admin tab and select a user.
  2. Click Tool Rights in the navigation pane and click the Edit button.
  3. Select Report Integration.
  4. Click Save and Close.

Designer and Viewer rights are assigned to users through Group rights.  

To assign Designer and Viewer rights to a group within TeamConnect:

  1. Search for a group and open it.
  2. In left navigation pane, click System Rights.
  3. From the View drop-down list, select Report.
  4. Click the Edit button.
    • To assign a Viewer rights, select View Report records (Legacy and New).
    • To assign Designer rights, select Create/Edit/Delete Reports (New).
  5. Click a save option.

Note: if you are updating the reporting rights of a new or existing user and you already have a TeamConnect Business Intelligence integration with Sisense configured, sync the users and groups with the integration. However, if you are in the process of configuring the integration, you do not need to sync at this point. 

Adding an Integration to TeamConnect

In TeamConnect, click Tools and select Report Integration.

  1. In the Report Integrations table, click the Edit icon in the Actions column for the Sisense integration.
  2. Type the sisense admin user password, SharedSecret, Sisense admin username, ClientID (arbitrary field), Environment (arbitrary field), ElastiCube name found in the the file.
  3. Note that you must re-type any secured fields such as Password or SharedSecret when you are updating an integration.
  4. Click Add Report Integration.
    Note: Upon initial setup of the report integration, the Client ID and Environment are configured and a new Sisense group is created with all the users in the TeamConnect instance. This group (<Environment>_<ClientID>) allows ElastiCube access for TeamConnect users. This information is used by TeamConnect to create a unique identifier for users on the report server and must not be changed after the initial saving of the settings in the Report Integration Tool.
  5. Click the Sync User and Groups button.

Troubleshooting the Report Integration Tool

Adding the Sisense Admin to the Tenant Group

To enable report sharing with the Sisense admin, add the admin to the Sisense group that contains all the TeamConnect users.

  1. Log into Sisense Web Application as an administrator.
  2. Click the Admin tab.
  3. In the navigation pane, click Groups.
  4. Find the group with the <Environment>_<ClientID> that was created  when the report integration was added.
  5. Click the Edit (pencil) icon.
  6. Add the the Sisense administrator account given to you by Mitratech.
  7. Click Save.

Configuring Syncs

Synchronizing Data between TeamConnect and Sisense

During the initial integration setup between TeamConnect and Sisense, Admin Users can schedule the task for automatic refresh rather than doing it manually. 

Schedule schema syncs on a regular basis for maintenance of the system, even if no structural changes are made (changing/adding objects & fields), to ensure deletions and updates are handled properly.

A data reload loads the data from the database as a whole and it takes hours to complete, but reporting functionality is still available during the data reload.


Important: Changing a user's reporting rights and deleting users must be done in TeamConnect so that they are synced in Sisense correctly. Do not delete or modify rights from Sisense; changes made in Sisense will not be reflected in TeamConnect.

To schedule automatic sync at regular intervals:

  1. Schedule the TCBI_DataReload.bat task using a scheduler such as Microsoft Windows Task Scheduler.
  2. Because the data reload and the schema sync tasks cannot run at the same time, configure the scheduler to not run the task if the other job is running.

To display the most relevant and recent information or if the connection between the database and the ElastiCube has been lost, you can manually sync the data.

To manually sync the data for reporting:

  1. Make sure a data or schema sync is not already running.
  2. On the Sisense server, open a command prompt as an administrator.
  3. Change the directory to the AutoCube folder that you extracted when creating the ElastiCube. This directory contains the TCBI_DataReload.bat file.
  4. Execute TCBI_DataReload.bat. The records in the database are loaded into the ElastiCube and are now available for reporting.
  5. After cube is created, open the log file in the /TeamConnect_BI/autoCube_logs/ directory and check for any error keywords such as error and fail.

You can now run a report to display the updated records.

Synchronizing Semantic Schema between TeamConnect and Sisense

Note: During the initial configuration of the integration between TeamConnect and Sisense, you do not need to manually sync the schema but you do need to schedule the task for automatic sync.

A schema sync loads the database schema updates (including new, modified, or deleted custom fields and objects) from the TeamConnect database into the ElastiCube. The schema can take hours to complete.

Before scheduling or running a sync, take note of the following:

  • Schedule schema syncs during non-business hours to prevent the following issues:
    • Changes made to the database during the schema sync can cause the sync to fail and render the ElastiCube unusable.
    • Reporting functionality is not available during the schema sync and users will receive an error. 
  • Never have two or more Elasticubes syncing against the same database at the same time.

Scheduling a Schema Sync

To schedule automatic schema sync at regular intervals:

  1. Schedule the TCBI_SchemaSync.bat task using a scheduler such as Microsoft Windows Task Scheduler.
  2. Because the data reload and the schema sync tasks cannot run at the same time, configure the scheduler to not run the task if the other job is running.

Turn ON/OFF System Fields

Users have the ability to remove the system fields from the ElastiCube by editing the script having the list of system fields to remove, then run the schema sync.

Once the schema sync is successful, the system fields are removed and will not reflect in the dashboard while creating the reports.

Note: To keep the system fields/tables to be reportable, please comment out the code that removes the particular field/table and run the Schema Sync.

Script location:

User can find the script file named "500_RemoveTablesColumns.sql" in the below folder path:

Go to TeamConnect_BI directory and navigate to either

scripts > mssql > install > Customization (or)

scripts > oracle > install > Customization

turn on off system table.PNG

Including or Removing a Custom Object


  • Starting in TeamConnect Business Intelligence 6.1, you can use the Setup tool to include or remove custom objects. If you are using 6.0, refer to the instructions in this link.
  • Account Budget and Spend, Matter Cost Center, and Invoice Cost Center reportable objects are based on the Financial Module. Clients that are on Legal Module but without Financial Module won't be able to use these three objects. If similar objects are needed, contact Professional Services for assistance on making these objects reportable.
  • Matter Cost Center, Invoice Cost Center, Invoice Vendors, and Line Item Timekeepers have been customized using views. Therefore, these fields cannot be removed from reporting because they are built-in to the integration. If the Matter object is reportable, the Matter Cost Center automatically will be reportable. You can only remove the Matter Cost Center object from being reportable. Removing this field from reporting allows you to report on Matter Cost Center without its custom relation to Matter. If the Matter Cost Center, Invoice Cost Center, Invoice Vendors, or Line Item Timekeepers need to be removed from being reportable when the Matter object is reportable, contact Mitratech Support for instructions on how to disable these fields from being reportable.

Including or Removing Objects and Fields from Reporting

Administrators can include or remove entire custom and system objects from TeamConnect Business Intelligence reporting so that reports display the most relevant information and data reloads are faster.

  • If an object is reportable, all fields associated to the object are reportable, except fields explicitly designated as removed from reporting.
  • If a parent object is removed from reporting, then all of its child objects or fields are removed from reporting, regardless of the reporting designation for the child or field. The eCube will not create fields that do not already eixst, so if you want to report on a specific child object, the parent object must be included in reporting.
  • Business Intelligence does not differentiate between child and embedded objects. Thus, all child and embedded objects will be added to the ElasticCube and be reportable.

Custom objects are removed from reporting by default except the objects in the following table. Admins can change this setting in the Setup tool. By default, the following objects are reportable:

Code Type Object
ACCT System Account
CONT System Contact
INVC System Invoice
LNI$ System Line Item
ACPT  OOTB Custom Advice and Counsel Involved Party (Legal)
ADCO  OOTB Custom  Advice and Counsel (Legal)
ALLE  OOTB Custom  Allegation (Legal)
ASSE  OOTB Custom  Liability Asset (Legal)
AWAR  OOTB Custom  Award (Legal)
COAC  OOTB Custom  Corrective Action (Legal)
COCE  OOTB Custom  Dispute Cost Center (Legal)
DAMA  OOTB Custom  Damage (Legal)
DISP  OOTB Custom  Matter (Legal)
INPA  OOTB Custom  Matter Involved Party (Legal)
NEGO  OOTB Custom  Negotiation (Legal)
PART  OOTB Custom  Coverage Involved Party (Legal)
PROV  OOTB Custom  Matter Provision (Legal)
RADC  OOTB Custom  Related Advice and Counsel Matter (Legal)
RTAC  OOTB Custom  Related Advice Matter (Legal)
SANC  OOTB Custom  Sanction (Legal)
TCOC  OOTB Custom  Transaction Cost Center (Legal)
TENA  OOTB Custom  Lessee (Legal)
TERM  OOTB Custom  Matter Term (Legal)
TRAN  OOTB Custom Coverage (Legal)
VIOL  OOTB Custom  Violation (Legal)
MTR$  OOTB Custom  Matter (Essentials)
INP$  OOTB Custom  Matter Involved Party (Essentials)

(Objects that are provided with TeamConnect and its modules are considered “out-of-the-box” (OOTB) custom objects.)


  • On average, adding an additional custom object to be reportable will add ~3 minutes to the schema sync and ~1 minute for each category that the custom object has. The time it takes to load the data into the ecube depends on the size of the table in the database.
  • If you have removed an object from reporting and that object is used in a report widget, the widget will return an error stating that the field no longer exists. Remove the non-reportable field manually by editing the widget.
  • If you are upgrading TeamConnect, before any modules are installed, the admin needs to manually make the module’s “out-of-the-box” (OOTB) custom objects reportable or run a specifically provided script in order for the items to be reportable.
  • When an object has the Remove from Reporting (Business Intelligence) checkbox selected, the object is only removed from TeamConnect Business Intelligence reports; Native reports with Data Warehouse are not changed. However, custom fields are now controlled separately. There are two options in Setup to include a field in Reporting - Include in Reporting (Data Warehouse/Native Reports) and Include in TCBI Reporting (ecube/Dashboards). A field must be set to YES for Include in Reporting to be able to also Include in TCBI Reporting

To add or remove an object from reporting:

  1. Click Setup and select Object Definitions from the Go to… menu.
  2. Select the object and click the General tab.
  3. To exclude the object from dashboard reporting, select the Remove from Reporting (Business Intelligence) checkbox. To include the object in reporting, clear the Remove from Reporting (Business Intelligence) checkbox.
  4. Click OK. After the next schema sync, the object will be included or removed from TeamConnect Business Intelligence reporting but will still be included in Native reports using Data Warehouse.

To add or remove a custom field from reporting:

  1. Click Setup and select Object Definitions from the Go to… menu.
  2. Select the object.
  3. On the Custom Fields tab, select the appropriate fields and click Edit Selected. You will now have the option to Include in Reporting (Data Warehouse/Native reports) and Include in TCBI Reporting (ecube/Dashboards). You must select YES for Include in Reporting to also Include in TCBI Reporting but a field included in Reporting does not have to be included in TCBI Reporting. Note: Best practice is to minimize the fields included in TCBI Reporting to only what you need in order to optimize performance.
  4. Click OK. After the next schema sync, the field will be included or removed from both TeamConnect Business Intelligence reporting and Native reports using Data Warehouse.
  5. If you are adding new custom fields, please note that the Include in TCBI Reporting option will not show up unless you have selected YES for Include in Reporting.

Manually Running a Schema Sync

To display the most relevant and recent information or if the connection between the database and the ElastiCube has been lost, you can manually sync the schema. You can also schedule automatic schema sync on an ongoing basis. If a reportable field or object is deleted and then re-added, a schema sync is needed to prevent the data reload from failing.

Note: During the initial configuration of the integration between TeamConnect and Sisense, you do not need to manually sync the schema but you do need to schedule the task for automatic sync.

To manually run a schema sync for reporting:

  1. Make sure a data or schema sync is not already running.
  2. Make sure that no one will be modifying the TeamConnect database during the schema sync. Changes to the database during the sync can cause the build to fail and render the ElastiCube unusable.
  3. On the Sisense server, open a command prompt as an administrator.
  4. Change the directory to the AutoCube folder that you extracted when creating the ElastiCube. This directory contains the TCBI_SchemaSync.bat file.
  5. Execute TCBI_SchemaSync.bat.
  6. After cube is updated, open the log file in the /TeamConnect_BI/autoCube_logs/ directory and check for any error keywords such as error and fail.

You can now run a report to display the updated records.

Set Time Zone for ElastiCubeEdit section 

Users have the ability to modify the default time zone for all the time zone dependent dates in the eCube by defining the time zone in the script, then run the schema sync.

Once the schema sync is successful, the new time zone is applied for all the time zone dependent dates in the eCube.

Note: By default, the ElastiCube Time zone is set to the TeamConnect system Time Zone.

Script location:  

User can find the script file named "510_SetDefaultTimeZone.sql" in the below folder path:

Go to TeamConnect_BI directory and navigate to either

scripts > mssql > install > Customization (or)

scripts > oracle > install > Customization


Optimizing Performance

For optimal TeamConnect Business Intelligence performance and lower synchronization,  (and sync updates), we recommend:

  • Only include the objects and fields that users need in their reports. Each additional object will add around 3 minutes to the sync, on average small object. For more information, see Including and Removing Object and Fields from Reporting.
  • Limit the number of users with reporting rights to less than 100. This number includes both view only and designer users combined.
  • Google Chrome is the fastest browser. Mozilla Firefox and Microsoft Internet Explorer may be slower to load.
  • Limit the number of widgets per dashboard to 6.
  • Watch out for many-to-many relationships and queries.

Embedding Reports on Home Pages and Portal Panes

TeamConnect Admins and Solution Designers can embed reports into customizable home pages, allowing users to quickly view reports as soon as they log in, without opening the Reports tab. For more information, see Creating Home Pages and Portal Panes.

When embedding reports in portal panes:


View a list of Known Issues in our release notes for a list of known limitations related to TCBI and TeamConnect. If you cannot view the page please reach out to Support.


Why do I receive an error when trying add an ElastiCube to the report integration?
Confirm that the ElastiCube is shared with Sisense admin user.

Why is TeamConnect not connecting with Sisense?

  • Verify that the Sisense web server is running.
  • Verify the ElastiCube Manager is running.
  • Ping the machines from the TeamConnect server to make sure the server is available from the TeamConnect server.
  • Check the logs and make sure the shared secret, admin user, and password are correct.
  • If the logs show this error when configuring the report integration using the Report Integration Tool in TeamConnect:
    "Caused by: java.lang.LinkageError: loader constraint violation: when resolving method 'org.springframework.http.client.HttpComponentsClientHttpRequestFactory.<init>(Lorg/apache/http/client/HttpClient;)V' "
    Verify that you do not have a conflicting version of the HttpClient JAR in System\Libraries. If so, remove it and retry.

Why do I receive a message stating that it looks like I'm lost?
The system may be upgrading or installing licenses. Try again later.

What can I do if I'm having trouble accessing Sisense through TeamConnect?

The Sisense Web Admin can bypass SSO and directly access the Sisense machine using this URL template: http://localhost:8081/app/account#/login

The variables in this URL are the SSL, Port number and localhost. Make sure to replace these variables to reflect your Sisense instance.


Why isn't a user appearing in Sisense?

Users must have an email address in TeamConnect in order to integrate with Sisense correctly. If a user with reporting rights in TeamConnect does not have an email address, the user will not have an account created in Sisense.  If a user does not have an email address, the integration will create a "dummy" email address for the user and log an error in the user/group sync. You should create a validly formatted primary email address for the contact record for the user and the "dummy" email address will be replaced with the new email address after a user/group sync occurs.

Why aren’t users created in a second ElastiCube when they were already created in one?
Each TeamConnect user with an automatically created Sisense account must have a unique email address per Sisense server. This means that an on-premise client with a single Sisense server cannot have a TEST ElastiCube  and a PROD ElastiCube with users with the same email. The second time an email account is used, the user will not be created automatically on the Sisense server.
The fix is to have separate Sisense servers for each TC instance in the environment (for example, one Sisense server for TEST and one for PROD.) (TC-16847)


Why are User/Group syncs failing?

Sisense validates email addresses using a standardized w3 format. Any email in TeamConnect must either be blank (in which case the integration assigns a properly formatted generated email address) or follow this format, or you will receive an error during User/Group sync.

ElastiCube Syncs and Builds

Why did Sisense fail when creating a new ElastiCube or rebuilding an existing one?

  • This issue may be caused by a possible caching issue in Sisense. Make sure that the ElastiCube was removed after the failed attempt, that the folder in which was created is deleted, and that it is not appearing on the Server Console Use the Sisense Server Console to stop and restart the Sisense server and try again. TC-18801, TC-19219
  • Note that the values in the file are case sensitive and an incorrect value can cause errors when a ElastiCube is built.
  • If you are manually building a cube, make sure you are running the command as an administrator. Verify that you have Admin privilege on your machine, otherwise you may still be running it as a non-privileged user.
  • If you are running low on RAM or receiving the error "Accumulative Changes Log Creation Failed Error Create Patch [The requested operation could not be completed due to a file system limitation ]", this may be due to the fact that Sisense saves temporary copies of the ElastiCube during the build on the C:\ drive in C:\ProgramData\Sisense\PrismServer\Patches.To move this location to another drive:
    • Using a text editor, open C:\ProgramData\Sisense\PrismServer\ElastiCubeConfiguration.xml.
    • On the second to last line, just before the </ElastiCubeConfiguration> closing tag add the the following text:
      where D:\ is the new patches location.
    • Restart the ElastiCubeManagementService.
    • If the problem still occurs, navigate to the Sisense Server Console preferences and deselect Compress on build or defragment the affected drive.

Why are my syncs failing?

  • Make sure the server has enough disk space.
  • Make sure the server has enough available RAM.
  • Make sure that the sisense.includeObject property in file in the TeamConnect_BI directory on the Sisense server does not include any objects that are not reportable (for example, CSM$ is not reportable).
  • Because the data reload and the schema sync tasks cannot run at the same time, configure the scheduler to not run the task if the other job is running.
  • Make sure no custom objects in TeamConnect have a Unique Code starting with numeric value.
  • Make sure a reportable field has not been deleted and then re-added. If this happens, perform a schema sync before performing a data reload.
  • If you are manually syncing a cube, make sure you are running the command as an administrator. Verify that you have Admin privilege on your machine, otherwise you may still be running it as a non-privileged user.

After I updated a report integration, why can’t I sync the data?
When updating the report integration in the Report Integration tool, re-type any hidden field such as Password or SharedSecret to make sure that the integration saves the field correctly.

Why am I receiving this error when attempting to sync the ElastiCube:

  • ERROR D:\ElastiCube.xml (The system cannot find the file specified)
    • Use localhost or (loopback address) as the Sisense host instead of the IP address of the server on which you are running the sync.
  • GetTableSchema failed: unknown result
    • Check that the database user name is specified in all uppercase if using an Oracle data source.
  • ORA-00600: internal error code, arguments: [kkogbro: no kkoaptyp], [0], [], [], [], [], [], [], [], [], [], []
    • Option 1: The best way to resolve this corruption is to restore a copy of the affected datafile from before the error and to recover the database so these changes are applied to the restored datafile and brought forward to the current time. This action is possible only if the archivelog feature for your database is enabled. (Enabling this feature ensures that all changes to the database are saved in archived redo logs.)
    • Option 2: Create a copy of the corrupted schema into a new schema using Oracle’s export/import feature.

How do I regenerate a Sisense catalog?

Sisense requires some free space on the C: drive, otherwise the catalog can become corrupted. To recover a catalog:

  1. Open the Start menu or Task Manager and search for Services.
  2. Stop the ElastiCubeManagementService service.
  3. Open C:\ProgramData\Sisense\PrismServer and rename the ElastiCubeCatalog to ElastiCubeCatalog1.
  4. Restart the ElastiCubeManagementService service. Starting the service may take longer than normal as Sisense creates a new catalog folder.

How do I clear the RabbitMQ queue?

The data cache of RabbitMQ can fill the drive. The lack of disk space can cause all cubes to detach from Sisense and all builds to fail. To clear the RabbitMQ queue:

  1. Open a command prompt as an administrator.
  2. Navigate to the folder C:\Program Files\Sisense\Infra\Rabbitmq\sbin.
  3. Type the following command: rabbitmq-plugins enable rabbitmq_management
  4. If you receive an error, restart the pulse/broker service and proceed to the next step.
  5. Navigate to "http://localhost:15672" (on the server) and log in with the Username: guest and Password: guest.
  6. Open the Queues tab and if you see 0 messages, the issue is not related.
  7. If you see many hanging massages, clear the massages by clicking Queue
  8. Click Purge and repeat until there are no more in the queue.


Why are the widgets showing a $0 value for budget allocated?
By design, the "Account Total Allocated" field pulls budget data from the "Fees" and "Expenses" level. If you budget on a different level, you will see these values return as $0 in your widgets even when you know there is a budget allocated. If you need to build reports on a different level budget; i.e. Vendor level or Matter level, contact Services to run the customized script that will pull "Account Total Allocated" from the correct location.

Why does nothing appear on the Reports tab?
If you are using SSL, make sure that both TeamConnect and Sisense are configured using SSL. 

Why is there a null record on my report?
An addition dummy/null record is created on the core system entities to support outer joins in Sisense. This record has blank values across the table except for system_modified_on. You can avoid this record on your reports by adding a filter on one of the entity fields:
1.    In the report, select the entity field in the filters (for example, Contact Name)
2.    On the list of values that appears, deselect N/A values to filter out the null values. 

Why isn't data appearing on my report?
If one of the ElastiCubes in an ElastiCube set is showing “Invalid Status” due to a failed schema sync, data will not appear in the reports that involve that ElastiCube set. Run a schema sync on the failed ElastiCube.

Duplicate reports on the same dashboard can also cause a report to fail. In rare instances, a "ghost widget" may appear on a dashboard, which is a duplicate but hidden widget. It can be removed by editing the .dash file of the dashboard or deleting it in the Application Database. 

Why are deleted records still appearing in reports? Why is outdated information shown on the report?

Schedule schema syncs on a regular basis for maintenance of the system, even if no structural changes are made (changing/adding objects & fields), to ensure deletions and updates are handled properly.

Why are newly created users unable to view reporting data even after schema sync?

TeamConnect Business Intelligence components must be on the same minor release. For an x.y.z release, the components must match the x.y version. For example, for a TeamConnect 6.1.2 release, the report adapter must be at 6.1.z and the BI code must also be at 6.1.z.


Why are dates in the reports off by one day as compared to the value you see in the TeamConnect Ui?

Sisense gets the data directly from the database, which is stored in GMT time. Convert any custom fields from timezone dependent into timezone independent (via script), then perform a schema sync to update the data.

Version Information


How do I find the version number of my TeamConnect Business Intelligence installation?

In the TeamConnect_BI directory where the file is located, open the version.txt file.

Updating an Integration

In rare instances, you may need to update the report integration. For example, the TeamConnect instance might need to be integrated with a different ElastiCube, or the ClientID/Environment  might need to be changed.


To update an integration:

  1. In the Sisense Web Application, delete all the existing users for the original TeamConnect environment. Otherwise, a user duplicate email issue will occur.
  2. In TeamConnect, click Tools and select Report Integration.
  3. In the Report Integrations table, click the Edit icon in the Actions column for the Sisense integration.
  4. Type your updates in the appropriate fields.
  5. Re-type any secured fields such as Password or SharedSecret. Even though the fields appear to have stored hidden values, the values must be re-entered manually.


How can I configure the reporting logs?
In TeamConnect, on the Admin tab, click Logging and then System. Here, you can change the logging level for Reports.

Common data and log file paths

    Prism Server logs: C:\ProgramData\SiSense\PrismServer\PrismServerLogs

    Sisense Web log: C:\ProgramData\Sisense\PrismWeb\Logs

    ElastCube build logs: C:\ProgramData\SiSense\PrismServer\ElastiCubeProcessLogs<YourElastCubeName>

    MongoDB: C:\ProgramData\Sisense\PrismWeb\Repository\DB



Creating Separate Admin Accounts on Sisense

Each TeamConnect instance requires its own Sisense administrative account.

In order for reports to appear on portal panes, the TeamConnect user has to share the report with their admin. Since a single Sisense Server can have shared tenancy, you can create a separate Sisense Admin for each TeamConnect instance so that the reports can be shared with the appropriate Admin.

To add a new admin account: 

  1. On the Admin tab in Sisense, click the + User button.
  2. Type the user's information in the appropriate fields.
  3. In the Role drop-down list, select Admin.
  4. To set the password, toggle the Define Password option to ON and enter a password. If you enter a password for the admin, the system does not notify the admin of the password; notify the admin directly.
  5. Click Save. The admin then receives an email from Sisense that redirects the user to activate their account.
  6. Add the Admin to the tenant group.

Removing Parts of a Reporting Integration

Uninstalling an ElastiCube

To uninstall an ElastiCube, run the TCBI_Uninstall.bat script from the original installation files. This script uninstalls the ElastiCube and removes all related objects from the TeamConnect database, but does not remove any object related to the TeamConnect instance.

The TCBI_Uninstall.bat file can be run as described in the above instructions. In version 6.2.1, the uninstall contains 2 additional files: TCBI_UninstallECube and TCBI_UninstallDBObjects

TCBI_UninstallECube can be used to delete the eCube but keep the database objects. One scenario the TCBI_UninstallECube is used is when the eCube has corrupted or missing tables or columns - the TCBI_UninstallECube and then TCBI_SchemaSync can be run to recreate the eCube from scratch.

TCBI_UninstallDBOjects can be used to drop the database objects but keep the eCube. One scenario the TCBI_UninstallDBObjects is used is when the database object is corrupted but the eCube is working well. Running TCBI_UninstallDBObjects will fix the database objects and then TCBI_SchemaSync to refresh and the rebuild the database object, and refresh the eCube. 

Removing the Plugins

To uninstall the Sisense plugins and email templates:

You must have administrative access/credentials to complete this process. 

  1. Open your Control Panel, navigate to Programs, and select Uninstall a Program.
  2. Find Mitratech + TeamConnect Business Intelligence, select it, then click Uninstall.



3. Follow the command prompts as they appear to successfully uninstall the plugin. First, ensure that the file is uninstalling from the correct location, then click Next.


4. Enter your administrator credentials, then click Uninstall

5. Click Finish in the last uninstall prompt.


A success message should appear after the program is successfully uninstalled. 

Removing Related Objects in the Database

You can remove objects related to the ElastiCube from the TeamConnect database without removing the ElastiCube. This script drops all all the tables, views, functions, mviews, and procedures which support the creation and maintenance of the ElastiCube. The script will not remove objects related to the TeamConnect instance.


To remove related objects in the TeamConnect database:

  1. Using your preferred database tool, make a backup of your TeamConnect database.
  2. Login to your query tool as an administrative user.
  3. In the TeamConnect_BI folder from the original installation files that were extracted during installation, open the 040_DropIfExist.sql file.
  4. Run the SQL script.

Removing a Sisense or Data Warehouse Integration

If both Sisense and Data Warehouse are installed and one of them is removed, run wh_install/schemasync on the remaining reporting integration server in order to recreate the indices.