Creating templates and scopes

hs-caution

Do not copy a provisioned spoke database for use on other devices.  Inconsistent sync results will occur as the hub database identifies the data each spoke database has already synced.

All provisioning and deprovisioning must be completed through the SYNC Add-in to ensure that all objects are created and removed correctly.

<< Click to Display Table of Contents >>

Navigation:  SYNC Add-in > Setup >

Creating templates and scopes

hs-caution

Do not copy a provisioned spoke database for use on other devices.  Inconsistent sync results will occur as the hub database identifies the data each spoke database has already synced.

All provisioning and deprovisioning must be completed through the SYNC Add-in to ensure that all objects are created and removed correctly.

There are three types of provisioning:

Template

Remote

Local

Template

A template defines tables that will be included in a scope and the filter type that will be applied (i.e. none, division or project).  Designing these requires an in-depth knowledge of the database structure and inter-dependencies of objects to avoid potential conflicts.  

Sync_Provision_Template_Add

Considerations include:

How will the system be filtered?

How many templates will there be?

Which tables will be included in each template?

Have we added all the tables required?

Have we assigned tables to the template with the equivalent filters?

Have we duplicated the same table in multiple templates?

Are the tables in the correct order to avoid referential constraint conflicts?

Are the data types correct?

Designing a template takes the most time, as there are many ways that the synchronization system can be configured depending on the tables and filters that are included.

Templates only need to be defined once and are reused whenever a scope is defined.

Remote

A remote scope is defined by selecting a template and setting the filter values that will be passed to the template.

Sync_ScopeManager_Remote_Provision_Add

Local

A local scope is provisioning by selecting an existing remote scope, with all settings relating to the remote scope created locally.

Sync_ScopeManager_Local_Provision_Add

noteNote

Initial template, remote scope and local scope provisioning adds tracking tables, triggers, types and stored procedures to each database to maintain a history of changes to any given record in a table.  


hmtoggle_arrow1How To: Provision a template

hmtoggle_arrow1How To: Provision a remote scope

hmtoggle_arrow1How To: Provision a local scope