Skip to content

Instantly share code, notes, and snippets.

currApp.model.enigmaModel.getBookmark('45bae6ea-cf08-44db-87ea-787352b85ecf').then(_=>_.publish())//console.log(_), _)
@theredpea
theredpea / listitems.html
Last active October 1, 2018 21:10
listitems extension
<!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",
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})
e.storyNavigatorButton = {
icon: "slide-show",
textInactive: "",
name: "nav-story",
tooltipInactive: "Common.Stories",
isToggleButton: !0,
isDropdownButton: !0,
tid: "4e25a3",
showText: s.inStorytelling,
{
"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("text!storytelling.views/play/play.ng.html", [], function() {
return `\x3c!-- Exit button --\x3e
<button ng-show="!slideTransitionInProgress"
qva-activate="onExitClicked($event)"
class="lui-overlay-button qv-story-play-exit"
q-title-translation="Common.Close"
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,