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 copythemesRequired | Argument | Description |
---|---|---|
Yes | --m model | Specifies 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 file | Specifies 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 copyqueries | Specifies whether to export any saved queries, where
copyqueries is one of the following:
|
No | --ct copythemes | Specifies whether to export any themes with the schema.
|
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