//https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/EngineAPI/Content/Structs/NxCell.htm One of:
- L for Locked
- S for Selected
- O for Optional
- D for Deselected
- A for Alternative
- X for eXcluded
- XS for eXcluded Selected
currApp.model.enigmaModel.getBookmark('45bae6ea-cf08-44db-87ea-787352b85ecf').then(_=>_.publish())//console.log(_), _) |
<!doctype html> | |
<html><head> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Qlik Sense: Mashup</title> | |
<meta charset="utf-8"> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<meta name="HandheldFriendly" content="True"> | |
<meta name="MobileOptimized" content="320"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no"> | |
<meta name="apple-mobile-web-app-capable" content="yes"> |
define("client.assets/controllers/assets-tab-creation-service", ["client.assets/tabs/simple-tab", "client.assets/tabs/accordion-tab", "client.assets/sections/template-section", "client.assets/sections/field-section", "client.assets/sections/dimension-section", "client.assets/sections/measure-section", "client.assets/sections/visualization-section", "client.assets/sections/widget-section", "client.assets/sections/odag-section", "translator"], function(a, b, c, d, e, f, g, h, i, j) { | |
function k(b) { | |
var d = new c(b,"charts"); | |
return new a({ | |
id: "assets-tab-template", | |
section: d, | |
name: "Common.Charts", | |
button: { | |
icon: "object", |
//https://help.qlik.com/en-US/sense-developer/3.1/Subsystems/EngineAPI/Content/Structs/NxCell.htm One of:
var qlik=require('qlik'); var currApp = qlik.currApp(); currApp.field('DateD1'); | |
//TODO: waitFor | |
//TODO: Ensure one value selected first | |
currApp.field('DateD1').field.setNxProperties({ qOneAndOnlyOne: true }) | |
currApp.field('DateD1').field.setNxProperties({ qOneAndOnlyOne: false}) |
{ | |
"delta": true, | |
"handle": 15, | |
"method": "SetProperties", | |
"params": [ | |
{ | |
"qInfo": { | |
"qId": "606d2bc0-723f-411c-87a3-fe4f73be305a", | |
"qType": "appprops" | |
}, |
define("apis/qvariable", [], function() { | |
"use strict"; | |
function a(a) { | |
return a.waitForOpen.promise.then(function() { | |
return a.enigmaModel | |
}) | |
} | |
function b(a, b) { | |
this.app = a, |
define("objects.snapshot/snapshotters/snapshotter", ["jquery", "./object-snapshotter/object-snapshotter", "./sheet-snapshotter/sheet-snapshotter", "./slide-snapshotter/slide-snapshotter", "./story-snapshotter/story-snapshotter"], function(a, b, c, d, e) { | |
function f(a, c) { | |
var d = { | |
left: 0, | |
top: 0, | |
width: 1, | |
height: 1 | |
}; | |
return b.snapshot(a, c.size || { | |
width: 600, |