How the syncing works with the template? RRS feed

  • Question

  • Hello, 

    I am provisioning the Sync with SqlSyncScopeProvisioningType.Template for dynamic filtering parameter-base. For passing the customize filtering, I need to pass the parameter to the config like:

    If tableProvision.Tables("CaseBase") IsNot Nothing Then
                                tableProvision.Tables("CaseBase").FilterClause = " [side].DynamicCaseForm = 'DynamicCaseForm6' AND [base].OwnerUserID = @OwnerUserID "
                                Dim param As New SqlParameter("@OwnerUserID", SqlDbType.NVarChar, 36)
                            End If

    But it's need apply with the Template instead of SqlSyncScopeProvisioningType.Scope

    For make the filtering works, I need to provisioning with the scope. Here is the method that I am ref:


    I have to customize the provider, on this class, I have Me.ScopeName = scopeName. 

    How how I can reach  my goal with an existing SqlSyncScopeProvisioningType.Template. Is it auto generate the score then?

    Thursday, June 14, 2018 12:10 PM