command cdb_exportAsJSON pInputA


Summary

This command exports a complete table (local records only) as individual documents for each record in JSON format in a folder on the desktop.

Inputs

Outputs

(Main storage device) – Desktop/folder/documents.

API Version

Examples

local tInputA, tOutputA

#Table name: clients

#Input: tInputA
put "clients" into tInputA["cdbTableName"]

cdb_exportAsJSON tInputA

#Output: Folder with individual records written to the desktop. Folder name consists of "cdbTableName_cdbTableID". Records are named by their cdbRecordID.