Nodejs command line scripts to import and export json nodes and binary attachments from Cloud CMS repositories.
First run: npm install
Export:
Export defintions and content instance records from a Cloud CMS project branch
connect to Cloud CMS and list available definition qnames',
},
{
desc: 'node cloudcms-export.js --list-types'
},
{
desc: '2. export definitions and content records by qname:',
},
{
desc: 'node cloudcms-export.js --definition-qname "my:type1" "my:type2" --include-instances --folder-path ./data'
},
{
desc: '3. export a list of nodes based on a user defined query:',
},
{
desc: 'node cloudcms-export.js -y ./myquery.json --folder-path ./data'
}
]