Skip to content

Instantly share code, notes, and snippets.

qFrequencyMode.md frequency: { type: "string", component: "dropdown", label: "Frequency mode", ref: "qListObjectDef.qFrequencyMode", options: [{ value: "N", label: "No frequency"

https://help.qlik.com/en-US/sense-developer/February2018/APIs/EngineAPI/definitions-NxCell.html

qElemNumber Rank number of the value, starting from 0. If the element number is a negative number, it means that the returned value is not an element number. You can get the following negative values:

-1: the cell is a Total cell. It shows a total. -2: the cell is collapsed. Applies to pivot tables. -3: the cell belongs to the group Others . -4: the cell is empty. Applies to pivot tables. Integer

define("js/single/single-object-service", ["qvangular", "core.utils/deferred", "apis/single-url", "jquery", "general.controllers/error-handler-controller"], function(e, t, n, i, r) {
"use strict";
function o(t, n) {
n.hasOption("debug"),
t.setOnError(function(t) {
n.callback && window[n.callback].onError ? window[n.callback].onError(t.code, t.message) : (window.console.log("Error", t),
e.getService("$delayedModal").isOpened || r.showDialog(t))
}, function(e) {
"OnAuthenticationInformation" !== e.method && window.console.log("Warning", e)
})
define("apis/qfield", ["core.utils/deferred", "core.utils/notification", "apis/qfieldvalue"], function(a, b, c) {
"use strict";
function d(b, c, d, e, f, g, h) {
return b.waitFor ? b.waitFor.then(function() {
return b.field[c].apply(b.field, [d, e, f, g, h].filter(function(a) {
return void 0 !== a
}))
}) : a.resolve()
}
function e(c, d, e) {
//Note thinks like:
//selectionsApi.deactivated()
//backendApi.inSelections()
//backendApi.endSelections()
selectValues: function(a, b, c) {
if (this.selectionsEnabled) {
if (!this.backendApi.inSelections()) {
var d = this.$scope
, e = this;
d.selectionsApi.confirm = function() {

The Backend API is available for extension developers as this.backendApi.

Parameters

qDimNo (Number)

Dimension number. 0 = first dimension.

qValues (Array)

Array of values (qElemNumber in the matrix from the Qlik engine) to select or deselect. > Is it array of values or array of elemNumber?

//app.getObject
q.prototype.getObject = function(b, c, e) {
var f, h, i = this.model;
return c || (c = b,
b = void 0),
f = new a,
i.waitForOpen.promise.then(function() {
if ("CurrentSelections" === c) {
if (b) {
var a = e || {};
//$animate service
//so noanimate turns $animate service off;
//where is $animate defined?
//oh the angular $animate service: https://docs.angularjs.org/api/ng/service/$animate
function s(t, n) {
n.hasOption("noanimate") && e.getService("$animate").enabled(!1),
n.lang && t.setLanguage(n.lang),
n.theme && t.theme.apply(n.theme)
}
//https://usrem-nnd.qliktech.com/api/about/v1/systeminfo
{
"contentHash": "c2a34eda6f0cdb202eb2fc7a19d6a23f",
"senseId": "qliksenseserver:11.24.1",
"originalClassName": "Composition",
"version": "11.24.1",
"deploymentType": "QlikSenseServer",
"releaseLabel": "November 2017",
"deprecatedProductVersion": "4.0.X",
"productName": "Qlik Sense",
//https://usrem-nnd.qliktech.com/api/odag/v1/openapi
{
"swagger" : "2.0",
"info" : {
"description" : "A REST Service for on-demand creation of Qlik apps.",
"version" : "1.6.0",
"title" : "OdagService",
"termsOfService" : "See http://www.qlik.com/us/legal/terms-of-use",
"contact" : {