├── LICENSE
├── README.md
├── build
├── AAIExpressionBuilder.zip
└── archive
│ ├── AAIExpressionBuilder_0_1_0.zip
│ ├── AAIExpressionBuilder_0_2_0.zip
│ ├── AAIExpressionBuilder_0_3_0.zip
│ ├── AAIExpressionBuilder_0_4_0.zip
│ ├── AAIExpressionBuilder_0_5_0.zip
│ ├── AAIExpressionBuilder_1_0_0.zip
│ └── AAIExpressionBuilder_1_0_2.zip
└── src
├── AAIExpressionBuilder.js
├── AAIExpressionBuilder.qext
├── AAIExpressionBuilderStyle.css
├── definition.js
├── dialog-template.ng.html
├── schema.json
├── template.ng.html
├── templates
├── clusterscatter.json
├── combolinearreg.json
├── decomline.json
└── kpi.json
├── wbfolder.wbl
├── wizardList.js
└── wizards
├── kmeanscluster.json
├── linearregression.json
└── timeseriesdecomposition.json
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Steven Pressland
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # AAI Expression Builder
2 | The AAI Advanced Analytics Expression Builder is a Qlik Sense extension used to create advanced analytics expressions as master items and wrap these in to a prebuilt visualization. These visualizations use native chart types and can be edited either as a master item or un-linked and customized.
3 |
4 | [Watch an example on YouTube](https://www.youtube.com/watch?v=xw5sH7IKWco)
5 |
6 | ## How to get started?
7 | 1. Install the extension through the Qlik Sense QMC.
8 | 1. Create an application with the data to support your visualization
9 | 1. Drag the extension onto a sheet
10 | 1. In either edit or analysis mode, click the "Open Expression Builder" button
11 |
12 | ## How to create an advanced analytics visualization?
13 | 1. Select the Advanced Analytics method you wish to implement
14 | 1. Complete the required parameters
15 | 1. Select the master items you wish to create
16 | 1. Click "Preview Master Items"
17 | 1. The code which will be generated will appear in preview
18 | 1. Click "Create Master Items"
19 | 1. Click "Close"
20 | 1. Access the master items through the standard Qlik Sense interface
21 |
22 | ## Cleanup
23 | Because the extension is only required for application development, it should be deleted from the sheet after the visualizations have been generated. There is no dependency between the visualizations and extension after they are generated.
24 |
25 | This way the space on your sheet can be used for important insight.
26 |
27 | ## Properties Settings
28 | By default the extension will look for the datatype tags in the data model when listing fields for selection. In some cases, such as with dates which have not been correctly tagged on load fields may not show up. Use the _**"Show All Fields"**_ setting in the properties panel.
29 |
30 | ## More information
31 | See the WIKI for detailed information regarding this project.
32 |
33 | ## New Methods
34 | Please specify any new methods which would be of use in the GitHub issues.
35 |
--------------------------------------------------------------------------------
/build/AAIExpressionBuilder.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnalyticsEarth/AAIExpressionBuilder/40d467fcdb9ccd7c0a442107a215c22b60d0d5ad/build/AAIExpressionBuilder.zip
--------------------------------------------------------------------------------
/build/archive/AAIExpressionBuilder_0_1_0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnalyticsEarth/AAIExpressionBuilder/40d467fcdb9ccd7c0a442107a215c22b60d0d5ad/build/archive/AAIExpressionBuilder_0_1_0.zip
--------------------------------------------------------------------------------
/build/archive/AAIExpressionBuilder_0_2_0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnalyticsEarth/AAIExpressionBuilder/40d467fcdb9ccd7c0a442107a215c22b60d0d5ad/build/archive/AAIExpressionBuilder_0_2_0.zip
--------------------------------------------------------------------------------
/build/archive/AAIExpressionBuilder_0_3_0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnalyticsEarth/AAIExpressionBuilder/40d467fcdb9ccd7c0a442107a215c22b60d0d5ad/build/archive/AAIExpressionBuilder_0_3_0.zip
--------------------------------------------------------------------------------
/build/archive/AAIExpressionBuilder_0_4_0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnalyticsEarth/AAIExpressionBuilder/40d467fcdb9ccd7c0a442107a215c22b60d0d5ad/build/archive/AAIExpressionBuilder_0_4_0.zip
--------------------------------------------------------------------------------
/build/archive/AAIExpressionBuilder_0_5_0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnalyticsEarth/AAIExpressionBuilder/40d467fcdb9ccd7c0a442107a215c22b60d0d5ad/build/archive/AAIExpressionBuilder_0_5_0.zip
--------------------------------------------------------------------------------
/build/archive/AAIExpressionBuilder_1_0_0.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnalyticsEarth/AAIExpressionBuilder/40d467fcdb9ccd7c0a442107a215c22b60d0d5ad/build/archive/AAIExpressionBuilder_1_0_0.zip
--------------------------------------------------------------------------------
/build/archive/AAIExpressionBuilder_1_0_2.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/AnalyticsEarth/AAIExpressionBuilder/40d467fcdb9ccd7c0a442107a215c22b60d0d5ad/build/archive/AAIExpressionBuilder_1_0_2.zip
--------------------------------------------------------------------------------
/src/AAIExpressionBuilder.js:
--------------------------------------------------------------------------------
1 | define( [ "qlik",
2 | 'text!./template.ng.html',
3 | './definition',
4 | 'text!./dialog-template.ng.html',
5 | 'css!./AAIExpressionBuilderStyle.css',
6 | './wizardList',
7 | 'util',
8 | 'enigma',
9 | 'text!./schema.json'
10 | ],
11 | function ( qlik, template, definition, dialogTemplate, cssStyle, wizardList, Util, enigma, schema) {
12 | 'use strict';
13 | return {
14 | support : {
15 | snapshot: false,
16 | export: false,
17 | exportData : false
18 | },
19 | template: template,
20 | definition: definition,
21 | paint: function ($element,layout){
22 |
23 | layout.navmode = qlik.navigation.getMode();
24 | console.log($element);
25 |
26 | if(layout.navmode == 'analysis'){
27 | $("#launchButton").removeClass("hidden").addClass("hidden");
28 | }else{
29 | $("#launchButton").removeClass("hidden");
30 | }
31 |
32 | },
33 | controller: ['$scope','luiDialog', function ( $scope, luiDialog) {
34 | $scope.wizardList = wizardList;
35 | $scope.layout = $scope.$parent.layout;
36 | console.log($scope);
37 |
38 |
39 | /* This function opens the dialog window when the openWizard() function
40 | is called */
41 | $scope.openWizard = function(){
42 | luiDialog.show({
43 | template: dialogTemplate,
44 | input: {
45 | selectedKey: '',
46 | wizardName: '',
47 | showKey: false,
48 | wizardList: $scope.wizardList,
49 | appModel: $scope.component.model.app,
50 | layout: $scope.layout,
51 | isLoading: false,
52 | enableVizBuild: true,
53 | previewEnabled: false,
54 | buttonState: 0,
55 | buttonTitle: 'Preview Master Items',
56 | buttonIcon: 'view',
57 | warningMessage: ''
58 | },
59 | controller: ['$scope', function( $scope ) {
60 | console.log($scope);
61 |
62 | /* Get current Qlik App and field list */
63 | var app = qlik.currApp(this);
64 | app.getList("FieldList", function(reply){
65 | $scope.input.fieldList = reply;
66 | console.log(reply);
67 | });
68 |
69 | /* This utility function is called when conversion a written JSON
70 | path from a config template and returnin the required object
71 | in the template */
72 | $scope.objectByString = function(o, s) {
73 | s = s.replace(/\[(\w+)\]/g, '.$1');
74 | s = s.replace(/^\./, '');
75 | var a = s.split('.');
76 | for (var i = 0, n = a.length; i < n; ++i) {
77 | var k = a[i];
78 | if (k in o) {
79 | o = o[k];
80 | } else {
81 | return;
82 | }
83 | }
84 | return o;
85 | };
86 |
87 | /* Set the default tab and create the function which will allow for
88 | the tab to be changed in code */
89 | $scope.tabs = 'tab1';
90 | $scope.make_tab_active = function(tabid) {
91 | $scope.tabs = 'tab'+tabid;
92 | //console.log($scope.tabs);
93 | }
94 |
95 | $scope.make_tab_active(1);
96 |
97 |
98 | /* Prep the input list boxes that are used for parameter capture
99 | on the input form */
100 | $scope.input.idList = [];
101 | $scope.input.aggList = ['Count','Sum','Min','Max','Avg'];
102 | $scope.input.dateAggList = [
103 | {level:'Week', frequency:52},
104 | {level:'Month', frequency:12}
105 | ];
106 |
107 | /* Function called when the selected wizard is changed using the
108 | onscreen drop down */
109 | $scope.changeWizard = function(){
110 | //console.log($scope.input.selectedKey);
111 | //console.log($scope.input.selectedMethod);
112 | $scope.input.selectedKey = $scope.input.selectedMethod.index;
113 | $scope.input.showKey = true;
114 | //console.log($scope.input.selectedKey);
115 | $scope.input.wizardName = $scope.input.wizardList[$scope.input.selectedKey].name;
116 | $scope.loadUI($scope.input.selectedKey);
117 | };
118 |
119 | //When any of the measures and dimensions are de-selected we must not produce visualizations as these will be incomplete
120 | $scope.$watch("input.codeTemplates", function(newValue, oldValue) {
121 | if(newValue){
122 | $scope.input.vizDisabled = false;
123 | newValue.forEach(function(entry){
124 | if(entry.enabled == false){
125 | $scope.input.vizDisabled = true;
126 | }
127 | });
128 | }
129 | }, true);
130 |
131 | /* Loads the UI when a change to the wizard is made */
132 | $scope.loadUI = function(wizKey){
133 | $scope.input.uiarray = null;
134 | $scope.input.codeTemplates = null;
135 | $scope.input.vizTemplates = null;
136 | $scope.input.variableTemplates = null;
137 | $scope.input.vizDisabled = false;
138 | $scope.input.isLoading = true;
139 | if($scope.input.wizardList[wizKey].config){
140 | require(['text!../extensions/AAIExpressionBuilder/wizards/'+ $scope.input.wizardList[wizKey].config + '.json'], function(wizardConfig) {
141 | var response = JSON.parse(wizardConfig);
142 | /* Parameters List */
143 | $scope.input.uiarray = response.parameters;
144 | $scope.input.uiarray.forEach(function(entry){
145 | //entry.inputvalue = '';
146 | entry.itemArray = [];
147 | if(!entry.arrayItemDefaults){
148 | entry.arrayItemDefaults = {};
149 | }
150 | $scope.addArrayItem(entry.itemArray,entry.arrayItemDefaults);
151 | });
152 |
153 | /* Master Items to be created list */
154 | $scope.input.codeTemplates = response.templates;
155 | $scope.input.codeTemplates.forEach(function(entry){
156 | entry.enabled = true;
157 | entry.built = false;
158 | entry.displayName = entry.name;
159 | });
160 |
161 | /* Visualizations to be created list */
162 | $scope.input.vizTemplates = response.viz;
163 | if($scope.input.vizTemplates){
164 | $scope.input.vizTemplates.forEach(function(entry){
165 | entry.enabled = true;
166 | entry.built = false;
167 | entry.displayTitle = entry.title;
168 | });
169 | }
170 | $scope.input.vizDisabled = false;
171 |
172 | /* Variables to be created list */
173 | $scope.input.variableTemplates = response.variables;
174 | if($scope.input.variableTemplates){
175 | $scope.input.variableTemplates.forEach(function(entry){
176 | entry.enabled = true;
177 | entry.built = false;
178 | });
179 | }
180 |
181 | $scope.input.isLoading = false;
182 | $scope.$apply();
183 | });
184 | }
185 | };
186 |
187 | $scope.addArrayItem = function(p,d){
188 | //console.log(d);
189 | var dnew = JSON.parse(JSON.stringify(d));
190 | p.push(dnew);
191 | };
192 |
193 | $scope.removeArrayItem = function(p,i){
194 | var e = p.indexOf(i);
195 | if(e > -1) {
196 | p.splice(e,1);
197 | }
198 | };
199 |
200 | /* Called when the template parameters need to be turned into the
201 | Qlik expression that is required for the master item */
202 | $scope.completeTemplates = function(){
203 | var errorCounter = 0;
204 | $scope.input.codeTemplates.forEach(function(t){
205 |
206 | /* Process R scripts */
207 | if(t.scriptType.toUpperCase() == 'R'){
208 | if(!$scope.rScriptTemplate(t)) errorCounter++;
209 | }
210 |
211 | /* Process fields generated from Qlik native date fields */
212 | if(t.scriptType == 'nativedate'){
213 | if(!$scope.nativeDateTemplate(t)) errorCounter++;
214 | }
215 |
216 | /* Process a native Qlik field */
217 | if(t.scriptType == 'nativefield'){
218 | if(!$scope.nativeFieldTemplate(t)) errorCounter++;
219 | }
220 |
221 | /* Process a native Qlik aggregation field */
222 | if(t.scriptType == 'nativeagg'){
223 | if(!$scope.nativeFieldAggTemplate(t)) errorCounter++;
224 | }
225 |
226 | /* Process a native Qlik aggregation field */
227 | //TODO: Implement this function for native calcs and switch this on
228 | //if(t.scriptType == 'nativecalc'){
229 | // if(!$scope.nativeFieldCalcTemplate(t)) errorCounter++;
230 | //}
231 |
232 | });
233 | if(errorCounter > 0){
234 | return false;
235 | }{
236 | return true;
237 | }
238 | };
239 |
240 | $scope.rFormula = function(r){
241 | var out = "";
242 | r.itemArray.forEach(function(i){
243 | var e = r.itemArray.indexOf(i) + 1;
244 | var e2 = e;
245 | if(e == 1) e2 = '';
246 | out = out + r.scriptid + e2;
247 | if(e < r.itemArray.length){
248 | out = out + " " + i.postoperator + " ";
249 | }
250 |
251 | });
252 | return out;
253 | }
254 |
255 | /* R script template processing */
256 | $scope.rScriptTemplate = function(t){
257 | t.outCode = null;
258 |
259 | if(t.enabled){
260 | //Process Template
261 | var rScript = t.rscript;
262 | var qParams = '';
263 | $scope.input.uiarray.forEach(function(p){
264 | //Replace Field with a dataframe column parameter
265 | var regExp = new RegExp('##<'+p.scriptid+'>##','g');
266 | if(p.scriptisformula){
267 | rScript = rScript.replace(regExp,$scope.rFormula(p));
268 | }else{
269 | rScript = rScript.replace(regExp,p.scriptid);
270 | }
271 |
272 | //Replace With fieldname as is a Qlik native script function
273 | var regExp2 = new RegExp('#!<'+p.scriptid+'>!#','g');
274 | rScript = rScript.replace(regExp2,'['+p.itemArray[0].inputvalue+']');
275 |
276 | //Date Parameter fields replaced with a parameter related to the field selection
277 | var regExpString = '!!<'+p.scriptid+'>!';
278 | var regExpParam = new RegExp(regExpString,'g');
279 | var match;
280 | while ((match = regExpParam.exec(rScript)) != null) {
281 | //console.log("match found at " + match.index);
282 | //console.log(p);
283 | if(p.includedateagg){
284 | //We can expect the parameter after the scriptid match to be a parameter from the dateAggList
285 |
286 | var indexEndOfParameter = rScript.indexOf('!',match.index+regExpString.length);
287 | //console.log(indexEndOfParameter);
288 | var parameterName = rScript.substring(match.index+regExpString.length,indexEndOfParameter);
289 | //console.log(parameterName);
290 |
291 | //Get Date Agg Items
292 | $scope.input.dateAggList.forEach(function(entry){
293 | console.log(entry);
294 | if(p.itemArray[0].dateaggvalue == entry.level){
295 | //Then check the
296 | //console.log('Match with: ' + entry.level);
297 | //console.log(entry[parameterName]);
298 | var replaceString = regExpString + parameterName + '!';
299 | //console.log(replaceString);
300 | rScript = rScript.replace(replaceString,entry[parameterName]);
301 | }
302 | });
303 | }
304 | }
305 |
306 | if(p.includeinfunction){
307 | p.itemArray.forEach(function(i){
308 | var e = p.itemArray.indexOf(i) + 1;
309 | if(qParams != ''){
310 | qParams = qParams + ', ';
311 | }
312 | var expressionvalue = '';
313 | if(p.includeagg){
314 | expressionvalue = i.aggvalue + '([' + i.inputvalue + '])';
315 | }else{
316 | expressionvalue = '[' + i.inputvalue + ']';
317 | }
318 | if(e == 1) e = '';
319 | qParams = qParams + expressionvalue + ' as ' + p.scriptid + e;
320 | });
321 | }
322 |
323 | });
324 |
325 | var output = t.qlikfunction + '(\'' + rScript + '\',' + qParams + ')';
326 |
327 | t.outCode = output;
328 | return true;
329 | }else{
330 | return true; //Not Enabled is no reason to fail
331 | }
332 | };
333 |
334 | /* Native date functions */
335 | $scope.nativeDateTemplate = function(t){
336 | t.outCode = null;
337 |
338 | if(t.enabled){
339 | var output = '';
340 | //Would be better with a match, but looping for the moment!
341 | $scope.input.uiarray.forEach(function(p){
342 | if(p.scriptid == t.idForDate){
343 | //output = p.dateaggvalue + '([' + p.inputvalue + '])';
344 | output = '[' + p.itemArray[0].inputvalue + ']';
345 | }
346 | });
347 | t.outCode = output;
348 | return true;
349 | }else{
350 | return true; //Not Enabled is no reason to fail
351 | }
352 |
353 | };
354 |
355 | /* Native field functions */
356 | $scope.nativeFieldTemplate = function(t){
357 | t.outCode = null;
358 |
359 | if(t.enabled){
360 | var output = '';
361 | //Would be better with a match, but looping for the moment!
362 | $scope.input.uiarray.forEach(function(p){
363 | if(p.scriptid == t.idForField){
364 | output = '[' + p.itemArray[0].inputvalue + ']';
365 | }
366 | });
367 | t.outCode = output;
368 | return true;
369 | }else{
370 | return true; //Not Enabled is no reason to fail
371 | }
372 | };
373 |
374 | /* Native Aggregation functions */
375 | $scope.nativeFieldAggTemplate = function(t){
376 | t.outCode = null;
377 | var complete = true;
378 | if(t.enabled){
379 |
380 | var output = '';
381 | //Would be better with a match, but looping for the moment!
382 | $scope.input.uiarray.forEach(function(p){
383 | if(p.scriptid == t.idForField){
384 | if(!p.itemArray[0].aggvalue) complete = false;
385 | if(!p.itemArray[0].inputvalue) complete = false;
386 | output = p.itemArray[0].aggvalue + '([' + p.itemArray[0].inputvalue + '])';
387 | }
388 | });
389 | t.outCode = output;
390 | }
391 | //console.log(complete);
392 | return complete;
393 | };
394 |
395 | $scope.processButtonClick = function(){
396 | switch ($scope.input.buttonState) {
397 | case 0: //Preview Master Items
398 | if($scope.previewMasterItems()){
399 | $scope.input.buttonState = 1;
400 | $scope.input.buttonTitle = 'Create Master Items';
401 | $scope.input.buttonIcon = 'library';
402 | $scope.input.warningMessage = '';
403 | }
404 | break;
405 | case 1:
406 | if($scope.createMasterItems()){
407 | $scope.input.buttonState = 2;
408 | $scope.input.buttonTitle = 'Reset Expression Builder';
409 | $scope.input.buttonIcon = 'back';
410 | $scope.input.warningMessage = '';
411 | }
412 | break;
413 | case 2:
414 | if($scope.resetWizard()){
415 | $scope.input.buttonState = 0;
416 | $scope.input.buttonTitle = 'Preview Master Items';
417 | $scope.input.buttonIcon = 'view';
418 | $scope.input.warningMessage = '';
419 | }
420 | break;
421 | }
422 | document.getElementById("scrollBody").scrollTop = 0;
423 | };
424 |
425 | $scope.processBackClick = function(){
426 | $scope.make_tab_active(1);
427 | $scope.input.buttonState = 0;
428 | $scope.input.buttonTitle = 'Preview Master Items';
429 | $scope.input.buttonIcon = 'view';
430 | $scope.input.warningMessage = '';
431 |
432 | document.getElementById("scrollBody").scrollTop = 0;
433 | };
434 |
435 | $scope.resetWizard = function(){
436 | //console.log("Reset Wizard");
437 | $scope.input.selectedKey = '';
438 | $scope.input.wizardName = '';
439 | $scope.input.showKey = false;
440 | $scope.input.selectedMethod= null;
441 | $scope.input.uiarray = null;
442 | $scope.input.codeTemplates = null;
443 | $scope.input.vizTemplates = null;
444 | $scope.input.variableTemplates = null;
445 | $scope.input.vizDisabled = false;
446 | $scope.input.isLoading = false,
447 | $scope.input.enableVizBuild = true,
448 | $scope.input.previewEnabled = false,
449 | $scope.make_tab_active(1);
450 | return true;
451 | }
452 |
453 | /* Preview Master Items function, will complete each template so has to
454 | be called even if preview on screen is not required */
455 | $scope.previewMasterItems = function(){
456 | if($scope.completeTemplates()){
457 | $scope.input.previewEnabled = true;
458 | $scope.make_tab_active(2);
459 | return true;
460 | }else{
461 | //Need to do something here to notify of the failure
462 | //console.log("Validation Check Fail");
463 | $scope.input.warningMessage = "Complete all required parameters";
464 | return false;
465 | }
466 | };
467 |
468 | /* Create Master Items */
469 | $scope.createMasterItems = function(){
470 |
471 | if($scope.previewMasterItems()){
472 | var p = [];
473 | $scope.input.codeTemplates.forEach(function(t){
474 | //console.log(t.outCode);
475 | if(t.type.toUpperCase() == 'DIMENSION'){
476 | var a = $scope.createDimension(t);
477 | p.push(a);
478 | }
479 | if(t.type.toUpperCase() == 'MEASURE'){
480 | var a = $scope.createMeasure(t);
481 | p.push(a);
482 | }
483 | });
484 |
485 | if($scope.input.variableTemplates){
486 | $scope.input.variableTemplates.forEach(function(t){
487 | //console.log("Create Variable");
488 | var a = $scope.createVariable(t);
489 | p.push(a);
490 | });
491 | };
492 |
493 | /* Only process after all promises have competed */
494 | Promise.all(p).then(values => {
495 | //console.log($scope.input.dimList);
496 | //console.log($scope.input.measureList);
497 | if($scope.input.vizTemplates){
498 | if(!$scope.input.vizDisabled){
499 | $scope.input.vizTemplates.forEach(function(v){
500 | $scope.createMasterViz(v);
501 | });
502 | }
503 | }
504 | });
505 | return true;
506 | }else{
507 | //do something to say there was an error
508 | return false;
509 | }
510 | };
511 |
512 | /* Create Dimension */
513 | $scope.createDimension = function(t){
514 | var dimJSON =
515 | {
516 | qInfo: {
517 | qType: "dimension"
518 | },
519 | qDim: {
520 | qGrouping: "N",
521 | qFieldDefs: [
522 | t.outCode
523 | ],
524 | qFieldLabels: [
525 | t.displayName
526 | ],
527 | title:t.displayName
528 | },
529 | qMetaDef: {
530 | title:t.displayName,
531 | description:t.description,
532 | tags:[]
533 | }
534 | };
535 |
536 | return $scope.input.appModel.createDimension(dimJSON).then((data) => {
537 | var obj = {templateId:t.id,qixId:data.id};
538 | $scope.input.idList.push(obj);
539 | t.built = true;
540 | });
541 | };
542 |
543 | /* Create Measure */
544 | $scope.createMeasure = function(t){
545 | var mesJSON =
546 | {
547 | qInfo: {
548 | qType: "measure"
549 | },
550 | qMeasure: {
551 | qLabel:t.displayName,
552 | qGrouping: "N",
553 | qDef: t.outCode,
554 | qExpressions:[],
555 | qActiveExpression: 0
556 | },
557 | qMetaDef: {
558 | title:t.displayName,
559 | description:t.description,
560 | tags:[]
561 | }
562 | };
563 |
564 | return $scope.input.appModel.createMeasure(mesJSON).then((data) => {
565 | var obj = {templateId:t.id,qixId:data.id};
566 | $scope.input.idList.push(obj);
567 | t.built = true;
568 | });
569 | };
570 |
571 | /* Create Master Visualization */
572 | $scope.createMasterViz = function(aeVizTemplate){
573 | //console.log('Create Viz');
574 | if(aeVizTemplate.type){
575 | $.getJSON('../extensions/AAIExpressionBuilder/templates/' + aeVizTemplate.type + '.json', function(response){
576 | var vizJSON = response;
577 |
578 | vizJSON.qMetaDef.title = aeVizTemplate.displayTitle;
579 | vizJSON.qMetaDef.description = aeVizTemplate.description;
580 |
581 | aeVizTemplate.replacements.forEach(function(r){
582 | $scope.input.idList.forEach(function(vid){
583 | if(vid.templateId == r.template){
584 | var obj = $scope.objectByString(vizJSON, r.path);
585 | obj[r.key] = vid.qixId;
586 | }
587 | });
588 | });
589 | $scope.input.appModel.createObject(vizJSON).then((data) => {console.log('Create Viz'); console.log(data);});
590 | });
591 | }
592 | };
593 |
594 | /* Create Variable */
595 | $scope.createVariable = function(variableTemplate){
596 | //console.log('Create Variable');
597 | if(variableTemplate.enabled){
598 | var app = qlik.currApp(this);
599 | app.variable.getContent(variableTemplate.name).then(
600 | function(data){
601 | //console.log('Check Variable');
602 | //console.log(data);
603 | variableTemplate.built = 'exists';
604 | }, function(e){
605 | //console.log('Variable does not exist, create variable');
606 | app.variable.create({
607 | qName : variableTemplate.name,
608 | qDefinition : variableTemplate.definition,
609 | qComment : variableTemplate.description
610 | }).then((data) => {
611 | //console.log('Created Variable');
612 | //console.log(data);
613 | variableTemplate.built = 'created';
614 | });
615 | });
616 | }
617 | };
618 |
619 | }]
620 | });
621 | }
622 | }]
623 | };
624 | });
625 |
--------------------------------------------------------------------------------
/src/AAIExpressionBuilder.qext:
--------------------------------------------------------------------------------
1 | {
2 | "name": "AAI Expression Builder",
3 | "description": "Wizard to create measures using common R functions for Advanced Analytics",
4 | "type": "visualization",
5 | "version": "1.0.2",
6 | "icon": "effects",
7 | "author": "Steven Pressland",
8 | "homepage": "https://github.com/AnalyticsEarth/AAIExpressionBuilder",
9 | "keywords": "qlik-sense, visualization, advanced analytics integration, AAI, SSE, server side extensions",
10 | "license": "",
11 | "repository": "",
12 | "dependencies": {
13 | "qlik-sense": ">=3.0.x"
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/AAIExpressionBuilderStyle.css:
--------------------------------------------------------------------------------
1 | /* CSS */
2 |
3 | .qv-object-aeRWizard > .qv-object-nav{
4 | display: none;
5 | }
6 |
7 | .extensionFrame {
8 | height:100%;
9 | width:100%;
10 | display:table;
11 | min-width:207px;
12 | min-height:118px;
13 | }
14 |
15 | .wizarddialog {
16 | min-width: 900px;
17 | max-width: 900px;
18 | min-height: 90%;
19 | max-height: 90%;
20 | }
21 |
22 | .wizarddialogbody {
23 | padding: 0px;
24 | overflow:scroll;
25 | }
26 |
27 | .wizardmarginabove {
28 | margin-top:10px;
29 | }
30 |
31 | .wizardSelectHeader {
32 | height: 80px;
33 | }
34 |
35 | .wizardtitle {
36 | font-size: 1.2em;
37 | margin-top: 10px;
38 | margin-bottom:10px;
39 | }
40 |
41 | .wizardtitlespacer {
42 | height: 50px;
43 | }
44 |
45 | .EntryListLeft {
46 | min-width: 20%;
47 | float: left;
48 | clear: both;
49 | font-weight: bold;
50 | padding-top:5px;
51 | padding-right:10px;
52 | }
53 |
54 | .EntryListRight {
55 | float: left;
56 | clear: none;
57 | }
58 |
59 | .EntryListRightHint {
60 | clear: both;
61 | float: left;
62 | font-style: italic;
63 | padding-bottom: 5px;
64 | }
65 |
66 | .PreviewListLeft {
67 | width: 15%;
68 | float: left;
69 | clear: both;
70 | font-weight: bold;
71 | padding-top:10px;
72 | }
73 |
74 | .PreviewListRight {
75 | float: left;
76 | clear: none;
77 | width: 80%;
78 | }
79 | .PreviewListRightHint {
80 | clear: both;
81 | float: left;
82 | font-style: italic;
83 | padding-bottom: 5px;
84 | }
85 |
86 | .CodePreview {
87 | padding:10px;
88 | }
89 |
90 | .CodePreview-code {
91 | font-family: Courier, monospace;
92 | font-size: 13px;
93 | font-weight: bold;
94 | }
95 |
96 | .CompletedTick {
97 | float:right;
98 | padding-top: 10px;
99 | color: #6cb33f;
100 | }
101 |
102 | .InputAlignLeft {
103 | float:left;
104 | clear:none;
105 | padding-right:10px;
106 | min-width:200px;
107 | }
108 |
109 | .InputClearRow {
110 | clear:both;
111 | margin-bottom: 10px;
112 | height:28px;
113 | }
114 |
115 | .inputPlaceholder {
116 | text-align: center;
117 | font-weight: bold;
118 | font-size: 1.2em;
119 | padding-top: 200px;
120 | }
121 |
122 | .placeholderIcon {
123 | font-size: 50px;
124 | padding-bottom: 20px;
125 | }
126 |
127 | .inputPlaceholderSheet {
128 | text-align: center;
129 | font-weight: bold;
130 | font-size: 1.1em;
131 | padding: 5px;
132 | height:100%;
133 | display:table-cell;
134 | vertical-align:middle;
135 | text-align:center;
136 | }
137 |
138 | .placeholderIconSheet {
139 | font-size: 20px;
140 | padding-bottom: 5px;
141 | }
142 |
143 | .placeholderButtonSheet {
144 | margin-top: 5px;
145 | }
146 |
147 |
148 | .iconspacer {
149 | margin-left:10px;
150 | width: 50px;
151 | float: left;
152 | padding-top:2px;
153 | }
154 |
155 | .icontext {
156 | float: left;
157 | clear: none;
158 | padding-top:5px;
159 | }
160 |
161 | .warningLeft {
162 | float: left;
163 | clear: none;
164 | font-weight: bold;
165 | font-size: 1.1em;
166 | padding: 5px;
167 | }
168 |
169 | .warningOrange {
170 | color: #f8981d;
171 | }
172 |
173 | .displayNameEntry {
174 | width:300px;
175 | }
176 |
177 | .buttonTop {
178 | margin-top:20px;
179 | margin-bottom: 20px;
180 | }
181 |
182 | .hidden {
183 | display: none;
184 | }
185 |
--------------------------------------------------------------------------------
/src/definition.js:
--------------------------------------------------------------------------------
1 | define( [], function () {
2 | 'use strict';
3 |
4 | // Appearance section
5 | var appearanceSection = {
6 | uses: "settings",
7 | items: {
8 | general: {
9 | items:{
10 | showTitles:{
11 | defaultValue: false
12 | }
13 | }
14 | }
15 | }
16 | };
17 |
18 | var aaiSettings = {
19 | component: "expandable-items",
20 | label: "AAI Expression Builder",
21 | items: {
22 | header: {
23 | type: "items",
24 | label: "Settings",
25 | items: {
26 | beta: {
27 | ref: "props.includeBeta",
28 | label: "Include Beta Functions",
29 | type: "boolean",
30 | defaultValue: false
31 | },
32 | allFields: {
33 | ref: "props.allFields",
34 | label: "Show All Fields",
35 | type: "boolean",
36 | defaultValue: false
37 | }
38 | }
39 | }
40 | }
41 | };
42 |
43 | // *****************************************************************************
44 | // Main properties panel definition
45 | // Only what is defined here is returned from properties.js
46 | // *****************************************************************************
47 | return {
48 | type: "items",
49 | component: "accordion",
50 | items: {
51 | appearance: appearanceSection,
52 | settings: aaiSettings
53 | }
54 | };
55 | });
56 |
--------------------------------------------------------------------------------
/src/dialog-template.ng.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | Advanced Analytics Expressions Builder
4 |
5 |
6 |
7 |
8 | Expression Builder
9 | Master Items
10 |
11 |
12 |
17 |
18 |
19 |
20 | Select Advanced Analytics Method
21 |
22 |
23 |
24 |
25 |
{{input.wizardName}} requires the following parameters:
26 |
27 | -
28 |
29 |
30 | {{par.name}}
31 |
32 |
63 | {{par.hint}}
64 |
65 |
66 |
67 |
68 |
{{input.wizardName}} can generate the following master items:
69 |
70 | -
71 |
72 |
73 | {{template.type}}
74 |
75 |
84 |
85 |
86 |
87 |
88 |
89 | -
90 |
91 |
92 | Variable
93 |
94 |
95 |
103 |
104 |
105 |
106 | -
107 |
108 |
109 | Visualization
110 |
111 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 | Qlik Expression Code Preview
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
145 |
-
146 |
147 |
148 | Description:
149 |
150 |
151 | {{template.description}}
152 |
153 |
154 |
155 |
-
156 |
157 |
158 | Expression:
159 |
160 |
161 | {{template.outCode}}
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
173 |
-
174 |
175 |
176 | Description:
177 |
178 |
179 | {{template.description}}
180 |
181 |
182 |
183 |
-
184 |
185 |
186 | Definition:
187 |
188 |
189 | {{template.definition}}
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
-
198 |
199 |
200 | Warning:
201 |
202 |
203 | The Variable already exists, a new one has not been created and the defintion has NOT been updated.
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
218 | {{input.warningMessage}}
219 |
220 |
221 |
222 |
--------------------------------------------------------------------------------
/src/schema.json:
--------------------------------------------------------------------------------
1 | {
2 | "structs": {
3 | "Field":{
4 | "GetCardinal": {
5 | "In": [],
6 | "Out": []
7 | },
8 | "GetAndMode": {
9 | "In": [],
10 | "Out": []
11 | },
12 | "SelectValues": {
13 | "In": [{ "Name": "qFieldValues","DefaultValue": [{"qText": "", "qIsNumeric": false, "qNumber": 0}] }, { "Name": "qToggleMode","DefaultValue": false, "Optional": true }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
14 | "Out": []
15 | },
16 | "Select": {
17 | "In": [{ "Name": "qMatch","DefaultValue": "" }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }, { "Name": "qExcludedValuesMode","DefaultValue": 0, "Optional": true }],
18 | "Out": []
19 | },
20 | "ToggleSelect": {
21 | "In": [{ "Name": "qMatch","DefaultValue": "" }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }, { "Name": "qExcludedValuesMode","DefaultValue": 0, "Optional": true }],
22 | "Out": []
23 | },
24 | "ClearAllButThis": {
25 | "In": [{ "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
26 | "Out": []
27 | },
28 | "SelectPossible": {
29 | "In": [{ "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
30 | "Out": []
31 | },
32 | "SelectExcluded": {
33 | "In": [{ "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
34 | "Out": []
35 | },
36 | "SelectAll": {
37 | "In": [{ "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
38 | "Out": []
39 | },
40 | "Lock": {
41 | "In": [],
42 | "Out": []
43 | },
44 | "Unlock": {
45 | "In": [],
46 | "Out": []
47 | },
48 | "GetNxProperties": {
49 | "In": [],
50 | "Out": [{ "Name": "qProperties" }]
51 | },
52 | "SetNxProperties": {
53 | "In": [{ "Name": "qProperties","DefaultValue": {"qOneAndOnlyOne": false} }],
54 | "Out": []
55 | },
56 | "SetAndMode": {
57 | "In": [{ "Name": "qAndMode","DefaultValue": false }],
58 | "Out": []
59 | },
60 | "SelectAlternative": {
61 | "In": [{ "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
62 | "Out": []
63 | },
64 | "LowLevelSelect": {
65 | "In": [{ "Name": "qValues","DefaultValue": [0] }, { "Name": "qToggleMode","DefaultValue": false }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
66 | "Out": []
67 | },
68 | "Clear": {
69 | "In": [],
70 | "Out": []
71 | }
72 | },
73 | "Variable":{
74 | "GetContent": {
75 | "In": [],
76 | "Out": [{ "Name": "qContent" }]
77 | },
78 | "GetRawContent": {
79 | "In": [],
80 | "Out": []
81 | },
82 | "SetContent": {
83 | "In": [{ "Name": "qContent","DefaultValue": "" }, { "Name": "qUpdateMRU","DefaultValue": false }],
84 | "Out": []
85 | },
86 | "ForceContent": {
87 | "In": [{ "Name": "qs","DefaultValue": "" }, { "Name": "qd","DefaultValue": 0 }],
88 | "Out": []
89 | },
90 | "GetNxProperties": {
91 | "In": [],
92 | "Out": [{ "Name": "qProperties" }]
93 | },
94 | "SetNxProperties": {
95 | "In": [{ "Name": "qProperties","DefaultValue": {"qName": "", "qNumberPresentation": {"qType": 0, "qnDec": 0, "qUseThou": 0, "qFmt": "", "qDec": "", "qThou": ""}, "qIncludeInBookmark": false, "qUsePredefListedValues": false, "qPreDefinedList": [""]} }],
96 | "Out": []
97 | }
98 | },
99 | "GenericObject":{
100 | "GetLayout": {
101 | "In": [],
102 | "Out": [{ "Name": "qLayout" }]
103 | },
104 | "GetListObjectData": {
105 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qPages","DefaultValue": [{"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}] }],
106 | "Out": [{ "Name": "qDataPages" }]
107 | },
108 | "GetHyperCubeData": {
109 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qPages","DefaultValue": [{"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}] }],
110 | "Out": [{ "Name": "qDataPages" }]
111 | },
112 | "GetHyperCubeReducedData": {
113 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qPages","DefaultValue": [{"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}] }, { "Name": "qZoomFactor","DefaultValue": 0 }, { "Name": "qReductionMode","DefaultValue": 0 }],
114 | "Out": [{ "Name": "qDataPages" }]
115 | },
116 | "GetHyperCubePivotData": {
117 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qPages","DefaultValue": [{"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}] }],
118 | "Out": [{ "Name": "qDataPages" }]
119 | },
120 | "GetHyperCubeStackData": {
121 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qPages","DefaultValue": [{"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}] }, { "Name": "qMaxNbrCells","DefaultValue": 0, "Optional": true }],
122 | "Out": [{ "Name": "qDataPages" }]
123 | },
124 | "GetHyperCubeContinuousData": {
125 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qOptions","DefaultValue": {"qStart": 0, "qEnd": 0, "qNbrPoints": 0, "qMaxNbrTicks": 0, "qMaxNumberLines": 0} }, { "Name": "qReverseSort","DefaultValue": false, "Optional": true }],
126 | "Out": [{ "Name": "qDataPages" }, { "Name": "qAxisData" }]
127 | },
128 | "GetHyperCubeTreeData": {
129 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qNodeOptions","DefaultValue": {"qMaxNbrOfNodes": 0, "qTreeNodes": [{"qArea": {"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}, "qAllValues": false}], "qTreeLevels": {"qLeft": 0, "qDepth": 0}} }],
130 | "Out": [{ "Name": "qNodes" }]
131 | },
132 | "GetHyperCubeBinnedData": {
133 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qPages","DefaultValue": [{"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}] }, { "Name": "qViewport","DefaultValue": {"qWidth": 0, "qHeight": 0, "qZoomLevel": 0} }, { "Name": "qDataRanges","DefaultValue": [{"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}] }, { "Name": "qMaxNbrCells","DefaultValue": 0 }, { "Name": "qQueryLevel","DefaultValue": 0 }, { "Name": "qBinningMethod","DefaultValue": 0 }],
134 | "Out": [{ "Name": "qDataPages" }]
135 | },
136 | "ApplyPatches": {
137 | "In": [{ "Name": "qPatches","DefaultValue": [{"qOp": 0, "qPath": "", "qValue": ""}] }, { "Name": "qSoftPatch","DefaultValue": false, "Optional": true }],
138 | "Out": []
139 | },
140 | "ClearSoftPatches": {
141 | "In": [],
142 | "Out": []
143 | },
144 | "SetProperties": {
145 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qExtendsId": "", "qMetaDef": {}} }],
146 | "Out": []
147 | },
148 | "GetProperties": {
149 | "In": [],
150 | "Out": [{ "Name": "qProp" }]
151 | },
152 | "GetEffectiveProperties": {
153 | "In": [],
154 | "Out": [{ "Name": "qProp" }]
155 | },
156 | "SetFullPropertyTree": {
157 | "In": [{ "Name": "qPropEntry","DefaultValue": {"qProperty": {"qInfo": {"qId": "", "qType": ""}, "qExtendsId": "", "qMetaDef": {}}, "qChildren": [], "qEmbeddedSnapshotRef": null} }],
158 | "Out": []
159 | },
160 | "GetFullPropertyTree": {
161 | "In": [],
162 | "Out": [{ "Name": "qPropEntry" }]
163 | },
164 | "GetInfo": {
165 | "In": [],
166 | "Out": [{ "Name": "qInfo" }]
167 | },
168 | "ClearSelections": {
169 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qColIndices","DefaultValue": [0], "Optional": true }],
170 | "Out": []
171 | },
172 | "ExportData": {
173 | "In": [{ "Name": "qFileType","DefaultValue": 0 }, { "Name": "qPath","DefaultValue": "", "Optional": true }, { "Name": "qFileName","DefaultValue": "", "Optional": true }, { "Name": "qExportState","DefaultValue": 0, "Optional": true }],
174 | "Out": [{ "Name": "qUrl" }, { "Name": "qWarnings" }]
175 | },
176 | "SelectListObjectValues": {
177 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qValues","DefaultValue": [0] }, { "Name": "qToggleMode","DefaultValue": false }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
178 | "Out": [{ "Name": "qSuccess" }]
179 | },
180 | "SelectListObjectPossible": {
181 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
182 | "Out": [{ "Name": "qSuccess" }]
183 | },
184 | "SelectListObjectExcluded": {
185 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
186 | "Out": [{ "Name": "qSuccess" }]
187 | },
188 | "SelectListObjectAlternative": {
189 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
190 | "Out": [{ "Name": "qSuccess" }]
191 | },
192 | "SelectListObjectAll": {
193 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
194 | "Out": [{ "Name": "qSuccess" }]
195 | },
196 | "SelectListObjectContinuousRange": {
197 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRanges","DefaultValue": [{"qMin": 0, "qMax": 0, "qMinInclEq": false, "qMaxInclEq": false}] }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
198 | "Out": [{ "Name": "qSuccess" }]
199 | },
200 | "SearchListObjectFor": {
201 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qMatch","DefaultValue": "" }],
202 | "Out": [{ "Name": "qSuccess" }]
203 | },
204 | "AbortListObjectSearch": {
205 | "In": [{ "Name": "qPath","DefaultValue": "" }],
206 | "Out": []
207 | },
208 | "AcceptListObjectSearch": {
209 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qToggleMode","DefaultValue": false }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
210 | "Out": []
211 | },
212 | "ExpandLeft": {
213 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRow","DefaultValue": 0 }, { "Name": "qCol","DefaultValue": 0 }, { "Name": "qAll","DefaultValue": false }],
214 | "Out": []
215 | },
216 | "ExpandTop": {
217 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRow","DefaultValue": 0 }, { "Name": "qCol","DefaultValue": 0 }, { "Name": "qAll","DefaultValue": false }],
218 | "Out": []
219 | },
220 | "CollapseLeft": {
221 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRow","DefaultValue": 0 }, { "Name": "qCol","DefaultValue": 0 }, { "Name": "qAll","DefaultValue": false }],
222 | "Out": []
223 | },
224 | "CollapseTop": {
225 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRow","DefaultValue": 0 }, { "Name": "qCol","DefaultValue": 0 }, { "Name": "qAll","DefaultValue": false }],
226 | "Out": []
227 | },
228 | "DrillUp": {
229 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qDimNo","DefaultValue": 0 }, { "Name": "qNbrSteps","DefaultValue": 0 }],
230 | "Out": []
231 | },
232 | "Lock": {
233 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qColIndices","DefaultValue": [0], "Optional": true }],
234 | "Out": []
235 | },
236 | "Unlock": {
237 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qColIndices","DefaultValue": [0], "Optional": true }],
238 | "Out": []
239 | },
240 | "SelectHyperCubeValues": {
241 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qDimNo","DefaultValue": 0 }, { "Name": "qValues","DefaultValue": [0] }, { "Name": "qToggleMode","DefaultValue": false }],
242 | "Out": [{ "Name": "qSuccess" }]
243 | },
244 | "SelectHyperCubeCells": {
245 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRowIndices","DefaultValue": [0] }, { "Name": "qColIndices","DefaultValue": [0] }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }, { "Name": "qDeselectOnlyOneSelected","DefaultValue": false, "Optional": true }],
246 | "Out": [{ "Name": "qSuccess" }]
247 | },
248 | "SelectPivotCells": {
249 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qSelections","DefaultValue": [{"qType": 0, "qCol": 0, "qRow": 0}] }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }, { "Name": "qDeselectOnlyOneSelected","DefaultValue": false, "Optional": true }],
250 | "Out": [{ "Name": "qSuccess" }]
251 | },
252 | "RangeSelectHyperCubeValues": {
253 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRanges","DefaultValue": [{"qRange": {"qMin": 0, "qMax": 0, "qMinInclEq": false, "qMaxInclEq": false}, "qMeasureIx": 0}] }, { "Name": "qColumnsToSelect","DefaultValue": [0], "Optional": true }, { "Name": "qOrMode","DefaultValue": false, "Optional": true }, { "Name": "qDeselectOnlyOneSelected","DefaultValue": false, "Optional": true }],
254 | "Out": [{ "Name": "qSuccess" }]
255 | },
256 | "MultiRangeSelectHyperCubeValues": {
257 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRanges","DefaultValue": [{"qRanges": [{"qRange": {"qMin": 0, "qMax": 0, "qMinInclEq": false, "qMaxInclEq": false}, "qMeasureIx": 0}], "qColumnsToSelect": [0]}] }, { "Name": "qOrMode","DefaultValue": false, "Optional": true }, { "Name": "qDeselectOnlyOneSelected","DefaultValue": false, "Optional": true }],
258 | "Out": [{ "Name": "qSuccess" }]
259 | },
260 | "SelectHyperCubeContinuousRange": {
261 | "In": [{ "Name": "qPath","DefaultValue": "" }, { "Name": "qRanges","DefaultValue": [{"qRange": {"qMin": 0, "qMax": 0, "qMinInclEq": false, "qMaxInclEq": false}, "qDimIx": 0}] }, { "Name": "qSoftLock","DefaultValue": false, "Optional": true }],
262 | "Out": [{ "Name": "qSuccess" }]
263 | },
264 | "GetChild": {
265 | "In": [{ "Name": "qId","DefaultValue": "" }],
266 | "Out": []
267 | },
268 | "GetChildInfos": {
269 | "In": [],
270 | "Out": [{ "Name": "qInfos" }]
271 | },
272 | "CreateChild": {
273 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qExtendsId": "", "qMetaDef": {}} }, { "Name": "qPropForThis","DefaultValue": null, "Optional": true }],
274 | "Out": [{ "Name": "qInfo" }]
275 | },
276 | "DestroyChild": {
277 | "In": [{ "Name": "qId","DefaultValue": "" }, { "Name": "qPropForThis","DefaultValue": null, "Optional": true }],
278 | "Out": [{ "Name": "qSuccess" }]
279 | },
280 | "DestroyAllChildren": {
281 | "In": [{ "Name": "qPropForThis","DefaultValue": null, "Optional": true }],
282 | "Out": []
283 | },
284 | "SetChildArrayOrder": {
285 | "In": [{ "Name": "qIds","DefaultValue": [""] }],
286 | "Out": []
287 | },
288 | "GetLinkedObjects": {
289 | "In": [],
290 | "Out": [{ "Name": "qItems" }]
291 | },
292 | "CopyFrom": {
293 | "In": [{ "Name": "qFromId","DefaultValue": "" }],
294 | "Out": []
295 | },
296 | "BeginSelections": {
297 | "In": [{ "Name": "qPaths","DefaultValue": [""] }],
298 | "Out": []
299 | },
300 | "EndSelections": {
301 | "In": [{ "Name": "qAccept","DefaultValue": false }],
302 | "Out": []
303 | },
304 | "ResetMadeSelections": {
305 | "In": [],
306 | "Out": []
307 | },
308 | "EmbedSnapshotObject": {
309 | "In": [{ "Name": "qId","DefaultValue": "" }],
310 | "Out": []
311 | },
312 | "GetSnapshotObject": {
313 | "In": [],
314 | "Out": []
315 | },
316 | "Publish": {
317 | "In": [],
318 | "Out": []
319 | },
320 | "UnPublish": {
321 | "In": [],
322 | "Out": []
323 | }
324 | },
325 | "GenericDimension":{
326 | "GetLayout": {
327 | "In": [],
328 | "Out": [{ "Name": "qLayout" }]
329 | },
330 | "ApplyPatches": {
331 | "In": [{ "Name": "qPatches","DefaultValue": [{"qOp": 0, "qPath": "", "qValue": ""}] }],
332 | "Out": []
333 | },
334 | "SetProperties": {
335 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qDim": {"qGrouping": 0, "qFieldDefs": [""], "qFieldLabels": [""], "qLabelExpression": ""}, "qMetaDef": {}} }],
336 | "Out": []
337 | },
338 | "GetProperties": {
339 | "In": [],
340 | "Out": [{ "Name": "qProp" }]
341 | },
342 | "GetInfo": {
343 | "In": [],
344 | "Out": [{ "Name": "qInfo" }]
345 | },
346 | "GetDimension": {
347 | "In": [],
348 | "Out": [{ "Name": "qDim" }]
349 | },
350 | "GetLinkedObjects": {
351 | "In": [],
352 | "Out": [{ "Name": "qItems" }]
353 | },
354 | "Publish": {
355 | "In": [],
356 | "Out": []
357 | },
358 | "UnPublish": {
359 | "In": [],
360 | "Out": []
361 | }
362 | },
363 | "GenericBookmark":{
364 | "GetFieldValues": {
365 | "In": [{ "Name": "qField","DefaultValue": "" }, { "Name": "qGetExcludedValues","DefaultValue": false }, { "Name": "qDataPage","DefaultValue": {"qStartIndex": 0, "qEndIndex": 0} }],
366 | "Out": [{ "Name": "qFieldValues" }]
367 | },
368 | "GetLayout": {
369 | "In": [],
370 | "Out": [{ "Name": "qLayout" }]
371 | },
372 | "ApplyPatches": {
373 | "In": [{ "Name": "qPatches","DefaultValue": [{"qOp": 0, "qPath": "", "qValue": ""}] }],
374 | "Out": []
375 | },
376 | "SetProperties": {
377 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qMetaDef": {}} }],
378 | "Out": []
379 | },
380 | "GetProperties": {
381 | "In": [],
382 | "Out": [{ "Name": "qProp" }]
383 | },
384 | "GetInfo": {
385 | "In": [],
386 | "Out": [{ "Name": "qInfo" }]
387 | },
388 | "Apply": {
389 | "In": [],
390 | "Out": [{ "Name": "qSuccess" }]
391 | },
392 | "Publish": {
393 | "In": [],
394 | "Out": []
395 | },
396 | "UnPublish": {
397 | "In": [],
398 | "Out": []
399 | }
400 | },
401 | "GenericVariable":{
402 | "GetLayout": {
403 | "In": [],
404 | "Out": [{ "Name": "qLayout" }]
405 | },
406 | "ApplyPatches": {
407 | "In": [{ "Name": "qPatches","DefaultValue": [{"qOp": 0, "qPath": "", "qValue": ""}] }],
408 | "Out": []
409 | },
410 | "SetProperties": {
411 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qMetaDef": {}, "qName": "", "qComment": "", "qNumberPresentation": {"qType": 0, "qnDec": 0, "qUseThou": 0, "qFmt": "", "qDec": "", "qThou": ""}, "qIncludeInBookmark": false, "qDefinition": ""} }],
412 | "Out": []
413 | },
414 | "GetProperties": {
415 | "In": [],
416 | "Out": [{ "Name": "qProp" }]
417 | },
418 | "GetInfo": {
419 | "In": [],
420 | "Out": [{ "Name": "qInfo" }]
421 | },
422 | "SetStringValue": {
423 | "In": [{ "Name": "qVal","DefaultValue": "" }],
424 | "Out": []
425 | },
426 | "SetNumValue": {
427 | "In": [{ "Name": "qVal","DefaultValue": 0 }],
428 | "Out": []
429 | },
430 | "SetDualValue": {
431 | "In": [{ "Name": "qText","DefaultValue": "" }, { "Name": "qNum","DefaultValue": 0 }],
432 | "Out": []
433 | }
434 | },
435 | "GenericMeasure":{
436 | "GetLayout": {
437 | "In": [],
438 | "Out": [{ "Name": "qLayout" }]
439 | },
440 | "ApplyPatches": {
441 | "In": [{ "Name": "qPatches","DefaultValue": [{"qOp": 0, "qPath": "", "qValue": ""}] }],
442 | "Out": []
443 | },
444 | "SetProperties": {
445 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qMeasure": {"qLabel": "", "qDef": "", "qGrouping": 0, "qExpressions": [""], "qActiveExpression": 0, "qLabelExpression": ""}, "qMetaDef": {}} }],
446 | "Out": []
447 | },
448 | "GetProperties": {
449 | "In": [],
450 | "Out": [{ "Name": "qProp" }]
451 | },
452 | "GetInfo": {
453 | "In": [],
454 | "Out": [{ "Name": "qInfo" }]
455 | },
456 | "GetMeasure": {
457 | "In": [],
458 | "Out": [{ "Name": "qMeasure" }]
459 | },
460 | "GetLinkedObjects": {
461 | "In": [],
462 | "Out": [{ "Name": "qItems" }]
463 | },
464 | "Publish": {
465 | "In": [],
466 | "Out": []
467 | },
468 | "UnPublish": {
469 | "In": [],
470 | "Out": []
471 | }
472 | },
473 | "GenericDerivedFields":{
474 | "SetProperties": {
475 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qDerivedDefinitionId": "", "qFieldName": [""], "qMetaDef": {}} }],
476 | "Out": []
477 | },
478 | "GetProperties": {
479 | "In": [],
480 | "Out": [{ "Name": "qProp" }]
481 | },
482 | "GetInfo": {
483 | "In": [],
484 | "Out": [{ "Name": "qInfo" }]
485 | },
486 | "GetDerivedFieldData": {
487 | "In": [],
488 | "Out": [{ "Name": "qData" }]
489 | },
490 | "GetDerivedField": {
491 | "In": [{ "Name": "qId","DefaultValue": "" }],
492 | "Out": [{ "Name": "qFields" }]
493 | },
494 | "GetListData": {
495 | "In": [],
496 | "Out": [{ "Name": "qListData" }]
497 | },
498 | "GetDerivedFields": {
499 | "In": [],
500 | "Out": [{ "Name": "qFields" }]
501 | },
502 | "GetDerivedGroups": {
503 | "In": [],
504 | "Out": [{ "Name": "qGroups" }]
505 | }
506 | },
507 | "Doc":{
508 | "GetField": {
509 | "In": [{ "Name": "qFieldName","DefaultValue": "" }, { "Name": "qStateName","DefaultValue": "", "Optional": true }],
510 | "Out": []
511 | },
512 | "GetFieldDescription": {
513 | "In": [{ "Name": "qFieldName","DefaultValue": "" }],
514 | "Out": []
515 | },
516 | "GetVariable": {
517 | "In": [{ "Name": "qName","DefaultValue": "" }],
518 | "Out": []
519 | },
520 | "GetLooselyCoupledVector": {
521 | "In": [],
522 | "Out": [{ "Name": "qv" }]
523 | },
524 | "SetLooselyCoupledVector": {
525 | "In": [{ "Name": "qv","DefaultValue": [0] }],
526 | "Out": []
527 | },
528 | "Evaluate": {
529 | "In": [{ "Name": "qExpression","DefaultValue": "" }],
530 | "Out": []
531 | },
532 | "EvaluateEx": {
533 | "In": [{ "Name": "qExpression","DefaultValue": "" }],
534 | "Out": [{ "Name": "qValue" }]
535 | },
536 | "ClearAll": {
537 | "In": [{ "Name": "qLockedAlso","DefaultValue": false, "Optional": true }, { "Name": "qStateName","DefaultValue": "", "Optional": true }],
538 | "Out": []
539 | },
540 | "LockAll": {
541 | "In": [{ "Name": "qStateName","DefaultValue": "", "Optional": true }],
542 | "Out": []
543 | },
544 | "UnlockAll": {
545 | "In": [{ "Name": "qStateName","DefaultValue": "", "Optional": true }],
546 | "Out": []
547 | },
548 | "Back": {
549 | "In": [],
550 | "Out": []
551 | },
552 | "Forward": {
553 | "In": [],
554 | "Out": []
555 | },
556 | "CreateVariable": {
557 | "In": [{ "Name": "qName","DefaultValue": "" }],
558 | "Out": []
559 | },
560 | "RemoveVariable": {
561 | "In": [{ "Name": "qName","DefaultValue": "" }],
562 | "Out": []
563 | },
564 | "GetLocaleInfo": {
565 | "In": [],
566 | "Out": []
567 | },
568 | "GetTablesAndKeys": {
569 | "In": [{ "Name": "qWindowSize","DefaultValue": {"qcx": 0, "qcy": 0} }, { "Name": "qNullSize","DefaultValue": {"qcx": 0, "qcy": 0} }, { "Name": "qCellHeight","DefaultValue": 0 }, { "Name": "qSyntheticMode","DefaultValue": false }, { "Name": "qIncludeSysVars","DefaultValue": false }],
570 | "Out": [{ "Name": "qtr" }, { "Name": "qk" }]
571 | },
572 | "GetViewDlgSaveInfo": {
573 | "In": [],
574 | "Out": []
575 | },
576 | "SetViewDlgSaveInfo": {
577 | "In": [{ "Name": "qInfo","DefaultValue": {"qPos": {"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}, "qCtlInfo": {"qInternalView": {"qTables": [{"qPos": {"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}, "qCaption": ""}], "qBroomPoints": [{"qPos": {"qx": 0, "qy": 0}, "qTable": "", "qFields": [""]}], "qConnectionPoints": [{"qPos": {"qx": 0, "qy": 0}, "qFields": [""]}], "qZoomFactor": 0}, "qSourceView": {"qTables": [{"qPos": {"qLeft": 0, "qTop": 0, "qWidth": 0, "qHeight": 0}, "qCaption": ""}], "qBroomPoints": [{"qPos": {"qx": 0, "qy": 0}, "qTable": "", "qFields": [""]}], "qConnectionPoints": [{"qPos": {"qx": 0, "qy": 0}, "qFields": [""]}], "qZoomFactor": 0}}, "qMode": 0} }],
578 | "Out": []
579 | },
580 | "GetEmptyScript": {
581 | "In": [{ "Name": "qLocalizedMainSection","DefaultValue": "", "Optional": true }],
582 | "Out": []
583 | },
584 | "DoReload": {
585 | "In": [{ "Name": "qMode","DefaultValue": 0, "Optional": true }, { "Name": "qPartial","DefaultValue": false, "Optional": true }, { "Name": "qDebug","DefaultValue": false, "Optional": true }],
586 | "Out": []
587 | },
588 | "GetScriptBreakpoints": {
589 | "In": [],
590 | "Out": [{ "Name": "qBreakpoints" }]
591 | },
592 | "SetScriptBreakpoints": {
593 | "In": [{ "Name": "qBreakpoints","DefaultValue": [{"qbufferName": "", "qlineIx": 0, "qEnabled": false}] }],
594 | "Out": []
595 | },
596 | "GetScript": {
597 | "In": [],
598 | "Out": [{ "Name": "qScript" }]
599 | },
600 | "GetTextMacros": {
601 | "In": [],
602 | "Out": [{ "Name": "qMacros" }]
603 | },
604 | "SetFetchLimit": {
605 | "In": [{ "Name": "qLimit","DefaultValue": 0 }],
606 | "Out": []
607 | },
608 | "DoSave": {
609 | "In": [{ "Name": "qFileName","DefaultValue": "", "Optional": true }],
610 | "Out": []
611 | },
612 | "GetTableData": {
613 | "In": [{ "Name": "qOffset","DefaultValue": 0 }, { "Name": "qRows","DefaultValue": 0 }, { "Name": "qSyntheticMode","DefaultValue": false }, { "Name": "qTableName","DefaultValue": "" }],
614 | "Out": [{ "Name": "qData" }]
615 | },
616 | "GetAppLayout": {
617 | "In": [],
618 | "Out": [{ "Name": "qLayout" }]
619 | },
620 | "SetAppProperties": {
621 | "In": [{ "Name": "qProp","DefaultValue": {"qTitle": "", "qLastReloadTime": "", "qMigrationHash": "", "qSavedInProductVersion": "", "qThumbnail": {"qUrl": ""}} }],
622 | "Out": []
623 | },
624 | "GetAppProperties": {
625 | "In": [],
626 | "Out": [{ "Name": "qProp" }]
627 | },
628 | "GetLineage": {
629 | "In": [],
630 | "Out": [{ "Name": "qLineage" }]
631 | },
632 | "CreateSessionObject": {
633 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qExtendsId": "", "qMetaDef": {}} }],
634 | "Out": []
635 | },
636 | "DestroySessionObject": {
637 | "In": [{ "Name": "qId","DefaultValue": "" }],
638 | "Out": [{ "Name": "qSuccess" }]
639 | },
640 | "CreateObject": {
641 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qExtendsId": "", "qMetaDef": {}} }],
642 | "Out": [{ "Name": "qInfo" }]
643 | },
644 | "DestroyObject": {
645 | "In": [{ "Name": "qId","DefaultValue": "" }],
646 | "Out": [{ "Name": "qSuccess" }]
647 | },
648 | "GetObject": {
649 | "In": [{ "Name": "qId","DefaultValue": "" }],
650 | "Out": []
651 | },
652 | "GetObjects": {
653 | "In": [{ "Name": "qOptions","DefaultValue": {"qTypes": [""], "qIncludeSessionObjects": false, "qData": {}} }],
654 | "Out": [{ "Name": "qList" }]
655 | },
656 | "GetBookmarks": {
657 | "In": [{ "Name": "qOptions","DefaultValue": {"qTypes": [""], "qData": {}} }],
658 | "Out": [{ "Name": "qList" }]
659 | },
660 | "CloneObject": {
661 | "In": [{ "Name": "qId","DefaultValue": "" }],
662 | "Out": [{ "Name": "qCloneId" }]
663 | },
664 | "CreateDraft": {
665 | "In": [{ "Name": "qId","DefaultValue": "" }],
666 | "Out": [{ "Name": "qDraftId" }]
667 | },
668 | "CommitDraft": {
669 | "In": [{ "Name": "qId","DefaultValue": "" }],
670 | "Out": []
671 | },
672 | "DestroyDraft": {
673 | "In": [{ "Name": "qId","DefaultValue": "" }, { "Name": "qSourceId","DefaultValue": "" }],
674 | "Out": [{ "Name": "qSuccess" }]
675 | },
676 | "Undo": {
677 | "In": [],
678 | "Out": [{ "Name": "qSuccess" }]
679 | },
680 | "Redo": {
681 | "In": [],
682 | "Out": [{ "Name": "qSuccess" }]
683 | },
684 | "ClearUndoBuffer": {
685 | "In": [],
686 | "Out": []
687 | },
688 | "CreateDimension": {
689 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qDim": {"qGrouping": 0, "qFieldDefs": [""], "qFieldLabels": [""], "qLabelExpression": ""}, "qMetaDef": {}} }],
690 | "Out": [{ "Name": "qInfo" }]
691 | },
692 | "DestroyDimension": {
693 | "In": [{ "Name": "qId","DefaultValue": "" }],
694 | "Out": [{ "Name": "qSuccess" }]
695 | },
696 | "GetDimension": {
697 | "In": [{ "Name": "qId","DefaultValue": "" }],
698 | "Out": []
699 | },
700 | "CloneDimension": {
701 | "In": [{ "Name": "qId","DefaultValue": "" }],
702 | "Out": [{ "Name": "qCloneId" }]
703 | },
704 | "CreateMeasure": {
705 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qMeasure": {"qLabel": "", "qDef": "", "qGrouping": 0, "qExpressions": [""], "qActiveExpression": 0, "qLabelExpression": ""}, "qMetaDef": {}} }],
706 | "Out": [{ "Name": "qInfo" }]
707 | },
708 | "DestroyMeasure": {
709 | "In": [{ "Name": "qId","DefaultValue": "" }],
710 | "Out": [{ "Name": "qSuccess" }]
711 | },
712 | "GetMeasure": {
713 | "In": [{ "Name": "qId","DefaultValue": "" }],
714 | "Out": []
715 | },
716 | "CloneMeasure": {
717 | "In": [{ "Name": "qId","DefaultValue": "" }],
718 | "Out": [{ "Name": "qCloneId" }]
719 | },
720 | "CreateSessionVariable": {
721 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qMetaDef": {}, "qName": "", "qComment": "", "qNumberPresentation": {"qType": 0, "qnDec": 0, "qUseThou": 0, "qFmt": "", "qDec": "", "qThou": ""}, "qIncludeInBookmark": false, "qDefinition": ""} }],
722 | "Out": []
723 | },
724 | "DestroySessionVariable": {
725 | "In": [{ "Name": "qId","DefaultValue": "" }],
726 | "Out": [{ "Name": "qSuccess" }]
727 | },
728 | "CreateVariableEx": {
729 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qMetaDef": {}, "qName": "", "qComment": "", "qNumberPresentation": {"qType": 0, "qnDec": 0, "qUseThou": 0, "qFmt": "", "qDec": "", "qThou": ""}, "qIncludeInBookmark": false, "qDefinition": ""} }],
730 | "Out": [{ "Name": "qInfo" }]
731 | },
732 | "DestroyVariableById": {
733 | "In": [{ "Name": "qId","DefaultValue": "" }],
734 | "Out": [{ "Name": "qSuccess" }]
735 | },
736 | "DestroyVariableByName": {
737 | "In": [{ "Name": "qName","DefaultValue": "" }],
738 | "Out": [{ "Name": "qSuccess" }]
739 | },
740 | "GetVariableById": {
741 | "In": [{ "Name": "qId","DefaultValue": "" }],
742 | "Out": []
743 | },
744 | "GetVariableByName": {
745 | "In": [{ "Name": "qName","DefaultValue": "" }],
746 | "Out": []
747 | },
748 | "MigrateVariables": {
749 | "In": [],
750 | "Out": []
751 | },
752 | "MigrateDerivedFields": {
753 | "In": [],
754 | "Out": []
755 | },
756 | "CheckExpression": {
757 | "In": [{ "Name": "qExpr","DefaultValue": "" }, { "Name": "qLabels","DefaultValue": [""], "Optional": true }],
758 | "Out": [{ "Name": "qErrorMsg" }, { "Name": "qBadFieldNames" }, { "Name": "qDangerousFieldNames" }]
759 | },
760 | "CheckNumberOrExpression": {
761 | "In": [{ "Name": "qExpr","DefaultValue": "" }],
762 | "Out": [{ "Name": "qErrorMsg" }, { "Name": "qBadFieldNames" }]
763 | },
764 | "AddAlternateState": {
765 | "In": [{ "Name": "qStateName","DefaultValue": "" }],
766 | "Out": []
767 | },
768 | "RemoveAlternateState": {
769 | "In": [{ "Name": "qStateName","DefaultValue": "" }],
770 | "Out": []
771 | },
772 | "CreateBookmark": {
773 | "In": [{ "Name": "qProp","DefaultValue": {"qInfo": {"qId": "", "qType": ""}, "qMetaDef": {}} }],
774 | "Out": [{ "Name": "qInfo" }]
775 | },
776 | "DestroyBookmark": {
777 | "In": [{ "Name": "qId","DefaultValue": "" }],
778 | "Out": [{ "Name": "qSuccess" }]
779 | },
780 | "GetBookmark": {
781 | "In": [{ "Name": "qId","DefaultValue": "" }],
782 | "Out": []
783 | },
784 | "ApplyBookmark": {
785 | "In": [{ "Name": "qId","DefaultValue": "" }],
786 | "Out": [{ "Name": "qSuccess" }]
787 | },
788 | "CloneBookmark": {
789 | "In": [{ "Name": "qId","DefaultValue": "" }],
790 | "Out": [{ "Name": "qCloneId" }]
791 | },
792 | "AddFieldFromExpression": {
793 | "In": [{ "Name": "qName","DefaultValue": "" }, { "Name": "qExpr","DefaultValue": "" }],
794 | "Out": [{ "Name": "qSuccess" }]
795 | },
796 | "GetFieldOnTheFlyByName": {
797 | "In": [{ "Name": "qReadableName","DefaultValue": "" }],
798 | "Out": [{ "Name": "qName" }]
799 | },
800 | "GetAllInfos": {
801 | "In": [],
802 | "Out": [{ "Name": "qInfos" }]
803 | },
804 | "Resume": {
805 | "In": [],
806 | "Out": []
807 | },
808 | "AbortModal": {
809 | "In": [{ "Name": "qAccept","DefaultValue": false }],
810 | "Out": []
811 | },
812 | "Publish": {
813 | "In": [{ "Name": "qStreamId","DefaultValue": "" }, { "Name": "qName","DefaultValue": "", "Optional": true }],
814 | "Out": []
815 | },
816 | "UnPublish": {
817 | "In": [],
818 | "Out": []
819 | },
820 | "GetMatchingFields": {
821 | "In": [{ "Name": "qTags","DefaultValue": [""] }, { "Name": "qMatchingFieldMode","DefaultValue": 0, "Optional": true }],
822 | "Out": [{ "Name": "qFieldNames" }]
823 | },
824 | "FindMatchingFields": {
825 | "In": [{ "Name": "qFieldName","DefaultValue": "" }, { "Name": "qTags","DefaultValue": [""] }],
826 | "Out": [{ "Name": "qFieldNames" }]
827 | },
828 | "Scramble": {
829 | "In": [{ "Name": "qFieldName","DefaultValue": "" }],
830 | "Out": []
831 | },
832 | "SaveObjects": {
833 | "In": [],
834 | "Out": []
835 | },
836 | "GetAssociationScores": {
837 | "In": [{ "Name": "qTable1","DefaultValue": "" }, { "Name": "qTable2","DefaultValue": "" }],
838 | "Out": [{ "Name": "qScore" }]
839 | },
840 | "GetMediaList": {
841 | "In": [],
842 | "Out": [{ "Name": "qList" }]
843 | },
844 | "GetContentLibraries": {
845 | "In": [],
846 | "Out": [{ "Name": "qList" }]
847 | },
848 | "GetLibraryContent": {
849 | "In": [{ "Name": "qName","DefaultValue": "" }],
850 | "Out": [{ "Name": "qList" }]
851 | },
852 | "DoReloadEx": {
853 | "In": [{ "Name": "qParams","DefaultValue": {"qMode": 0, "qPartial": false, "qDebug": false}, "Optional": true }],
854 | "Out": [{ "Name": "qResult" }]
855 | },
856 | "BackCount": {
857 | "In": [],
858 | "Out": []
859 | },
860 | "ForwardCount": {
861 | "In": [],
862 | "Out": []
863 | },
864 | "ExportReducedData": {
865 | "In": [{ "Name": "qOptions","DefaultValue": {"qBookmarkId": "", "qExpires": 0}, "Optional": true }],
866 | "Out": [{ "Name": "qDownloadInfo" }]
867 | },
868 | "SetScript": {
869 | "In": [{ "Name": "qScript","DefaultValue": "" }],
870 | "Out": []
871 | },
872 | "CheckScriptSyntax": {
873 | "In": [],
874 | "Out": [{ "Name": "qErrors" }]
875 | },
876 | "GetFavoriteVariables": {
877 | "In": [],
878 | "Out": [{ "Name": "qNames" }]
879 | },
880 | "SetFavoriteVariables": {
881 | "In": [{ "Name": "qNames","DefaultValue": [""] }],
882 | "Out": []
883 | },
884 | "GetIncludeFileContent": {
885 | "In": [{ "Name": "qPath","DefaultValue": "" }],
886 | "Out": [{ "Name": "qContent" }]
887 | },
888 | "CreateConnection": {
889 | "In": [{ "Name": "qConnection","DefaultValue": {"qId": "", "qName": "", "qConnectionString": "", "qType": "", "qUserName": "", "qPassword": "", "qModifiedDate": "", "qMeta": {"qName": ""}, "qLogOn": 0} }],
890 | "Out": [{ "Name": "qConnectionId" }]
891 | },
892 | "ModifyConnection": {
893 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qConnection","DefaultValue": {"qId": "", "qName": "", "qConnectionString": "", "qType": "", "qUserName": "", "qPassword": "", "qModifiedDate": "", "qMeta": {"qName": ""}, "qLogOn": 0} }, { "Name": "qOverrideCredentials","DefaultValue": false, "Optional": true }],
894 | "Out": []
895 | },
896 | "DeleteConnection": {
897 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }],
898 | "Out": []
899 | },
900 | "GetConnection": {
901 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }],
902 | "Out": [{ "Name": "qConnection" }]
903 | },
904 | "GetConnections": {
905 | "In": [],
906 | "Out": [{ "Name": "qConnections" }]
907 | },
908 | "GetDatabaseInfo": {
909 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }],
910 | "Out": [{ "Name": "qInfo" }]
911 | },
912 | "GetDatabases": {
913 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }],
914 | "Out": [{ "Name": "qDatabases" }]
915 | },
916 | "GetDatabaseOwners": {
917 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qDatabase","DefaultValue": "", "Optional": true }],
918 | "Out": [{ "Name": "qOwners" }]
919 | },
920 | "GetDatabaseTables": {
921 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qDatabase","DefaultValue": "", "Optional": true }, { "Name": "qOwner","DefaultValue": "", "Optional": true }],
922 | "Out": [{ "Name": "qTables" }]
923 | },
924 | "GetDatabaseTableFields": {
925 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qDatabase","DefaultValue": "", "Optional": true }, { "Name": "qOwner","DefaultValue": "", "Optional": true }, { "Name": "qTable","DefaultValue": "" }],
926 | "Out": [{ "Name": "qFields" }]
927 | },
928 | "GetDatabaseTablePreview": {
929 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qDatabase","DefaultValue": "", "Optional": true }, { "Name": "qOwner","DefaultValue": "", "Optional": true }, { "Name": "qTable","DefaultValue": "" }, { "Name": "qConditions","DefaultValue": {"qType": 0, "qWherePredicate": ""}, "Optional": true }],
930 | "Out": [{ "Name": "qPreview" }, { "Name": "qRowCount" }]
931 | },
932 | "GetFolderItemsForConnection": {
933 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qRelativePath","DefaultValue": "", "Optional": true }],
934 | "Out": [{ "Name": "qFolderItems" }]
935 | },
936 | "GuessFileType": {
937 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qRelativePath","DefaultValue": "", "Optional": true }],
938 | "Out": [{ "Name": "qDataFormat" }]
939 | },
940 | "GetFileTables": {
941 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qRelativePath","DefaultValue": "", "Optional": true }, { "Name": "qDataFormat","DefaultValue": {"qType": 0, "qLabel": "", "qQuote": "", "qComment": "", "qDelimiter": {"qName": "", "qScriptCode": "", "qNumber": 0, "qIsMultiple": false}, "qCodePage": 0, "qHeaderSize": 0, "qRecordSize": 0, "qTabSize": 0, "qIgnoreEOF": false, "qFixedWidthDelimiters": ""} }],
942 | "Out": [{ "Name": "qTables" }]
943 | },
944 | "GetFileTableFields": {
945 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qRelativePath","DefaultValue": "", "Optional": true }, { "Name": "qDataFormat","DefaultValue": {"qType": 0, "qLabel": "", "qQuote": "", "qComment": "", "qDelimiter": {"qName": "", "qScriptCode": "", "qNumber": 0, "qIsMultiple": false}, "qCodePage": 0, "qHeaderSize": 0, "qRecordSize": 0, "qTabSize": 0, "qIgnoreEOF": false, "qFixedWidthDelimiters": ""} }, { "Name": "qTable","DefaultValue": "" }],
946 | "Out": [{ "Name": "qFields" }, { "Name": "qFormatSpec" }]
947 | },
948 | "GetFileTablePreview": {
949 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qRelativePath","DefaultValue": "", "Optional": true }, { "Name": "qDataFormat","DefaultValue": {"qType": 0, "qLabel": "", "qQuote": "", "qComment": "", "qDelimiter": {"qName": "", "qScriptCode": "", "qNumber": 0, "qIsMultiple": false}, "qCodePage": 0, "qHeaderSize": 0, "qRecordSize": 0, "qTabSize": 0, "qIgnoreEOF": false, "qFixedWidthDelimiters": ""} }, { "Name": "qTable","DefaultValue": "" }],
950 | "Out": [{ "Name": "qPreview" }, { "Name": "qFormatSpec" }]
951 | },
952 | "GetFileTablesEx": {
953 | "In": [{ "Name": "qConnectionId","DefaultValue": "" }, { "Name": "qRelativePath","DefaultValue": "", "Optional": true }, { "Name": "qDataFormat","DefaultValue": {"qType": 0, "qLabel": "", "qQuote": "", "qComment": "", "qDelimiter": {"qName": "", "qScriptCode": "", "qNumber": 0, "qIsMultiple": false}, "qCodePage": 0, "qHeaderSize": 0, "qRecordSize": 0, "qTabSize": 0, "qIgnoreEOF": false, "qFixedWidthDelimiters": ""} }],
954 | "Out": [{ "Name": "qTables" }]
955 | },
956 | "SendGenericCommandToCustomConnector": {
957 | "In": [{ "Name": "qProvider","DefaultValue": "" }, { "Name": "qCommand","DefaultValue": "" }, { "Name": "qMethod","DefaultValue": "" }, { "Name": "qParameters","DefaultValue": [""] }, { "Name": "qAppendConnection","DefaultValue": "" }],
958 | "Out": [{ "Name": "qResult" }]
959 | },
960 | "SearchSuggest": {
961 | "In": [{ "Name": "qOptions","DefaultValue": {"qSearchFields": [""], "qContext": 0, "qCharEncoding": 0, "qAttributes": [""]} }, { "Name": "qTerms","DefaultValue": [""] }],
962 | "Out": [{ "Name": "qResult" }]
963 | },
964 | "SearchAssociations": {
965 | "In": [{ "Name": "qOptions","DefaultValue": {"qSearchFields": [""], "qContext": 0, "qCharEncoding": 0, "qAttributes": [""]} }, { "Name": "qTerms","DefaultValue": [""] }, { "Name": "qPage","DefaultValue": {"qOffset": 0, "qCount": 0, "qMaxNbrFieldMatches": 0, "qGroupOptions": [{"qGroupType": 0, "qOffset": 0, "qCount": 0}], "qGroupItemOptions": [{"qGroupItemType": 0, "qOffset": 0, "qCount": 0}]} }],
966 | "Out": [{ "Name": "qResults" }]
967 | },
968 | "SelectAssociations": {
969 | "In": [{ "Name": "qOptions","DefaultValue": {"qSearchFields": [""], "qContext": 0, "qCharEncoding": 0, "qAttributes": [""]} }, { "Name": "qTerms","DefaultValue": [""] }, { "Name": "qMatchIx","DefaultValue": 0 }, { "Name": "qSoftLock","DefaultValue": null, "Optional": true }],
970 | "Out": []
971 | },
972 | "SearchResults": {
973 | "In": [{ "Name": "qOptions","DefaultValue": {"qSearchFields": [""], "qContext": 0, "qCharEncoding": 0, "qAttributes": [""]} }, { "Name": "qTerms","DefaultValue": [""] }, { "Name": "qPage","DefaultValue": {"qOffset": 0, "qCount": 0, "qMaxNbrFieldMatches": 0, "qGroupOptions": [{"qGroupType": 0, "qOffset": 0, "qCount": 0}], "qGroupItemOptions": [{"qGroupItemType": 0, "qOffset": 0, "qCount": 0}]} }],
974 | "Out": [{ "Name": "qResult" }]
975 | },
976 | "SearchObjects": {
977 | "In": [{ "Name": "qOptions","DefaultValue": {"qAttributes": [""], "qCharEncoding": 0} }, { "Name": "qTerms","DefaultValue": [""] }, { "Name": "qPage","DefaultValue": {"qOffset": 0, "qCount": 0, "qMaxNbrFieldMatches": 0, "qGroupOptions": [{"qGroupType": 0, "qOffset": 0, "qCount": 0}], "qGroupItemOptions": [{"qGroupItemType": 0, "qOffset": 0, "qCount": 0}]} }],
978 | "Out": [{ "Name": "qResult" }]
979 | }
980 | },
981 | "Global":{
982 | "AbortRequest": {
983 | "In": [{ "Name": "qRequestId","DefaultValue": 0 }],
984 | "Out": []
985 | },
986 | "AbortAll": {
987 | "In": [],
988 | "Out": []
989 | },
990 | "GetProgress": {
991 | "In": [{ "Name": "qRequestId","DefaultValue": 0 }],
992 | "Out": [{ "Name": "qProgressData" }]
993 | },
994 | "QvVersion": {
995 | "In": [],
996 | "Out": []
997 | },
998 | "OSVersion": {
999 | "In": [],
1000 | "Out": []
1001 | },
1002 | "OSName": {
1003 | "In": [],
1004 | "Out": []
1005 | },
1006 | "QTProduct": {
1007 | "In": [],
1008 | "Out": []
1009 | },
1010 | "GetDocList": {
1011 | "In": [],
1012 | "Out": [{ "Name": "qDocList" }]
1013 | },
1014 | "GetInteract": {
1015 | "In": [{ "Name": "qRequestId","DefaultValue": 0 }],
1016 | "Out": [{ "Name": "qDef" }]
1017 | },
1018 | "InteractDone": {
1019 | "In": [{ "Name": "qRequestId","DefaultValue": 0 }, { "Name": "qDef","DefaultValue": {"qType": 0, "qTitle": "", "qMsg": "", "qButtons": 0, "qLine": "", "qOldLineNr": 0, "qNewLineNr": 0, "qPath": "", "qHidden": false, "qResult": 0, "qInput": ""} }],
1020 | "Out": []
1021 | },
1022 | "GetAuthenticatedUser": {
1023 | "In": [],
1024 | "Out": []
1025 | },
1026 | "CreateDocEx": {
1027 | "In": [{ "Name": "qDocName","DefaultValue": "" }, { "Name": "qUserName","DefaultValue": "", "Optional": true }, { "Name": "qPassword","DefaultValue": "", "Optional": true }, { "Name": "qSerial","DefaultValue": "", "Optional": true }, { "Name": "qLocalizedScriptMainSection","DefaultValue": "", "Optional": true }],
1028 | "Out": [{ "Name": "qDocId" }]
1029 | },
1030 | "GetActiveDoc": {
1031 | "In": [],
1032 | "Out": []
1033 | },
1034 | "AllowCreateApp": {
1035 | "In": [],
1036 | "Out": []
1037 | },
1038 | "CreateApp": {
1039 | "In": [{ "Name": "qAppName","DefaultValue": "" }, { "Name": "qLocalizedScriptMainSection","DefaultValue": "", "Optional": true }],
1040 | "Out": [{ "Name": "qSuccess" }, { "Name": "qAppId" }]
1041 | },
1042 | "DeleteApp": {
1043 | "In": [{ "Name": "qAppId","DefaultValue": "" }],
1044 | "Out": [{ "Name": "qSuccess" }]
1045 | },
1046 | "IsDesktopMode": {
1047 | "In": [],
1048 | "Out": []
1049 | },
1050 | "GetConfiguration": {
1051 | "In": [],
1052 | "Out": [{ "Name": "qConfig" }]
1053 | },
1054 | "CancelRequest": {
1055 | "In": [{ "Name": "qRequestId","DefaultValue": 0 }],
1056 | "Out": []
1057 | },
1058 | "ShutdownProcess": {
1059 | "In": [],
1060 | "Out": []
1061 | },
1062 | "ReloadExtensionList": {
1063 | "In": [],
1064 | "Out": []
1065 | },
1066 | "ReplaceAppFromID": {
1067 | "In": [{ "Name": "qTargetAppId","DefaultValue": "" }, { "Name": "qSrcAppID","DefaultValue": "" }, { "Name": "qIds","DefaultValue": [""] }],
1068 | "Out": [{ "Name": "qSuccess" }]
1069 | },
1070 | "CopyApp": {
1071 | "In": [{ "Name": "qTargetAppId","DefaultValue": "" }, { "Name": "qSrcAppId","DefaultValue": "" }, { "Name": "qIds","DefaultValue": [""] }],
1072 | "Out": [{ "Name": "qSuccess" }]
1073 | },
1074 | "ImportApp": {
1075 | "In": [{ "Name": "qAppId","DefaultValue": "" }, { "Name": "qSrcPath","DefaultValue": "" }, { "Name": "qIds","DefaultValue": [""] }],
1076 | "Out": [{ "Name": "qSuccess" }]
1077 | },
1078 | "ImportAppEx": {
1079 | "In": [{ "Name": "qAppId","DefaultValue": "" }, { "Name": "qSrcPath","DefaultValue": "" }, { "Name": "qIds","DefaultValue": [""] }, { "Name": "qExcludeConnections","DefaultValue": false }],
1080 | "Out": []
1081 | },
1082 | "ExportApp": {
1083 | "In": [{ "Name": "qTargetPath","DefaultValue": "" }, { "Name": "qSrcAppId","DefaultValue": "" }, { "Name": "qIds","DefaultValue": [""] }],
1084 | "Out": [{ "Name": "qSuccess" }]
1085 | },
1086 | "PublishApp": {
1087 | "In": [{ "Name": "qAppId","DefaultValue": "" }, { "Name": "qName","DefaultValue": "" }, { "Name": "qStreamId","DefaultValue": "" }],
1088 | "Out": []
1089 | },
1090 | "IsPersonalMode": {
1091 | "In": [],
1092 | "Out": []
1093 | },
1094 | "GetUniqueID": {
1095 | "In": [],
1096 | "Out": [{ "Name": "qUniqueID" }]
1097 | },
1098 | "OpenDoc": {
1099 | "In": [{ "Name": "qDocName","DefaultValue": "" }, { "Name": "qUserName","DefaultValue": "", "Optional": true }, { "Name": "qPassword","DefaultValue": "", "Optional": true }, { "Name": "qSerial","DefaultValue": "", "Optional": true }, { "Name": "qNoData","DefaultValue": false, "Optional": true }],
1100 | "Out": []
1101 | },
1102 | "CreateSessionApp": {
1103 | "In": [],
1104 | "Out": [{ "Name": "qSessionAppId" }]
1105 | },
1106 | "CreateSessionAppFromApp": {
1107 | "In": [{ "Name": "qSrcAppId","DefaultValue": "" }],
1108 | "Out": [{ "Name": "qSessionAppId" }]
1109 | },
1110 | "ProductVersion": {
1111 | "In": [],
1112 | "Out": []
1113 | },
1114 | "GetAppEntry": {
1115 | "In": [{ "Name": "qAppID","DefaultValue": "" }],
1116 | "Out": [{ "Name": "qEntry" }]
1117 | },
1118 | "ConfigureReload": {
1119 | "In": [{ "Name": "qCancelOnScriptError","DefaultValue": false }, { "Name": "qUseErrorData","DefaultValue": false }, { "Name": "qInteractOnError","DefaultValue": false }],
1120 | "Out": []
1121 | },
1122 | "CancelReload": {
1123 | "In": [],
1124 | "Out": []
1125 | },
1126 | "GetBNF": {
1127 | "In": [{ "Name": "qBnfType","DefaultValue": 0 }],
1128 | "Out": [{ "Name": "qBnfDefs" }]
1129 | },
1130 | "GetFunctions": {
1131 | "In": [{ "Name": "qGroup","DefaultValue": 0, "Optional": true }],
1132 | "Out": [{ "Name": "qFunctions" }]
1133 | },
1134 | "GetOdbcDsns": {
1135 | "In": [],
1136 | "Out": [{ "Name": "qOdbcDsns" }]
1137 | },
1138 | "GetOleDbProviders": {
1139 | "In": [],
1140 | "Out": [{ "Name": "qOleDbProviders" }]
1141 | },
1142 | "GetDatabasesFromConnectionString": {
1143 | "In": [{ "Name": "qConnection","DefaultValue": {"qId": "", "qName": "", "qConnectionString": "", "qType": "", "qUserName": "", "qPassword": "", "qModifiedDate": "", "qMeta": {"qName": ""}, "qLogOn": 0} }],
1144 | "Out": [{ "Name": "qDatabases" }]
1145 | },
1146 | "IsValidConnectionString": {
1147 | "In": [{ "Name": "qConnection","DefaultValue": {"qId": "", "qName": "", "qConnectionString": "", "qType": "", "qUserName": "", "qPassword": "", "qModifiedDate": "", "qMeta": {"qName": ""}, "qLogOn": 0} }],
1148 | "Out": []
1149 | },
1150 | "GetDefaultAppFolder": {
1151 | "In": [],
1152 | "Out": [{ "Name": "qPath" }]
1153 | },
1154 | "GetMyDocumentsFolder": {
1155 | "In": [],
1156 | "Out": [{ "Name": "qFolder" }]
1157 | },
1158 | "GetLogicalDriveStrings": {
1159 | "In": [],
1160 | "Out": [{ "Name": "qDrives" }]
1161 | },
1162 | "GetFolderItemsForPath": {
1163 | "In": [{ "Name": "qPath","DefaultValue": "" }],
1164 | "Out": [{ "Name": "qFolderItems" }]
1165 | },
1166 | "GetSupportedCodePages": {
1167 | "In": [],
1168 | "Out": [{ "Name": "qCodePages" }]
1169 | },
1170 | "GetCustomConnectors": {
1171 | "In": [{ "Name": "qReloadList","DefaultValue": false, "Optional": true }],
1172 | "Out": [{ "Name": "qConnectors" }]
1173 | },
1174 | "GetStreamList": {
1175 | "In": [],
1176 | "Out": [{ "Name": "qStreamList" }]
1177 | },
1178 | "EngineVersion": {
1179 | "In": [],
1180 | "Out": [{ "Name": "qVersion" }]
1181 | },
1182 | "GetBaseBNF": {
1183 | "In": [{ "Name": "qBnfType","DefaultValue": 0 }],
1184 | "Out": [{ "Name": "qBnfDefs" }, { "Name": "qBnfHash" }]
1185 | },
1186 | "GetBaseBNFHash": {
1187 | "In": [{ "Name": "qBnfType","DefaultValue": 0 }],
1188 | "Out": [{ "Name": "qBnfHash" }]
1189 | },
1190 | "GetBaseBNFString": {
1191 | "In": [{ "Name": "qBnfType","DefaultValue": 0 }],
1192 | "Out": [{ "Name": "qBnfStr" }, { "Name": "qBnfHash" }]
1193 | }
1194 | }
1195 | },
1196 | "enums": {
1197 | "LocalizedMessageCode": {
1198 | "LOCMSG_SCRIPTEDITOR_EMPTY_MESSAGE": 0,
1199 | "LOCMSG_SCRIPTEDITOR_PROGRESS_SAVING_STARTED": 1,
1200 | "LOCMSG_SCRIPTEDITOR_PROGRESS_BYTES_LEFT": 2,
1201 | "LOCMSG_SCRIPTEDITOR_PROGRESS_STORING_TABLES": 3,
1202 | "LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWS_SO_FAR": 4,
1203 | "LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTED": 5,
1204 | "LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECTING_TO": 6,
1205 | "LOCMSG_SCRIPTEDITOR_PROGRESS_CONNECT_FAILED": 7,
1206 | "LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_ROWISH": 8,
1207 | "LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_COLUMNAR": 9,
1208 | "LOCMSG_SCRIPTEDITOR_ERROR": 10,
1209 | "LOCMSG_SCRIPTEDITOR_DONE": 11,
1210 | "LOCMSG_SCRIPTEDITOR_LOAD_EXTERNAL_DATA": 12,
1211 | "LOCMSG_SCRIPTEDITOR_PROGRESS_OLD_QVD_ISLOADING": 13,
1212 | "LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_LOADING": 14,
1213 | "LOCMSG_SCRIPTEDITOR_PROGRESS_QVD_BUFFERED": 15,
1214 | "LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_PREPARING": 16,
1215 | "LOCMSG_SCRIPTEDITOR_PROGRESS_QVC_APPENDING": 17,
1216 | "LOCMSG_SCRIPTEDITOR_REMOVE_SYNTHETIC": 18,
1217 | "LOCMSG_SCRIPTEDITOR_PENDING_LINKEDTABLE_FETCHING": 19,
1218 | "LOCMSG_SCRIPTEDITOR_RELOAD": 20,
1219 | "LOCMSG_SCRIPTEDITOR_LINES_FETCHED": 21,
1220 | "LOCMSG_SCRIPTEDITOR_SEARCHINDEX_START": 22,
1221 | "LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FIELD": 23,
1222 | "LOCMSG_SCRIPTEDITOR_SEARCHINDEX_SUCCESS": 24,
1223 | "LOCMSG_SCRIPTEDITOR_SEARCHINDEX_FAILURE": 25,
1224 | "LOCMSG_SCRIPTEDITOR_SEARCHINDEX_STARTABORT": 26,
1225 | "LOCMSG_SCRIPTEDITOR_SEARCHINDEX_ENDABORT": 27,
1226 | "LOCMSG_SCRIPTEDITOR_SEARCHINDEX_TIMEOUT": 28,
1227 | "LOCMSG_SCRIPTEDITOR_SEARCHINDEX_OUTOFMEMORY": 29
1228 | },
1229 | "LocalizedErrorCode": {
1230 | "LOCERR_INTERNAL_ERROR": -128,
1231 | "LOCERR_GENERIC_UNKNOWN": -1,
1232 | "LOCERR_GENERIC_OK": 0,
1233 | "LOCERR_GENERIC_NOT_SET": 1,
1234 | "LOCERR_GENERIC_NOT_FOUND": 2,
1235 | "LOCERR_GENERIC_ALREADY_EXISTS": 3,
1236 | "LOCERR_GENERIC_INVALID_PATH": 4,
1237 | "LOCERR_GENERIC_ACCESS_DENIED": 5,
1238 | "LOCERR_GENERIC_OUT_OF_MEMORY": 6,
1239 | "LOCERR_GENERIC_NOT_INITIALIZED": 7,
1240 | "LOCERR_GENERIC_INVALID_PARAMETERS": 8,
1241 | "LOCERR_GENERIC_EMPTY_PARAMETERS": 9,
1242 | "LOCERR_GENERIC_INTERNAL_ERROR": 10,
1243 | "LOCERR_GENERIC_CORRUPT_DATA": 11,
1244 | "LOCERR_GENERIC_MEMORY_INCONSISTENCY": 12,
1245 | "LOCERR_GENERIC_INVISIBLE_OWNER_ABORT": 13,
1246 | "LOCERR_GENERIC_PROHIBIT_VALIDATE": 14,
1247 | "LOCERR_GENERIC_ABORTED": 15,
1248 | "LOCERR_GENERIC_CONNECTION_LOST": 16,
1249 | "LOCERR_GENERIC_UNSUPPORTED_IN_PRODUCT_VERSION": 17,
1250 | "LOCERR_GENERIC_REST_CONNECTION_FAILURE": 18,
1251 | "LOCERR_HTTP_400": 400,
1252 | "LOCERR_HTTP_401": 401,
1253 | "LOCERR_HTTP_402": 402,
1254 | "LOCERR_HTTP_403": 403,
1255 | "LOCERR_HTTP_404": 404,
1256 | "LOCERR_HTTP_405": 405,
1257 | "LOCERR_HTTP_406": 406,
1258 | "LOCERR_HTTP_407": 407,
1259 | "LOCERR_HTTP_408": 408,
1260 | "LOCERR_HTTP_409": 409,
1261 | "LOCERR_HTTP_410": 410,
1262 | "LOCERR_HTTP_411": 411,
1263 | "LOCERR_HTTP_412": 412,
1264 | "LOCERR_HTTP_413": 413,
1265 | "LOCERR_HTTP_414": 414,
1266 | "LOCERR_HTTP_415": 415,
1267 | "LOCERR_HTTP_416": 416,
1268 | "LOCERR_HTTP_417": 417,
1269 | "LOCERR_HTTP_429": 429,
1270 | "LOCERR_HTTP_500": 500,
1271 | "LOCERR_HTTP_501": 501,
1272 | "LOCERR_HTTP_502": 502,
1273 | "LOCERR_HTTP_503": 503,
1274 | "LOCERR_HTTP_504": 504,
1275 | "LOCERR_HTTP_505": 505,
1276 | "LOCERR_HTTP_509": 509,
1277 | "LOCERR_HTTP_COULD_NOT_RESOLVE_HOST": 700,
1278 | "LOCERR_APP_ALREADY_EXISTS": 1000,
1279 | "LOCERR_APP_INVALID_NAME": 1001,
1280 | "LOCERR_APP_ALREADY_OPEN": 1002,
1281 | "LOCERR_APP_NOT_FOUND": 1003,
1282 | "LOCERR_APP_IMPORT_FAILED": 1004,
1283 | "LOCERR_APP_SAVE_FAILED": 1005,
1284 | "LOCERR_APP_CREATE_FAILED": 1006,
1285 | "LOCERR_APP_INVALID": 1007,
1286 | "LOCERR_APP_CONNECT_FAILED": 1008,
1287 | "LOCERR_APP_ALREADY_OPEN_IN_DIFFERENT_MODE": 1009,
1288 | "LOCERR_APP_MIGRATION_COULD_NOT_CONTACT_MIGRATION_SERVICE": 1010,
1289 | "LOCERR_APP_MIGRATION_COULD_NOT_START_MIGRATION": 1011,
1290 | "LOCERR_APP_MIGRATION_FAILURE": 1012,
1291 | "LOCERR_APP_SCRIPT_MISSING": 1013,
1292 | "LOCERR_APP_EXPORT_FAILED": 1014,
1293 | "LOCERR_CONNECTION_ALREADY_EXISTS": 2000,
1294 | "LOCERR_CONNECTION_NOT_FOUND": 2001,
1295 | "LOCERR_CONNECTION_FAILED_TO_LOAD": 2002,
1296 | "LOCERR_CONNECTION_FAILED_TO_IMPORT": 2003,
1297 | "LOCERR_CONNECTION_NAME_IS_INVALID": 2004,
1298 | "LOCERR_CONNECTOR_NO_FILE_STREAMING_SUPPORT": 2300,
1299 | "LOCERR_CONNECTOR_FILESIZE_EXCEEDED_BUFFER_SIZE": 2301,
1300 | "LOCERR_FILE_ACCESS_DENIED": 3000,
1301 | "LOCERR_FILE_NAME_INVALID": 3001,
1302 | "LOCERR_FILE_CORRUPT": 3002,
1303 | "LOCERR_FILE_NOT_FOUND": 3003,
1304 | "LOCERR_FILE_FORMAT_UNSUPPORTED": 3004,
1305 | "LOCERR_FILE_OPENED_IN_UNSUPPORTED_MODE": 3005,
1306 | "LOCERR_FILE_TABLE_NOT_FOUND": 3006,
1307 | "LOCERR_USER_ACCESS_DENIED": 4000,
1308 | "LOCERR_USER_IMPERSONATION_FAILED": 4001,
1309 | "LOCERR_SERVER_OUT_OF_SESSION_AND_USER_CALS": 5000,
1310 | "LOCERR_SERVER_OUT_OF_SESSION_CALS": 5001,
1311 | "LOCERR_SERVER_OUT_OF_USAGE_CALS": 5002,
1312 | "LOCERR_SERVER_OUT_OF_CALS": 5003,
1313 | "LOCERR_SERVER_OUT_OF_NAMED_CALS": 5004,
1314 | "LOCERR_SERVER_OFF_DUTY": 5005,
1315 | "LOCERR_SERVER_BUSY": 5006,
1316 | "LOCERR_SERVER_LICENSE_EXPIRED": 5007,
1317 | "LOCERR_SERVER_AJAX_DISABLED": 5008,
1318 | "LOCERR_HC_INVALID_OBJECT": 6000,
1319 | "LOCERR_HC_RESULT_TOO_LARGE": 6001,
1320 | "LOCERR_HC_INVALID_OBJECT_STATE": 6002,
1321 | "LOCERR_HC_MODAL_OBJECT_ERROR": 6003,
1322 | "LOCERR_CALC_INVALID_DEF": 7000,
1323 | "LOCERR_CALC_NOT_IN_LIB": 7001,
1324 | "LOCERR_CALC_HEAP_ERROR": 7002,
1325 | "LOCERR_CALC_TOO_LARGE": 7003,
1326 | "LOCERR_CALC_TIMEOUT": 7004,
1327 | "LOCERR_CALC_EVAL_CONDITION_FAILED": 7005,
1328 | "LOCERR_CALC_MIXED_LINKED_AGGREGATION": 7006,
1329 | "LOCERR_CALC_MISSING_LINKED": 7007,
1330 | "LOCERR_CALC_INVALID_COL_SORT": 7008,
1331 | "LOCERR_CALC_PAGES_TOO_LARGE": 7009,
1332 | "LOCERR_CALC_SEMANTIC_FIELD_NOT_ALLOWED": 7010,
1333 | "LOCERR_CALC_VALIDATION_STATE_INVALID": 7011,
1334 | "LOCERR_CALC_PIVOT_DIMENSIONS_ALREADY_EXISTS": 7012,
1335 | "LOCERR_CALC_MISSING_LINKED_FIELD": 7013,
1336 | "LOCERR_CALC_NOT_CALCULATED": 7014,
1337 | "LOCERR_LAYOUT_EXTENDS_INVALID_ID": 8000,
1338 | "LOCERR_LAYOUT_LINKED_OBJECT_NOT_FOUND": 8001,
1339 | "LOCERR_LAYOUT_LINKED_OBJECT_INVALID": 8002,
1340 | "LOCERR_PERSISTENCE_WRITE_FAILED": 9000,
1341 | "LOCERR_PERSISTENCE_READ_FAILED": 9001,
1342 | "LOCERR_PERSISTENCE_DELETE_FAILED": 9002,
1343 | "LOCERR_PERSISTENCE_NOT_FOUND": 9003,
1344 | "LOCERR_PERSISTENCE_UNSUPPORTED_VERSION": 9004,
1345 | "LOCERR_PERSISTENCE_MIGRATION_FAILED_READ_ONLY": 9005,
1346 | "LOCERR_PERSISTENCE_MIGRATION_CANCELLED": 9006,
1347 | "LOCERR_PERSISTENCE_MIGRATION_BACKUP_FAILED": 9007,
1348 | "LOCERR_PERSISTENCE_DISK_FULL": 9008,
1349 | "LOCERR_PERSISTENCE_NOT_SUPPORTED_FOR_SESSION_APP": 9009,
1350 | "LOCERR_PERSISTENCE_SYNC_SET_CHUNK_INVALID_PARAMETERS": 9510,
1351 | "LOCERR_PERSISTENCE_SYNC_GET_CHUNK_INVALID_PARAMETERS": 9511,
1352 | "LOCERR_SCRIPT_DATASOURCE_ACCESS_DENIED": 10000,
1353 | "LOCERR_RELOAD_IN_PROGRESS": 11000,
1354 | "LOCERR_RELOAD_TABLE_X_NOT_FOUND": 11001,
1355 | "LOCERR_RELOAD_UNKNOWN_STATEMENT": 11002,
1356 | "LOCERR_RELOAD_EXPECTED_SOMETHING_FOUND_UNKNOWN": 11003,
1357 | "LOCERR_RELOAD_EXPECTED_NOTHING_FOUND_UNKNOWN": 11004,
1358 | "LOCERR_RELOAD_EXPECTED_ONE_OF_1_TOKENS_FOUND_UNKNOWN": 11005,
1359 | "LOCERR_RELOAD_EXPECTED_ONE_OF_2_TOKENS_FOUND_UNKNOWN": 11006,
1360 | "LOCERR_RELOAD_EXPECTED_ONE_OF_3_TOKENS_FOUND_UNKNOWN": 11007,
1361 | "LOCERR_RELOAD_EXPECTED_ONE_OF_4_TOKENS_FOUND_UNKNOWN": 11008,
1362 | "LOCERR_RELOAD_EXPECTED_ONE_OF_5_TOKENS_FOUND_UNKNOWN": 11009,
1363 | "LOCERR_RELOAD_EXPECTED_ONE_OF_6_TOKENS_FOUND_UNKNOWN": 11010,
1364 | "LOCERR_RELOAD_EXPECTED_ONE_OF_7_TOKENS_FOUND_UNKNOWN": 11011,
1365 | "LOCERR_RELOAD_EXPECTED_ONE_OF_8_OR_MORE_TOKENS_FOUND_UNKNOWN": 11012,
1366 | "LOCERR_RELOAD_FIELD_X_NOT_FOUND": 11013,
1367 | "LOCERR_RELOAD_MAPPING_TABLE_X_NOT_FOUND": 11014,
1368 | "LOCERR_RELOAD_LIB_CONNECTION_X_NOT_FOUND": 11015,
1369 | "LOCERR_RELOAD_NAME_ALREADY_TAKEN": 11016,
1370 | "LOCERR_RELOAD_WRONG_FILE_FORMAT_DIF": 11017,
1371 | "LOCERR_RELOAD_WRONG_FILE_FORMAT_BIFF": 11018,
1372 | "LOCERR_RELOAD_WRONG_FILE_FORMAT_ENCRYPTED": 11019,
1373 | "LOCERR_RELOAD_OPEN_FILE_ERROR": 11020,
1374 | "LOCERR_RELOAD_AUTO_GENERATE_COUNT": 11021,
1375 | "LOCERR_RELOAD_PE_ILLEGAL_PREFIX_COMB": 11022,
1376 | "LOCERR_RELOAD_MATCHING_CONTROL_STATEMENT_ERROR": 11023,
1377 | "LOCERR_RELOAD_MATCHING_LIBPATH_X_NOT_FOUND": 11024,
1378 | "LOCERR_RELOAD_MATCHING_LIBPATH_X_INVALID": 11025,
1379 | "LOCERR_RELOAD_MATCHING_LIBPATH_X_OUTSIDE": 11026,
1380 | "LOCERR_RELOAD_NO_QUALIFIED_PATH_FOR_FILE": 11027,
1381 | "LOCERR_RELOAD_MODE_STATEMENT_ONLY_FOR_LIB_PATHS": 11028,
1382 | "LOCERR_RELOAD_INCONSISTENT_USE_OF_SEMANTIC_FIELDS": 11029,
1383 | "LOCERR_RELOAD_NO_OPEN_DATABASE": 11030,
1384 | "LOCERR_RELOAD_AGGREGATION_REQUIRED_BY_GROUP_BY": 11031,
1385 | "LOCERR_RELOAD_CONNECT_MUST_USE_LIB_PREFIX_IN_THIS_MODE": 11032,
1386 | "LOCERR_RELOAD_ODBC_CONNECT_FAILED": 11033,
1387 | "LOCERR_RELOAD_OLEDB_CONNECT_FAILED": 11034,
1388 | "LOCERR_RELOAD_CUSTOM_CONNECT_FAILED": 11035,
1389 | "LOCERR_RELOAD_ODBC_READ_FAILED": 11036,
1390 | "LOCERR_RELOAD_OLEDB_READ_FAILED": 11037,
1391 | "LOCERR_RELOAD_CUSTOM_READ_FAILED": 11038,
1392 | "LOCERR_RELOAD_BINARY_LOAD_PROHIBITED": 11039,
1393 | "LOCERR_RELOAD_CONNECTOR_START_FAILED": 11040,
1394 | "LOCERR_RELOAD_CONNECTOR_NOT_RESPONDING": 11041,
1395 | "LOCERR_RELOAD_CONNECTOR_REPLY_ERROR": 11042,
1396 | "LOCERR_RELOAD_CONNECTOR_CONNECT_ERROR": 11043,
1397 | "LOCERR_RELOAD_CONNECTOR_NOT_FOUND_ERROR": 11044,
1398 | "LOCERR_PERSONAL_NEW_VERSION_AVAILABLE": 12000,
1399 | "LOCERR_PERSONAL_VERSION_EXPIRED": 12001,
1400 | "LOCERR_PERSONAL_SECTION_ACCESS_DETECTED": 12002,
1401 | "LOCERR_PERSONAL_APP_DELETION_FAILED": 12003,
1402 | "LOCERR_USER_AUTHENTICATION_FAILURE": 12004,
1403 | "LOCERR_EXPORT_OUT_OF_MEMORY": 13000,
1404 | "LOCERR_EXPORT_NO_DATA": 13001,
1405 | "LOCERR_SYNC_INVALID_OFFSET": 14000,
1406 | "LOCERR_SEARCH_TIMEOUT": 15000,
1407 | "LOCERR_DIRECT_DISCOVERY_LINKED_EXPRESSION_FAIL": 16000,
1408 | "LOCERR_DIRECT_DISCOVERY_ROWCOUNT_OVERFLOW": 16001,
1409 | "LOCERR_DIRECT_DISCOVERY_EMPTY_RESULT": 16002,
1410 | "LOCERR_DIRECT_DISCOVERY_DB_CONNECTION_FAILED": 16003,
1411 | "LOCERR_DIRECT_DISCOVERY_MEASURE_NOT_ALLOWED": 16004,
1412 | "LOCERR_DIRECT_DISCOVERY_DETAIL_NOT_ALLOWED": 16005,
1413 | "LOCERR_DIRECT_DISCOVERY_NOT_SYNTH_CIRCULAR_ALLOWED": 16006,
1414 | "LOCERR_DIRECT_DISCOVERY_ONLY_ONE_DD_TABLE_ALLOWED": 16007,
1415 | "LOCERR_DIRECT_DISCOVERY_DB_AUTHORIZATION_FAILED": 16008,
1416 | "LOCERR_SMART_LOAD_TABLE_NOT_FOUND": 17000,
1417 | "LOCERR_SMART_LOAD_TABLE_DUPLICATED": 17001,
1418 | "LOCERR_VARIABLE_NO_NAME": 18000,
1419 | "LOCERR_VARIABLE_DUPLICATE_NAME": 18001,
1420 | "LOCERR_VARIABLE_INCONSISTENCY": 18002,
1421 | "LOCERR_MEDIA_LIBRARY_LIST_FAILED": 19000,
1422 | "LOCERR_MEDIA_LIBRARY_CONTENT_FAILED": 19001,
1423 | "LOCERR_MEDIA_BUNDLING_FAILED": 19002,
1424 | "LOCERR_MEDIA_UNBUNDLING_FAILED": 19003,
1425 | "LOCERR_MEDIA_LIBRARY_NOT_FOUND": 19004,
1426 | "LOCERR_FEATURE_DISABLED": 20000,
1427 | "LOCERR_JSON_RPC_INVALID_REQUEST": -32600,
1428 | "LOCERR_JSON_RPC_METHOD_NOT_FOUND": -32601,
1429 | "LOCERR_JSON_RPC_INVALID_PARAMETERS": -32602,
1430 | "LOCERR_JSON_RPC_INTERNAL_ERROR": -32603,
1431 | "LOCERR_JSON_RPC_PARSE_ERROR": -32700,
1432 | "LOCERR_MQ_SOCKET_CONNECT_FAILURE": 33000,
1433 | "LOCERR_MQ_SOCKET_OPEN_FAILURE": 33001,
1434 | "LOCERR_MQ_PROTOCOL_NO_RESPONE": 33002,
1435 | "LOCERR_MQ_PROTOCOL_LIBRARY_EXCEPTION": 33003,
1436 | "LOCERR_MQ_PROTOCOL_CONNECTION_CLOSED": 33004,
1437 | "LOCERR_MQ_PROTOCOL_CHANNEL_CLOSED": 33005,
1438 | "LOCERR_MQ_PROTOCOL_UNKNOWN_ERROR": 33006,
1439 | "LOCERR_MQ_PROTOCOL_INVALID_STATUS": 33007,
1440 | "LOCERR_EXTENGINE_GRPC_STATUS_OK": 22000,
1441 | "LOCERR_EXTENGINE_GRPC_STATUS_CANCELLED": 22001,
1442 | "LOCERR_EXTENGINE_GRPC_STATUS_UNKNOWN": 22002,
1443 | "LOCERR_EXTENGINE_GRPC_STATUS_INVALID_ARGUMENT": 22003,
1444 | "LOCERR_EXTENGINE_GRPC_STATUS_DEADLINE_EXCEEDED": 22004,
1445 | "LOCERR_EXTENGINE_GRPC_STATUS_NOT_FOUND": 22005,
1446 | "LOCERR_EXTENGINE_GRPC_STATUS_ALREADY_EXISTS": 22006,
1447 | "LOCERR_EXTENGINE_GRPC_STATUS_PERMISSION_DENIED": 22007,
1448 | "LOCERR_EXTENGINE_GRPC_STATUS_RESOURCE_EXHAUSTED": 22008,
1449 | "LOCERR_EXTENGINE_GRPC_STATUS_FAILED_PRECONDITION": 22009,
1450 | "LOCERR_EXTENGINE_GRPC_STATUS_ABORTED": 22010,
1451 | "LOCERR_EXTENGINE_GRPC_STATUS_OUT_OF_RANGE": 22011,
1452 | "LOCERR_EXTENGINE_GRPC_STATUS_UNIMPLEMENTED": 22012,
1453 | "LOCERR_EXTENGINE_GRPC_STATUS_INTERNAL": 22013,
1454 | "LOCERR_EXTENGINE_GRPC_STATUS_UNAVAILABLE": 22014,
1455 | "LOCERR_EXTENGINE_GRPC_STATUS_DATA_LOSS": 22015,
1456 | "LOCERR_EXTENGINE_GRPC_STATUS_UNAUTHENTICATED": 22016,
1457 | "LOCERR_LXW_INVALID_OBJ": 23001,
1458 | "LOCERR_LXW_INVALID_FILE": 23002,
1459 | "LOCERR_LXW_INVALID_SHEET": 23003,
1460 | "LOCERR_LXW_INVALID_EXPORT_RANGE": 23004,
1461 | "LOCERR_LXW_ERROR": 23005,
1462 | "LOCERR_LXW_ERROR_MEMORY_MALLOC_FAILED": 23006,
1463 | "LOCERR_LXW_ERROR_CREATING_XLSX_FILE": 23007,
1464 | "LOCERR_LXW_ERROR_CREATING_TMPFILE": 23008,
1465 | "LOCERR_LXW_ERROR_ZIP_FILE_OPERATION": 23009,
1466 | "LOCERR_LXW_ERROR_ZIP_FILE_ADD": 23010,
1467 | "LOCERR_LXW_ERROR_ZIP_CLOSE": 23011,
1468 | "LOCERR_LXW_ERROR_NULL_PARAMETER_IGNORED": 23012,
1469 | "LOCERR_LXW_ERROR_MAX_STRING_LENGTH_EXCEEDED": 23013,
1470 | "LOCERR_LXW_ERROR_255_STRING_LENGTH_EXCEEDED": 23014,
1471 | "LOCERR_LXW_ERROR_SHARED_STRING_INDEX_NOT_FOUND": 23015,
1472 | "LOCERR_LXW_ERROR_WORKSHEET_INDEX_OUT_OF_RANGE": 23016,
1473 | "LOCERR_LXW_ERROR_WORKSHEET_MAX_NUMBER_URLS_EXCEEDED": 23017
1474 | },
1475 | "LocalizedWarningCode": {
1476 | "LOCWARN_PERSONAL_RELOAD_REQUIRED": 0,
1477 | "LOCWARN_PERSONAL_VERSION_EXPIRES_SOON": 1,
1478 | "LOCWARN_EXPORT_DATA_TRUNCATED": 1000,
1479 | "LOCWARN_COULD_NOT_OPEN_ALL_OBJECTS": 2000
1480 | },
1481 | "GrpType": {
1482 | "GRP_NX_NONE": 0,
1483 | "GRP_NX_HIEARCHY": 1,
1484 | "GRP_NX_COLLECTION": 2
1485 | },
1486 | "ExportFileType": {
1487 | "EXPORT_CSV_C": 0,
1488 | "EXPORT_CSV_T": 1,
1489 | "EXPORT_OOXML": 2
1490 | },
1491 | "ExportState": {
1492 | "EXPORT_POSSIBLE": 0,
1493 | "EXPORT_ALL": 1
1494 | },
1495 | "DimCellType": {
1496 | "NX_DIM_CELL_VALUE": 0,
1497 | "NX_DIM_CELL_EMPTY": 1,
1498 | "NX_DIM_CELL_NORMAL": 2,
1499 | "NX_DIM_CELL_TOTAL": 3,
1500 | "NX_DIM_CELL_OTHER": 4,
1501 | "NX_DIM_CELL_AGGR": 5,
1502 | "NX_DIM_CELL_PSEUDO": 6,
1503 | "NX_DIM_CELL_ROOT": 7,
1504 | "NX_DIM_CELL_NULL": 8,
1505 | "NX_DIM_CELL_GENERATED": 9
1506 | },
1507 | "StackElemType": {
1508 | "NX_STACK_CELL_NORMAL": 0,
1509 | "NX_STACK_CELL_TOTAL": 1,
1510 | "NX_STACK_CELL_OTHER": 2,
1511 | "NX_STACK_CELL_SUM": 3,
1512 | "NX_STACK_CELL_VALUE": 4,
1513 | "NX_STACK_CELL_PSEUDO": 5
1514 | },
1515 | "SortIndicatorType": {
1516 | "NX_SORT_INDICATE_NONE": 0,
1517 | "NX_SORT_INDICATE_ASC": 1,
1518 | "NX_SORT_INDICATE_DESC": 2
1519 | },
1520 | "DimensionType": {
1521 | "NX_DIMENSION_TYPE_DISCRETE": 0,
1522 | "NX_DIMENSION_TYPE_NUMERIC": 1,
1523 | "NX_DIMENSION_TYPE_TIME": 2
1524 | },
1525 | "FieldSelectionMode": {
1526 | "SELECTION_MODE_NORMAL": 0,
1527 | "SELECTION_MODE_AND": 1,
1528 | "SELECTION_MODE_NOT": 2
1529 | },
1530 | "FrequencyMode": {
1531 | "NX_FREQUENCY_NONE": 0,
1532 | "NX_FREQUENCY_VALUE": 1,
1533 | "NX_FREQUENCY_PERCENT": 2,
1534 | "NX_FREQUENCY_RELATIVE": 3
1535 | },
1536 | "DataReductionMode": {
1537 | "DATA_REDUCTION_NONE": 0,
1538 | "DATA_REDUCTION_ONEDIM": 1,
1539 | "DATA_REDUCTION_SCATTERED": 2,
1540 | "DATA_REDUCTION_CLUSTERED": 3,
1541 | "DATA_REDUCTION_STACKED": 4
1542 | },
1543 | "HypercubeMode": {
1544 | "DATA_MODE_STRAIGHT": 0,
1545 | "DATA_MODE_PIVOT": 1,
1546 | "DATA_MODE_PIVOT_STACK": 2,
1547 | "DATA_MODE_TREE": 3
1548 | },
1549 | "PatchOperationType": {
1550 | "Add": 0,
1551 | "Remove": 1,
1552 | "Replace": 2
1553 | },
1554 | "SelectionCellType": {
1555 | "NX_CELL_DATA": 0,
1556 | "NX_CELL_TOP": 1,
1557 | "NX_CELL_LEFT": 2
1558 | },
1559 | "MatchingFieldMode": {
1560 | "MATCHINGFIELDMODE_MATCH_ALL": 0,
1561 | "MATCHINGFIELDMODE_MATCH_ONE": 1
1562 | },
1563 | "SessionState": {
1564 | "SESSION_CREATED": 0,
1565 | "SESSION_ATTACHED": 1
1566 | },
1567 | "ReloadState": {
1568 | "RELOAD_PAUSED": 0,
1569 | "RELOAD_STARTED": 1,
1570 | "RELOAD_ABORTED": 2
1571 | },
1572 | "QrsChangeType": {
1573 | "QRS_CHANGE_UNDEFINED": 0,
1574 | "QRS_CHANGE_ADD": 1,
1575 | "QRS_CHANGE_UPDATE": 2,
1576 | "QRS_CHANGE_DELETE": 3
1577 | },
1578 | "ExtEngineDataType": {
1579 | "NX_EXT_DATATYPE_STRING": 0,
1580 | "NX_EXT_DATATYPE_DOUBLE": 1,
1581 | "NX_EXT_DATATYPE_BOTH": 2
1582 | },
1583 | "ExtEngineFunctionType": {
1584 | "NX_EXT_FUNCTIONTYPE_SCALAR": 0,
1585 | "NX_EXT_FUNCTIONTYPE_AGGR": 1,
1586 | "NX_EXT_FUNCTIONTYPE_TENSOR": 2
1587 | },
1588 | "ExtEngineMsgType": {
1589 | "NX_EXT_MSGTYPE_FUNCTION_CALL": 1,
1590 | "NX_EXT_MSGTYPE_SCRIPT_CALL": 2,
1591 | "NX_EXT_MSGTYPE_RETURN_VALUE": 3,
1592 | "NX_EXT_MSGTYPE_RETURN_MULTIPLE": 4,
1593 | "NX_EXT_MSGTYPE_RETURN_ERROR": 5
1594 | }
1595 | },
1596 | "version": "12.67.2"
1597 | }
1598 |
--------------------------------------------------------------------------------
/src/template.ng.html:
--------------------------------------------------------------------------------
1 |
2 |
Advanced Analytics Expression Builder
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/src/templates/clusterscatter.json:
--------------------------------------------------------------------------------
1 | { "qInfo": {
2 | "qType": "masterobject"
3 | },
4 | "qMetaDef": {
5 | "title": "",
6 | "description": "",
7 | "tags": []
8 | },
9 | "qHyperCubeDef": {
10 | "qDimensions": [
11 | {
12 | "qLibraryId": "9c72bcef-c513-4cd3-93c3-6cdae84c3253",
13 | "qDef": {
14 | "qGrouping": "N",
15 | "qFieldDefs": [],
16 | "qFieldLabels": [],
17 | "qSortCriterias": [
18 | {
19 | "qSortByLoadOrder": 1,
20 | "qExpression": {}
21 | }
22 | ],
23 | "qNumberPresentations": [],
24 | "qActiveField": 0,
25 | "autoSort": true,
26 | "cId": "aVgJPP",
27 | "othersLabel": "Others"
28 | },
29 | "qNullSuppression": true,
30 | "qOtherTotalSpec": {
31 | "qOtherMode": "OTHER_OFF",
32 | "qOtherCounted": {
33 | "qv": "10"
34 | },
35 | "qOtherLimit": {
36 | "qv": "0"
37 | },
38 | "qOtherLimitMode": "OTHER_GE_LIMIT",
39 | "qForceBadValueKeeping": true,
40 | "qApplyEvenWhenPossiblyWrongResult": true,
41 | "qOtherSortMode": "OTHER_SORT_DESCENDING",
42 | "qTotalMode": "TOTAL_OFF",
43 | "qReferencedExpression": {}
44 | },
45 | "qOtherLabel": {
46 | "qv": "Others"
47 | },
48 | "qTotalLabel": {},
49 | "qCalcCond": {},
50 | "qAttributeExpressions": [
51 | {
52 | "qLibraryId": "d7bc4100-1953-4472-bf0f-1a0423550c1f",
53 | "id": "colorByAlternative",
54 | "matchMeasure": -1
55 | }
56 | ],
57 | "qAttributeDimensions": []
58 | }
59 | ],
60 | "qMeasures": [
61 | {
62 | "qLibraryId": "c9553aeb-6073-4c70-bcdc-1f8195b0311d",
63 | "qDef": {
64 | "qTags": [],
65 | "qGrouping": "N",
66 | "qNumFormat": {
67 | "qType": "U",
68 | "qnDec": 10,
69 | "qUseThou": 0
70 | },
71 | "qAccumulate": 0,
72 | "qActiveExpression": 0,
73 | "qExpressions": [],
74 | "autoSort": true,
75 | "cId": "XjkVrHS",
76 | "numFormatFromTemplate": true
77 | },
78 | "qSortBy": {
79 | "qSortByNumeric": -1,
80 | "qSortByLoadOrder": 1,
81 | "qExpression": {}
82 | },
83 | "qAttributeExpressions": [],
84 | "qAttributeDimensions": [],
85 | "qCalcCond": {}
86 | },
87 | {
88 | "qLibraryId": "f052a4ca-a655-4c84-8cfa-c997baf81d88",
89 | "qDef": {
90 | "qTags": [],
91 | "qGrouping": "N",
92 | "qNumFormat": {
93 | "qType": "U",
94 | "qnDec": 10,
95 | "qUseThou": 0
96 | },
97 | "qAccumulate": 0,
98 | "qActiveExpression": 0,
99 | "qExpressions": [],
100 | "autoSort": true,
101 | "cId": "FgTJNAU",
102 | "numFormatFromTemplate": true
103 | },
104 | "qSortBy": {
105 | "qSortByNumeric": -1,
106 | "qSortByLoadOrder": 1,
107 | "qExpression": {}
108 | },
109 | "qAttributeExpressions": [],
110 | "qAttributeDimensions": [],
111 | "qCalcCond": {}
112 | }
113 | ],
114 | "qInterColumnSortOrder": [
115 | 2,
116 | 1,
117 | 0
118 | ],
119 | "qSuppressMissing": true,
120 | "qInitialDataFetch": [],
121 | "qReductionMode": "N",
122 | "qMode": "S",
123 | "qPseudoDimPos": -1,
124 | "qNoOfLeftDims": -1,
125 | "qMaxStackedCells": 5000,
126 | "qCalcCond": {},
127 | "qTitle": {},
128 | "customErrorMessage": {
129 | "calcCond": ""
130 | },
131 | "qLayoutExclude": {
132 | "qHyperCubeDef": {
133 | "qDimensions": [],
134 | "qMeasures": [],
135 | "qInterColumnSortOrder": [],
136 | "qInitialDataFetch": [],
137 | "qReductionMode": "N",
138 | "qMode": "S",
139 | "qPseudoDimPos": -1,
140 | "qNoOfLeftDims": -1,
141 | "qMaxStackedCells": 5000,
142 | "qCalcCond": {},
143 | "qTitle": {}
144 | }
145 | }
146 | },
147 | "refLine": {
148 | "refLinesX": [],
149 | "refLinesY": []
150 | },
151 | "showTitles": true,
152 | "title": "",
153 | "subtitle": "",
154 | "footnote": "",
155 | "showDetails": false,
156 | "navigation": false,
157 | "dataPoint": {
158 | "bubbleSizes": 5,
159 | "rangeBubbleSizes": [
160 | 2,
161 | 8
162 | ]
163 | },
164 | "labels": {
165 | "mode": 1
166 | },
167 | "compressionResolution": 5,
168 | "gridLine": {
169 | "auto": true,
170 | "spacing": 2
171 | },
172 | "color": {
173 | "auto": false,
174 | "mode": "byMeasure",
175 | "useBaseColors": "off",
176 | "singleColor": 3,
177 | "paletteColor": {
178 | "index": 6
179 | },
180 | "persistent": false,
181 | "expressionIsColor": true,
182 | "expressionLabel": "",
183 | "measureScheme": "sg",
184 | "reverseScheme": false,
185 | "dimensionScheme": "12",
186 | "autoMinMax": true,
187 | "measureMin": 0,
188 | "measureMax": 10,
189 | "byMeasureDef": {
190 | "key": "d7bc4100-1953-4472-bf0f-1a0423550c1f",
191 | "type": "libraryItem"
192 | }
193 | },
194 | "legend": {
195 | "show": true,
196 | "dock": "auto",
197 | "showTitle": true
198 | },
199 | "xAxis": {
200 | "show": "all",
201 | "dock": "near",
202 | "spacing": 1,
203 | "autoMinMax": true,
204 | "minMax": "min",
205 | "min": 0,
206 | "max": 10
207 | },
208 | "yAxis": {
209 | "show": "all",
210 | "dock": "near",
211 | "spacing": 1,
212 | "autoMinMax": true,
213 | "minMax": "min",
214 | "min": 0,
215 | "max": 10
216 | },
217 | "visualization": "scatterplot"
218 | }
219 |
--------------------------------------------------------------------------------
/src/templates/combolinearreg.json:
--------------------------------------------------------------------------------
1 | {
2 | "qInfo": {
3 | "qType": "masterobject"
4 | },
5 | "qMetaDef": {
6 | "title": "",
7 | "description": "",
8 | "tags": []
9 | },
10 | "qHyperCubeDef": {
11 | "qDimensions": [
12 | {
13 | "qLibraryId": "",
14 | "qDef": {
15 | "qGrouping": "N",
16 | "qFieldDefs": [],
17 | "qFieldLabels": [],
18 | "qSortCriterias": [
19 | {
20 | "qSortByLoadOrder": 1,
21 | "qExpression": {}
22 | }
23 | ],
24 | "qNumberPresentations": [],
25 | "qActiveField": 0,
26 | "autoSort": true,
27 | "cId": "pkeRA",
28 | "othersLabel": "Others"
29 | },
30 | "qOtherTotalSpec": {
31 | "qOtherMode": "OTHER_OFF",
32 | "qOtherCounted": {
33 | "qv": "10"
34 | },
35 | "qOtherLimit": {
36 | "qv": "0"
37 | },
38 | "qOtherLimitMode": "OTHER_GE_LIMIT",
39 | "qForceBadValueKeeping": true,
40 | "qApplyEvenWhenPossiblyWrongResult": true,
41 | "qOtherSortMode": "OTHER_SORT_DESCENDING",
42 | "qTotalMode": "TOTAL_OFF",
43 | "qReferencedExpression": {}
44 | },
45 | "qOtherLabel": {
46 | "qv": "Others"
47 | },
48 | "qTotalLabel": {},
49 | "qCalcCond": {},
50 | "qAttributeExpressions": [],
51 | "qAttributeDimensions": [],
52 | "title": "",
53 | "othersLabel": "Others"
54 | }
55 | ],
56 | "qMeasures": [
57 | {
58 | "qLibraryId": "",
59 | "qDef": {
60 | "qTags": [],
61 | "qGrouping": "N",
62 | "qNumFormat": {
63 | "qType": "U",
64 | "qnDec": 10,
65 | "qUseThou": 0
66 | },
67 | "qAccumulate": 0,
68 | "qActiveExpression": 0,
69 | "qExpressions": [],
70 | "autoSort": true,
71 | "cId": "gQpP",
72 | "numFormatFromTemplate": true,
73 | "series": {
74 | "type": "marker",
75 | "axis": 0,
76 | "marker": "circle",
77 | "markerFill": true
78 | }
79 | },
80 | "qSortBy": {
81 | "qSortByNumeric": -1,
82 | "qSortByLoadOrder": 1,
83 | "qExpression": {}
84 | },
85 | "qAttributeExpressions": [],
86 | "qAttributeDimensions": [],
87 | "qCalcCond": {},
88 | "title": ""
89 | },
90 | {
91 | "qLibraryId": "",
92 | "qDef": {
93 | "qTags": [],
94 | "qGrouping": "N",
95 | "qNumFormat": {
96 | "qType": "U",
97 | "qnDec": 10,
98 | "qUseThou": 0
99 | },
100 | "qAccumulate": 0,
101 | "qActiveExpression": 0,
102 | "qExpressions": [],
103 | "autoSort": true,
104 | "cId": "fZcuJ",
105 | "numFormatFromTemplate": true,
106 | "series": {
107 | "type": "line",
108 | "axis": 0,
109 | "marker": "circle",
110 | "markerFill": true
111 | }
112 | },
113 | "qSortBy": {
114 | "qSortByNumeric": -1,
115 | "qSortByLoadOrder": 1,
116 | "qExpression": {}
117 | },
118 | "qAttributeExpressions": [],
119 | "qAttributeDimensions": [],
120 | "qCalcCond": {},
121 | "title": ""
122 | },
123 | {
124 | "qLibraryId": "",
125 | "qDef": {
126 | "qTags": [],
127 | "qGrouping": "N",
128 | "qNumFormat": {
129 | "qType": "U",
130 | "qnDec": 10,
131 | "qUseThou": 0
132 | },
133 | "qAccumulate": 0,
134 | "qActiveExpression": 0,
135 | "qExpressions": [],
136 | "autoSort": true,
137 | "cId": "ndkB",
138 | "numFormatFromTemplate": true,
139 | "series": {
140 | "type": "line",
141 | "axis": 0,
142 | "marker": "circle",
143 | "markerFill": true
144 | }
145 | },
146 | "qSortBy": {
147 | "qSortByNumeric": -1,
148 | "qSortByLoadOrder": 1,
149 | "qExpression": {}
150 | },
151 | "qAttributeExpressions": [],
152 | "qAttributeDimensions": [],
153 | "qCalcCond": {},
154 | "title": ""
155 | },
156 | {
157 | "qLibraryId": "",
158 | "qDef": {
159 | "qTags": [],
160 | "qGrouping": "N",
161 | "qNumFormat": {
162 | "qType": "U",
163 | "qnDec": 10,
164 | "qUseThou": 0
165 | },
166 | "qAccumulate": 0,
167 | "qActiveExpression": 0,
168 | "qExpressions": [],
169 | "autoSort": true,
170 | "cId": "JLTVBVx",
171 | "numFormatFromTemplate": true,
172 | "series": {
173 | "type": "line",
174 | "axis": 0,
175 | "marker": "circle",
176 | "markerFill": true
177 | }
178 | },
179 | "qSortBy": {
180 | "qSortByNumeric": -1,
181 | "qSortByLoadOrder": 1,
182 | "qExpression": {}
183 | },
184 | "qAttributeExpressions": [],
185 | "qAttributeDimensions": [],
186 | "qCalcCond": {},
187 | "title": ""
188 | }
189 | ],
190 | "qInterColumnSortOrder": [
191 | 0,
192 | 1,
193 | 2,
194 | 3,
195 | 4
196 | ],
197 | "qSuppressMissing": true,
198 | "qInitialDataFetch": [
199 | {
200 | "qLeft": 0,
201 | "qTop": 0,
202 | "qWidth": 17,
203 | "qHeight": 500
204 | }
205 | ],
206 | "qReductionMode": "N",
207 | "qMode": "S",
208 | "qPseudoDimPos": -1,
209 | "qNoOfLeftDims": -1,
210 | "qAlwaysFullyExpanded": true,
211 | "qMaxStackedCells": 5000,
212 | "qCalcCond": {},
213 | "qTitle": {},
214 | "customErrorMessage": {
215 | "calcCond": ""
216 | },
217 | "qLayoutExclude": {
218 | "qHyperCubeDef": {
219 | "qDimensions": [],
220 | "qMeasures": [],
221 | "qInterColumnSortOrder": [],
222 | "qInitialDataFetch": [],
223 | "qReductionMode": "N",
224 | "qMode": "S",
225 | "qPseudoDimPos": -1,
226 | "qNoOfLeftDims": -1,
227 | "qMaxStackedCells": 5000,
228 | "qCalcCond": {},
229 | "qTitle": {}
230 | }
231 | }
232 | },
233 | "showTitles": true,
234 | "title": "",
235 | "subtitle": "",
236 | "footnote": "",
237 | "showDetails": false,
238 | "scrollStartPos": 0,
239 | "nullMode": "gap",
240 | "dataPoint": {
241 | "show": false,
242 | "showLabels": false
243 | },
244 | "color": {
245 | "auto": true,
246 | "mode": "primary",
247 | "useBaseColors": "off",
248 | "singleColor": 3,
249 | "paletteColor": {
250 | "index": 6
251 | },
252 | "persistent": false,
253 | "expressionIsColor": true,
254 | "expressionLabel": "",
255 | "measureScheme": "sg",
256 | "reverseScheme": false,
257 | "dimensionScheme": "12",
258 | "autoMinMax": true,
259 | "measureMin": 0,
260 | "measureMax": 10,
261 | "useDimColVal": true
262 | },
263 | "legend": {
264 | "show": true,
265 | "dock": "auto",
266 | "showTitle": false
267 | },
268 | "dimensionAxis": {
269 | "continuousAuto": false,
270 | "show": "all",
271 | "label": "auto",
272 | "dock": "near"
273 | },
274 | "preferContinuousAxis": true,
275 | "measureAxis": {
276 | "min": 0,
277 | "max": 10
278 | },
279 | "visualization": "combochart",
280 | "barGrouping": {
281 | "grouping": "grouped"
282 | },
283 | "orientation": "vertical",
284 | "measureAxes": [
285 | {
286 | "show": "labels",
287 | "dock": "near",
288 | "spacing": 1,
289 | "autoMinMax": true,
290 | "minMax": "min",
291 | "min": 0,
292 | "max": 10,
293 | "logarithmic": false
294 | },
295 | {
296 | "show": "all",
297 | "dock": "far",
298 | "spacing": 1,
299 | "autoMinMax": true,
300 | "minMax": "min",
301 | "min": 0,
302 | "max": 10
303 | }
304 | ],
305 | "qLayoutExclude": {
306 | "disabled": {
307 | "refLine": {
308 | "refLines": []
309 | },
310 | "lineType": "line",
311 | "stackedArea": false,
312 | "separateStacking": true,
313 | "gridLine": {
314 | "auto": true,
315 | "spacing": 2
316 | },
317 | "measureAxis": {
318 | "show": "all",
319 | "dock": "near",
320 | "spacing": 1,
321 | "autoMinMax": true,
322 | "minMax": "min",
323 | "min": 0,
324 | "max": 10,
325 | "logarithmic": false
326 | }
327 | },
328 | "quarantine": {}
329 | }
330 | }
331 |
--------------------------------------------------------------------------------
/src/templates/decomline.json:
--------------------------------------------------------------------------------
1 | {
2 | "qInfo": {
3 | "qType": "masterobject"
4 | },
5 | "qMetaDef": {
6 | "title": "",
7 | "description": "",
8 | "tags": []
9 | },
10 | "qHyperCubeDef": {
11 | "qDimensions": [
12 | {
13 | "qLibraryId": "",
14 | "qDef": {
15 | "qGrouping": "N",
16 | "qFieldDefs": [],
17 | "qFieldLabels": [],
18 | "qSortCriterias": [
19 | {
20 | "qSortByLoadOrder": 1,
21 | "qExpression": {}
22 | }
23 | ],
24 | "qNumberPresentations": [],
25 | "qActiveField": 0,
26 | "autoSort": true,
27 | "cId": "pkeRA",
28 | "othersLabel": "Others"
29 | },
30 | "qOtherTotalSpec": {
31 | "qOtherMode": "OTHER_OFF",
32 | "qOtherCounted": {
33 | "qv": "10"
34 | },
35 | "qOtherLimit": {
36 | "qv": "0"
37 | },
38 | "qOtherLimitMode": "OTHER_GE_LIMIT",
39 | "qForceBadValueKeeping": true,
40 | "qApplyEvenWhenPossiblyWrongResult": true,
41 | "qOtherSortMode": "OTHER_SORT_DESCENDING",
42 | "qTotalMode": "TOTAL_OFF",
43 | "qReferencedExpression": {}
44 | },
45 | "qOtherLabel": {
46 | "qv": "Others"
47 | },
48 | "qTotalLabel": {},
49 | "qCalcCond": {},
50 | "qAttributeExpressions": [],
51 | "qAttributeDimensions": []
52 | }
53 | ],
54 | "qMeasures": [
55 | {
56 | "qLibraryId": "",
57 | "qDef": {
58 | "qTags": [],
59 | "qGrouping": "N",
60 | "qNumFormat": {
61 | "qType": "U",
62 | "qnDec": 10,
63 | "qUseThou": 0
64 | },
65 | "qAccumulate": 0,
66 | "qActiveExpression": 0,
67 | "qExpressions": [],
68 | "autoSort": true,
69 | "cId": "fZcuJ",
70 | "numFormatFromTemplate": true
71 | },
72 | "qSortBy": {
73 | "qSortByNumeric": -1,
74 | "qSortByLoadOrder": 1,
75 | "qExpression": {}
76 | },
77 | "qAttributeExpressions": [],
78 | "qAttributeDimensions": [],
79 | "qCalcCond": {}
80 | },
81 | {
82 | "qLibraryId": "",
83 | "qDef": {
84 | "qTags": [],
85 | "qGrouping": "N",
86 | "qNumFormat": {
87 | "qType": "U",
88 | "qnDec": 10,
89 | "qUseThou": 0
90 | },
91 | "qAccumulate": 0,
92 | "qActiveExpression": 0,
93 | "qExpressions": [],
94 | "autoSort": true,
95 | "cId": "ndkB",
96 | "numFormatFromTemplate": true
97 | },
98 | "qSortBy": {
99 | "qSortByNumeric": -1,
100 | "qSortByLoadOrder": 1,
101 | "qExpression": {}
102 | },
103 | "qAttributeExpressions": [],
104 | "qAttributeDimensions": [],
105 | "qCalcCond": {}
106 | },
107 | {
108 | "qLibraryId": "",
109 | "qDef": {
110 | "qTags": [],
111 | "qGrouping": "N",
112 | "qNumFormat": {
113 | "qType": "U",
114 | "qnDec": 10,
115 | "qUseThou": 0
116 | },
117 | "qAccumulate": 0,
118 | "qActiveExpression": 0,
119 | "qExpressions": [],
120 | "autoSort": true,
121 | "cId": "JLTVBVx",
122 | "numFormatFromTemplate": true
123 | },
124 | "qSortBy": {
125 | "qSortByNumeric": -1,
126 | "qSortByLoadOrder": 1,
127 | "qExpression": {}
128 | },
129 | "qAttributeExpressions": [],
130 | "qAttributeDimensions": [],
131 | "qCalcCond": {}
132 | }
133 | ],
134 | "qInterColumnSortOrder": [
135 | 0,
136 | 1,
137 | 2,
138 | 3
139 | ],
140 | "qSuppressMissing": true,
141 | "qInitialDataFetch": [
142 | {
143 | "qLeft": 0,
144 | "qTop": 0,
145 | "qWidth": 17,
146 | "qHeight": 500
147 | }
148 | ],
149 | "qReductionMode": "N",
150 | "qMode": "S",
151 | "qPseudoDimPos": -1,
152 | "qNoOfLeftDims": -1,
153 | "qAlwaysFullyExpanded": true,
154 | "qMaxStackedCells": 5000,
155 | "qCalcCond": {},
156 | "qTitle": {},
157 | "customErrorMessage": {
158 | "calcCond": ""
159 | },
160 | "qLayoutExclude": {
161 | "qHyperCubeDef": {
162 | "qDimensions": [],
163 | "qMeasures": [],
164 | "qInterColumnSortOrder": [],
165 | "qInitialDataFetch": [],
166 | "qReductionMode": "N",
167 | "qMode": "S",
168 | "qPseudoDimPos": -1,
169 | "qNoOfLeftDims": -1,
170 | "qMaxStackedCells": 5000,
171 | "qCalcCond": {},
172 | "qTitle": {}
173 | }
174 | }
175 | },
176 | "refLine": {
177 | "refLines": []
178 | },
179 | "showTitles": true,
180 | "title": "",
181 | "subtitle": "",
182 | "footnote": "",
183 | "showDetails": false,
184 | "lineType": "line",
185 | "stackedArea": false,
186 | "separateStacking": true,
187 | "scrollStartPos": 0,
188 | "nullMode": "gap",
189 | "dataPoint": {
190 | "show": false,
191 | "showLabels": false
192 | },
193 | "gridLine": {
194 | "auto": true,
195 | "spacing": 2
196 | },
197 | "color": {
198 | "auto": true,
199 | "mode": "primary",
200 | "useBaseColors": "off",
201 | "singleColor": 3,
202 | "paletteColor": {
203 | "index": 6
204 | },
205 | "persistent": false,
206 | "expressionIsColor": true,
207 | "expressionLabel": "",
208 | "measureScheme": "sg",
209 | "reverseScheme": false,
210 | "dimensionScheme": "12",
211 | "autoMinMax": true,
212 | "measureMin": 0,
213 | "measureMax": 10
214 | },
215 | "legend": {
216 | "show": true,
217 | "dock": "auto",
218 | "showTitle": true
219 | },
220 | "dimensionAxis": {
221 | "continuousAuto": true,
222 | "show": "all",
223 | "label": "auto",
224 | "dock": "near"
225 | },
226 | "preferContinuousAxis": true,
227 | "measureAxis": {
228 | "show": "all",
229 | "dock": "near",
230 | "spacing": 1,
231 | "autoMinMax": true,
232 | "minMax": "min",
233 | "min": 0,
234 | "max": 10,
235 | "logarithmic": false
236 | },
237 | "visualization": "linechart"
238 | }
239 |
--------------------------------------------------------------------------------
/src/templates/kpi.json:
--------------------------------------------------------------------------------
1 | {
2 | "qInfo": {
3 | "qType": "masterobject"
4 | },
5 | "qMetaDef": {
6 | "title": "",
7 | "description": "",
8 | "tags": []
9 | },
10 | "qHyperCubeDef": {
11 | "qDimensions": [],
12 | "qMeasures": [
13 | {
14 | "qLibraryId": "",
15 | "qDef": {
16 | "qTags": [],
17 | "qGrouping": "N",
18 | "qNumFormat": {
19 | "qType": "U",
20 | "qnDec": 10,
21 | "qUseThou": 0
22 | },
23 | "qAccumulate": 0,
24 | "qActiveExpression": 0,
25 | "qExpressions": [],
26 | "autoSort": true,
27 | "numFormatFromTemplate": true,
28 | "conditionalColoring": {
29 | "useConditionalColoring": false,
30 | "singleColor": 3,
31 | "segments": {
32 | "limits": [],
33 | "colors": [
34 | {
35 | "color": 2
36 | }
37 | ]
38 | }
39 | },
40 | "measureAxis": {
41 | "min": 0,
42 | "max": 100
43 | }
44 | },
45 | "qSortBy": {
46 | "qSortByNumeric": -1,
47 | "qSortByLoadOrder": 1,
48 | "qExpression": {}
49 | },
50 | "qAttributeExpressions": [],
51 | "qAttributeDimensions": [],
52 | "qCalcCond": {}
53 | }
54 | ],
55 | "qInterColumnSortOrder": [
56 | 0
57 | ],
58 | "qSuppressMissing": true,
59 | "qInitialDataFetch": [
60 | {
61 | "qLeft": 0,
62 | "qTop": 0,
63 | "qWidth": 500,
64 | "qHeight": 10
65 | }
66 | ],
67 | "qReductionMode": "N",
68 | "qMode": "S",
69 | "qPseudoDimPos": -1,
70 | "qNoOfLeftDims": -1,
71 | "qMaxStackedCells": 5000,
72 | "qCalcCond": {},
73 | "qTitle": {},
74 | "customErrorMessage": {
75 | "calcCond": ""
76 | }
77 | },
78 | "showTitles": false,
79 | "title": "",
80 | "subtitle": "",
81 | "footnote": "",
82 | "showDetails": false,
83 | "showMeasureTitle": true,
84 | "textAlign": "center",
85 | "fontSize": "M",
86 | "useLink": false,
87 | "sheetLink": "",
88 | "openUrlInNewTab": true,
89 | "color": {
90 | "useBaseColors": "measure"
91 | },
92 | "visualization": "kpi"
93 | }
94 |
--------------------------------------------------------------------------------
/src/wbfolder.wbl:
--------------------------------------------------------------------------------
1 | aeRWizard.qext;
2 | aeRWizard.js;
3 | template.ng.html;
4 | dialog-template.ng.html;
5 | definition.js;
6 | wizardList.js;
7 | aeRWizardStyle.css;
8 | clusterscatter.json;
9 | kpi.json
--------------------------------------------------------------------------------
/src/wizardList.js:
--------------------------------------------------------------------------------
1 | //Placeholder Format: ####
2 |
3 | define( [], function () {
4 | 'use strict';
5 | return [
6 | {
7 | index:0,
8 | name:'K-means Cluster',
9 | status:'live',
10 | config:'kmeanscluster'
11 | },
12 | {
13 | index:1,
14 | name:'Time Series Decomposition',
15 | status:'live',
16 | config:'timeseriesdecomposition'
17 | },
18 | {
19 | index:2,
20 | name:'Linear Regression',
21 | status:'live',
22 | config:'linearregression'
23 | }
24 | ]
25 | });
26 |
--------------------------------------------------------------------------------
/src/wizards/kmeanscluster.json:
--------------------------------------------------------------------------------
1 | {
2 | "index":0,
3 | "name":"K-means Cluster",
4 | "status":"live",
5 | "parameters":[
6 | {
7 | "index":0,
8 | "type":"fieldselect",
9 | "includeinfunction":false,
10 | "scriptid":"dimension",
11 | "name":"Dimension"
12 | },
13 | {
14 | "index":1,
15 | "type":"fieldselect",
16 | "tag":"$numeric",
17 | "includeagg":true,
18 | "includeinfunction":true,
19 | "scriptid":"measure1",
20 | "name":"Measure 1",
21 | "hint":"The measure will form the horizontal axis of the scatter plot. It will also form part of the k-means cluster operation"
22 | },
23 | {
24 | "index":2,
25 | "type":"fieldselect",
26 | "tag":"$numeric",
27 | "includeagg":true,
28 | "includeinfunction":true,
29 | "scriptid":"measure2",
30 | "name":"Measure 2",
31 | "array":true,
32 | "hint":"The first measure will form the vertical axis of the scatter plot. This measure and additional ones will be included in the k-means clustering operation."
33 | }
34 | ],
35 | "templates":[
36 | {
37 | "id":"0",
38 | "type":"Measure",
39 | "name":"K-Means Scatter - Measure 1",
40 | "description":"Measure 1 for K-Means scatter plot",
41 | "scriptType":"nativeagg",
42 | "idForField":"measure1"
43 | },
44 | {
45 | "id":"1",
46 | "type":"Measure",
47 | "name":"K-Means Scatter - Measure 2",
48 | "description":"Measure 2 for k-Means scatter plot",
49 | "scriptType":"nativeagg",
50 | "idForField":"measure2"
51 | },
52 | {
53 | "id":"2",
54 | "type":"Measure",
55 | "name":"Cluster Number",
56 | "description":"Returns a K-Means cluster number which is best used as a Color By Measure option",
57 | "scriptType":"R",
58 | "qlikfunction":"R.ScriptEval",
59 | "rscript":"clusterdata <- q;clusterdata[is.na(clusterdata)] <- 0;set.seed(20); cluster <- kmeans(clusterdata,$(vNumberOfClusters),nstart = 20);cluster$cluster;"
60 | },
61 | {
62 | "id":"3",
63 | "type":"Dimension",
64 | "name":"Cluster Dimension",
65 | "description":"The field for the clusters",
66 | "scriptType":"nativefield",
67 | "idForField":"dimension"
68 | }
69 | ],
70 | "viz":[
71 | {
72 | "id":"0",
73 | "type":"clusterscatter",
74 | "vizicon":"scatter-chart",
75 | "title":"K-Means Cluster - Scatter Plot",
76 | "description":"K-means cluster displayed as a scatter plot",
77 | "replacements":[
78 | {
79 | "template":"3",
80 | "path":"qHyperCubeDef.qDimensions[0]",
81 | "key":"qLibraryId"
82 | },
83 | {
84 | "template":"0",
85 | "path":"qHyperCubeDef.qMeasures[0]",
86 | "key":"qLibraryId"
87 | },
88 | {
89 | "template":"1",
90 | "path":"qHyperCubeDef.qMeasures[1]",
91 | "key":"qLibraryId"
92 | },
93 | {
94 | "template":"2",
95 | "path":"qHyperCubeDef.qDimensions[0].qAttributeExpressions[0]",
96 | "key":"qLibraryId"
97 | },
98 | {
99 | "template":"2",
100 | "path":"color.byMeasureDef",
101 | "key":"key"
102 | }
103 | ]
104 | }
105 | ],
106 | "variables":[
107 | {
108 | "id":"0",
109 | "name":"vNumberOfClusters",
110 | "description":"The number of clusters, adjust to meet your needs. Should be a numeric greater than 1 and less than the number of data points",
111 | "definition":"4"
112 | }
113 | ]
114 | }
115 |
--------------------------------------------------------------------------------
/src/wizards/linearregression.json:
--------------------------------------------------------------------------------
1 | {
2 | "index":2,
3 | "name":"Linear Regression",
4 | "status":"live",
5 | "parameters":[
6 | {
7 | "index":0,
8 | "type":"fieldselect",
9 | "tag":"$numeric",
10 | "includeinfunction":true,
11 | "includeagg":true,
12 | "scriptid":"dependent",
13 | "name":"Dependent Variable",
14 | "hint":"This will form the vertical axis of the chart"
15 | },
16 | {
17 | "index":1,
18 | "type":"fieldselect",
19 | "tag":"$numeric",
20 | "includeinfunction":true,
21 | "includeagg":true,
22 | "scriptid":"independent",
23 | "name":"Independent Variables",
24 | "hint":"The first will form the horizontal axis of the chart, others will be included in the regression formula",
25 | "array":true,
26 | "arrayItemDefaults":{"postoperator":"+"},
27 | "scriptisformula":true
28 | }
29 | ],
30 | "templates":[
31 | {
32 | "id":"0",
33 | "type":"Measure",
34 | "name":"LM Prediction",
35 | "description":"The Linear Model Prediction",
36 | "scriptType":"R",
37 | "qlikfunction":"R.ScriptEval",
38 | "rscript":"qslm <- lm(#### ~ ####, q);p <- predict(qslm, q, interval=\"prediction\");p[,1];"
39 | },
40 | {
41 | "id":"1",
42 | "type":"Measure",
43 | "name":"LM Lower CI",
44 | "description":"The Linear Model Lower Confidence Interval",
45 | "scriptType":"R",
46 | "qlikfunction":"R.ScriptEval",
47 | "rscript":"qslm <- lm(#### ~ ####, q);p <- predict(qslm, q, interval=\"confidence\");p[,2];"
48 | },
49 | {
50 | "id":"2",
51 | "type":"Measure",
52 | "name":"LM Upper CI",
53 | "description":"The Linear Model Upper Confidence Interval",
54 | "scriptType":"R",
55 | "qlikfunction":"R.ScriptEval",
56 | "rscript":"qslm <- lm(#### ~ ####, q);p <- predict(qslm, q, interval=\"confidence\");p[,3];"
57 | },
58 | {
59 | "id":"3",
60 | "type":"Measure",
61 | "name":"Dependent Variable",
62 | "description":"The Linear Model Dependant Variable",
63 | "scriptType":"nativeagg",
64 | "idForField":"dependent"
65 | },
66 | {
67 | "id":"4",
68 | "type":"Dimension",
69 | "name":"Independent Variable",
70 | "description":"The Independent Variable",
71 | "scriptType":"nativefield",
72 | "idForField":"independent"
73 | }
74 | ],
75 | "viz":[
76 | {
77 | "id":"0",
78 | "type":"combolinearreg",
79 | "vizicon":"combo-chart",
80 | "title":"Linear Regression",
81 | "description":"Linear Regression",
82 | "replacements":[
83 | {
84 | "template":"4",
85 | "path":"qHyperCubeDef.qDimensions[0]",
86 | "key":"qLibraryId"
87 | },
88 | {
89 | "template":"3",
90 | "path":"qHyperCubeDef.qMeasures[0]",
91 | "key":"qLibraryId"
92 | },
93 | {
94 | "template":"0",
95 | "path":"qHyperCubeDef.qMeasures[1]",
96 | "key":"qLibraryId"
97 | },
98 | {
99 | "template":"1",
100 | "path":"qHyperCubeDef.qMeasures[2]",
101 | "key":"qLibraryId"
102 | },
103 | {
104 | "template":"2",
105 | "path":"qHyperCubeDef.qMeasures[3]",
106 | "key":"qLibraryId"
107 | }
108 | ]
109 | }
110 | ]
111 | }
112 |
--------------------------------------------------------------------------------
/src/wizards/timeseriesdecomposition.json:
--------------------------------------------------------------------------------
1 | {
2 | "index":1,
3 | "name":"Time Series Decomposition",
4 | "status":"live",
5 | "parameters":[
6 | {
7 | "index":0,
8 | "type":"fieldselect",
9 | "tag":"$date",
10 | "includedateagg":true,
11 | "includeinfunction":true,
12 | "scriptid":"date1",
13 | "name":"Date Field",
14 | "hint":"Select the date field and the level of granualarity in the source data"
15 | },
16 | {
17 | "index":1,
18 | "type":"fieldselect",
19 | "tag":"$numeric",
20 | "includeagg":true,
21 | "includeinfunction":true,
22 | "scriptid":"agg1",
23 | "name":"Aggregation"
24 | }
25 | ],
26 | "templates":[
27 | {
28 | "id":"0",
29 | "type":"Measure",
30 | "name":"Trend",
31 | "description":"The trend component from the timeseries",
32 | "scriptType":"R",
33 | "qlikfunction":"R.ScriptEval",
34 | "rscript":"q$rowid <- 1:nrow(q);q2 <- q[order(q$date1),];timeseries <- ts(q2$agg1, start=c($(=YEAR(MIN(#!!#))),$(=NUM(MONTH(MIN(#!!#))))), frequency=!!!frequency!, end=c($(=YEAR(MAX(#!!#))),$(=NUM(MONTH(MAX(#!!#))))));t <- as.numeric(stl(timeseries, s.window=\"periodic\")$time.series[,\"trend\"]);t2 <- c(t,rep(NA,length(q2$date1)-length(t)));t3 <- data.frame(rowid=q2$rowid,data=t2);t3[order(t3$rowid),]$data;"
35 | },
36 | {
37 | "id":"1",
38 | "type":"Measure",
39 | "name":"Seasonal",
40 | "description":"The seasonal component from the timeseries",
41 | "scriptType":"R",
42 | "qlikfunction":"R.ScriptEval",
43 | "rscript":"q$rowid <- 1:nrow(q);q2 <- q[order(q$date1),];timeseries <- ts(q2$agg1, start=c($(=YEAR(MIN(#!!#))),$(=NUM(MONTH(MIN(#!!#))))), frequency=!!!frequency!, end=c($(=YEAR(MAX(#!!#))),$(=NUM(MONTH(MAX(#!!#))))));t <- as.numeric(stl(timeseries, s.window=\"periodic\")$time.series[,\"seasonal\"]);t2 <- c(t,rep(NA,length(q2$date1)-length(t)));t3 <- data.frame(rowid=q2$rowid,data=t2);t3[order(t3$rowid),]$data;"
44 | },
45 | {
46 | "id":"2",
47 | "type":"Measure",
48 | "name":"Random",
49 | "description":"The random component from the timeseries",
50 | "scriptType":"R",
51 | "qlikfunction":"R.ScriptEval",
52 | "rscript":"q$rowid <- 1:nrow(q);q2 <- q[order(q$date1),];timeseries <- ts(q2$agg1, start=c($(=YEAR(MIN(#!!#))),$(=NUM(MONTH(MIN(#!!#))))), frequency=!!!frequency!, end=c($(=YEAR(MAX(#!!#))),$(=NUM(MONTH(MAX(#!!#))))));t <- as.numeric(stl(timeseries, s.window=\"periodic\")$time.series[,\"remainder\"]);t2 <- c(t,rep(NA,length(q2$date1)-length(t)));t3 <- data.frame(rowid=q2$rowid,data=t2);t3[order(t3$rowid),]$data;"
53 | },
54 | {
55 | "id":"3",
56 | "type":"Dimension",
57 | "name":"Time Series Dimension",
58 | "description":"The time series dimension",
59 | "scriptType":"nativedate",
60 | "idForDate":"date1"
61 | }
62 | ],
63 | "viz":[
64 | {
65 | "id":"0",
66 | "type":"decomline",
67 | "vizicon":"line-chart",
68 | "title":"Time Series Decomposition",
69 | "description":"Time Series Decomposition generated by Advanced Analytics Integration Expression Builder",
70 | "replacements":[
71 | {
72 | "template":"3",
73 | "path":"qHyperCubeDef.qDimensions[0]",
74 | "key":"qLibraryId"
75 | },
76 | {
77 | "template":"0",
78 | "path":"qHyperCubeDef.qMeasures[0]",
79 | "key":"qLibraryId"
80 | },
81 | {
82 | "template":"1",
83 | "path":"qHyperCubeDef.qMeasures[1]",
84 | "key":"qLibraryId"
85 | },
86 | {
87 | "template":"2",
88 | "path":"qHyperCubeDef.qMeasures[2]",
89 | "key":"qLibraryId"
90 | }
91 | ]
92 | }
93 | ]
94 | }
95 |
--------------------------------------------------------------------------------