contextgraph schema export

Exports a model.

Use the contextgraph schema export command to export a Context Graph model and its metadata, and optionally its queries and themes. If you do not specify a path to where you would like the model exported, the system export the model to the current working directory using the name you specify.

Usage

contextgraph schema export --m model --f file --cq copyqueries --ct copythemes
RequiredArgumentDescription
Yes--m modelSpecifies the name of the model you want to export.
Yes--p path(Deprecated) Specifies the path where you want to save the export folder. This path is relative to where you have installed the Spectrum Technology Platform server.
No--f fileSpecifies the path where you want to save the export folder. This path is relative to where you have installed the Spectrum Technology Platform Administration Utility.
No--cq copyqueriesSpecifies whether to export any saved queries, where copyqueries is one of the following:
true
Exports queries. This is the default setting.
false
Does not export queries.
No--ct copythemesSpecifies whether to export any themes with the schema.
true
Exports themes. This is the default setting.
false
Does not export themes.

Example

This example exports the schema for a model called Fraud_2015 to the GraphModels directory on the C drive.

contextgraph schema export --m Fraud_2015 --f C:\GraphModels --cm false --cq true -ct true