The app has 1 as handle.
The client sends:
{
"jsonrpc": "2.0",
"id": 2,
"method": "GetViewDlgSaveInfo",
"handle": 1,
"params": []
}
The engine returns:
{
"jsonrpc": "2.0",
"id": 2,
"result": {
"qReturn": {
"qPos": {
"qLeft": 0,
"qTop": 0,
"qWidth": 0,
"qHeight": 0
},
"qCtlInfo": {
"qInternalView": {
"qTables": [
{
"qPos": {
"qLeft": 1132,
"qTop": 504,
"qWidth": 100,
"qHeight": 78
},
"qCaption": "TempUnits"
},
{
"qPos": {
"qLeft": 710,
"qTop": 320,
"qWidth": 167,
"qHeight": 197
},
"qCaption": "GolfCourse"
},
{
"qPos": {
"qLeft": 670,
"qTop": 534,
"qWidth": 100,
"qHeight": 95
},
"qCaption": "GolfCourse Details"
},
{
"qPos": {
"qLeft": 524,
"qTop": 415,
"qWidth": 100,
"qHeight": 129
},
"qCaption": "GolfCourseMeasurements"
},
{
"qPos": {
"qLeft": 890,
"qTop": 424,
"qWidth": 100,
"qHeight": 197
},
"qCaption": "MonthlyWeather"
},
{
"qPos": {
"qLeft": 946,
"qTop": 259,
"qWidth": 100,
"qHeight": 95
},
"qCaption": "AvgTempRangeMatch_C"
},
{
"qPos": {
"qLeft": 595,
"qTop": 274,
"qWidth": 100,
"qHeight": 95
},
"qCaption": "AvgTempRangeMatch_F"
},
{
"qPos": {
"qLeft": 596,
"qTop": 675,
"qWidth": 100,
"qHeight": 95
},
"qCaption": "AvgRaitingRangeMatch"
},
{
"qPos": {
"qLeft": 1017,
"qTop": 496,
"qWidth": 100,
"qHeight": 95
},
"qCaption": "AvgYardageRangeMatch"
},
{
"qPos": {
"qLeft": 449,
"qTop": 675,
"qWidth": 100,
"qHeight": 95
},
"qCaption": "AvgSlopeRangeMatch"
},
{
"qPos": {
"qLeft": 890,
"qTop": 675,
"qWidth": 100,
"qHeight": 95
},
"qCaption": "AvgParRangeMatch"
},
{
"qPos": {
"qLeft": 449,
"qTop": 274,
"qWidth": 100,
"qHeight": 95
},
"qCaption": "AvgGreenFeeRangeMatch"
},
{
"qPos": {
"qLeft": 872,
"qTop": 93,
"qWidth": 100,
"qHeight": 129
},
"qCaption": "Translation"
},
{
"qPos": {
"qLeft": 857,
"qTop": 564,
"qWidth": 190,
"qHeight": 44
},
"qCaption": "Language_Select"
},
...
{
"qPos": {
"qLeft": 856,
"qTop": 211,
"qWidth": 100,
"qHeight": 44
},
"qCaption": "INL667B"
}
],
"qBroomPoints": [],
"qConnectionPoints": [],
"qZoomFactor": 1
},
"qSourceView": {
"qTables": [],
"qBroomPoints": [],
"qConnectionPoints": [],
"qZoomFactor": 1
}
},
"qMode": 0
}
}
}
The internal mode viewer is set (qMode is 0) and the list of tables is returned in qTables. The position of each table in the data model viewer is returned.