property: saves the output of a process to the Data Table Viewer list when added to a supported method
Key | Value(s) | Description |
---|---|---|
saveAs | "ModelName" | Saves output to Data Table Viewer as "ModelName". Use either saveAs or saveModelAs |
saveModelAs | "ModelName" | Saves output to Data Table Viewer as "ModelName". Use either saveAs or saveModelAs |
The following processes support saveAs:
- With Data Extraction: AnalyseSegments
- Without Data Extraction: CreateSegmentModel, GenProfile, IProfile, Overlap, Query Matrix
Saving a model from a report
Send an output directly to the Data Table Viewer from a calculated report using Export | Save Model option:
Note
If the Data Table Viewer report is already open, use the refresh icon to update the saved model list.
Saving a model in script
Create a scripting method from the following reports by using the Export | Send to Script option:
- Index Profile
- Profile
- Overlap Analysis
- Query Matrix
Add the saveAs method to the resulting JSON:
{
"method": "IProfile",
"project": "D5",
"compositeView": false,
"zeroCentric": false,
"limitRows": 0,
"saveAs": "IP New Model",
"includeEmptyIndexTargetRows": false,
"displayPrecision": 2,
"sortMode": 4,
"sortColumn": 2,
"fields": [
{
"type": "field",
"name": "customer.occupation",
"table": "customer",
"valueFilter": []
}
],
"dataSet": {
"logic": "or",
"name": "SubSet",
"strict": true,
"set": [
{
"logic": "or",
"stype": "TABLE",
"entity": "customer"
},
{
"logic": "and",
"stype": "FIELD",
"entity": {
"type": "field",
"name": "customer.children",
"table": "customer",
"valueFilter": []
},
"op": "=",
"values": [
"2"
]
}
]
}
}