This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add a new alternate states to a app. | |
* Change a listbox to use this new alternate state. | |
*/ | |
var qsocks = require('qsocks') | |
qsocks.Connect({appname: 'Sales Discovery.qvf'}) | |
.then(function(global) { | |
return global.openDoc('Sales Discovery.qvf') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var qsocks = require('qsocks') | |
var serializeApp = require('serializeapp') | |
var fs = require('fs-extra') | |
var Promise = require('promise') | |
function create(docname) { | |
qsocks.Connect({appname: docname}) | |
.then(function(global) { | |
return global.openDoc(docname) | |
}) |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"properties": { | |
"qTitle": "Telecom Customer Retention", | |
"qLastReloadTime": "2015-09-10T08:37:00.000-0400", | |
"qMigrationHash": "b292f16feef290afff43a1b5f937f45f03c1b830", | |
"qSavedInProductVersion": "2.1.0", | |
"qThumbnail": {}, | |
"description": "The Telecom Customer Retention application is based on data from the wireless phone industry. The application shows how a company within the wireless industry tracks customers for churn and revenue.", | |
"qFileSize": 10485691, | |
"dynamicColor": "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var qsocks = require('qsocks') | |
var serializeApp = require('serializeapp') | |
var fs = require('fs-extra') | |
var Promise = require('promise') | |
function create(docname) { | |
qsocks.Connect({appname: docname}) | |
.then(function(global) { | |
return global.openDoc(docname) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var qsocks = require('qsocks') | |
// Connecting to Qlik Sense Desktop | |
var connect = qsocks.Connect() | |
connect | |
.then(function(global) { | |
// from the global handle we can invoke methods from the global class | |
return global.openDoc('Executive Dashboard.qvf') | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(["jquery", 'qvangular'], function ($, qv) { | |
return { | |
initialProperties: { | |
qHyperCubeDef: { | |
qDimensions: [], | |
qMeasures: [], | |
qInitialDataFetch: [{ | |
qWidth: 2, | |
qHeight: 1 | |
}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var qsocks = require('qsocks'); | |
var serializeApp = require('serializeapp'); | |
var fs = require('fs-extra') | |
var Promise = require('promise'); | |
function create() { | |
qsocks.Connect() | |
.then(function(global) { | |
return global.openDoc('Executive Dashboard.qvf') | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var qsocks = require('qsocks'); | |
var serializeApp = require('serializeapp'); | |
var fs = require('fs-extra') | |
var Promise = require('promise'); | |
qsocks.Connect() | |
.then(function(global) { | |
return global.openDoc('Executive Dashboard.qvf') | |
}) | |
.then(function(app) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Create a Generic Object that contains multiple generic objects. | |
var qsocks = require('qsocks'); | |
//Connect to Qlik Sense Desktop | |
qsocks.Connect().then(function(global) { | |
//Open document Sales Discovery | |
global.openDoc('Sales Discovery.qvf').then(function(app) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(["jquery"], function ($) { | |
return { | |
initialProperties: { | |
version: 1.0, | |
qHyperCubeDef: { | |
qDimensions: [], | |
qMeasures: [], | |
qInitialDataFetch: [{ | |
qWidth: 2, | |
qHeight: 50 |