command cdb_syncPartial pInputA


Summary

This command syncs specified records from a single table in a single direction.

Inputs

API Version

Examples

local tInputA, tRecordIDList

# Table name: clients
# tRecordIDList: variable that contains a line delimited list of recordIDs
# Source: cloud or local
# PreserveTarget: true or false

put tRecordIDList into tInputA["cdbRecordID"]
put "clients" into tInputA["cdbTableName"]
put "local" into tInputA["settings"]["source"]
put true into tInputA["settings"]["preserveTarget"]

cdb_syncPartial tInputA

# All records in tRecordIDList on the cloud will now match what is found locally.