Sync Projects
Introduction
Projects that are downloaded from TQLStudio to the local version of TQLConsole can be edited (at either location) and data will be kept in sync. Sync is always bi-directional.
- Origin of a project is always TQLStudio in order to keep the contents in sync with local version of same project.
- If a project is created locally on TQLConsole, it is recommended to export the zip file and import it into TQLStudio so that future versions can be kept in sync.
- Sync operation is always bi-directional with the initial connection originating from from local TQLConsole i.e. the connection is never initiated from TQLStudio to your local TQLConsole.
- If the TQLConsole goes offline (no internet connection) that data is synced whenever the connection is restored.
What Project Content is kept in Sync?
Models and Queries part of the content is currently kept in sync. If you happen to create new instances of data on deployed project, the data is not kept in sync. Data synchronization is normally achieved using TQL Cluster Feature.
Manual Vs Automatic Sync
There are two modes of sync operations
a) Manual : It is user's responsibility to perform sync and look for any changes.
To start the Sync simply click on "Sync" under project settings from the given project dashboard page.
- Make changes to model or queries on TQLConsole to one of the downloaded projects.
- Starting Sync from TQLConsole
- Once the data is synced, you can refresh same project on TQLStudio and you will be notified when the update occurred.
- If there are no changes to be made, pressing sync will display message - "Project up-to-date with your project library".
b) Automatic: TQLConsole will periodically look for changes and keep the projects in sync.
The default configuration on TQLConsole is Manual. You can switch to Automatic by simply selecting "TQL Auto Sync" to On under project settings menu as shown below.
Once TQL Auto Sync is set to "On", all the updates happens automatically.