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
//https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/CapabilityAPIs/qlik-app-interface.htm | |
import { Component, OnInit, ElementRef, Input } from '@angular/core'; | |
import * as QdtComponents from 'qdt-components'; | |
let qConfig = { | |
"config": { | |
"host": "", | |
"secure": true, | |
"port": 443, | |
"prefix": "", | |
"appId": "" |
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
const Extra = require('telegraf/extra'); | |
const Markup = require('telegraf/markup'); | |
const Composer = require('telegraf/composer') | |
const Stage = require('telegraf/stage') | |
const WizardScene = require('telegraf/scenes/wizard') | |
/*************** | |
* HELPDESK | |
**************/ | |
// BUTTONS |
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
me.getAllresults = function (dimensions, measures) { | |
var deferred = $q.defer(), | |
promises = [], | |
qTotalData = [], | |
qTotalData2 = [], | |
qDimensions = [], | |
qMeasures = []; | |
if (dimensions.length) { |
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
// Inject the custom CSS | |
var vhost = '/extensions', | |
whitelist = [ | |
'localhost:4848', | |
'yourserver' | |
]; | |
if ($.inArray(window.location.host, whitelist) == -1) { | |
vhost = 'https://yourserver/extensions'; |
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 obj5 = { | |
"qInfo": { | |
"qId": "CB01", | |
"qType": "Combo" | |
}, | |
"ListObject1": { | |
"qListObjectDef": { | |
"qDef": { | |
"qFieldDefs": [ | |
"fullNameFL" |
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
/** | |
* Connects to the QRS API (REST based) using certificates. | |
* See this article for more information about connecting to QRS https://help.qlik.com/sense/2.0/en-us/developer/Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-Connect-API.htm | |
* | |
*/ | |
var https = require('https'); | |
var fs = require('fs'); |