Skip to content

Instantly share code, notes, and snippets.

@dmassars
Last active September 2, 2015 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmassars/9ff76a1b26cf88588a1d to your computer and use it in GitHub Desktop.
Save dmassars/9ff76a1b26cf88588a1d to your computer and use it in GitHub Desktop.
QlikSense-Filter Issue
<!doctype html>
<html><head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<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">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="cleartype" content="on">
<link rel="stylesheet" href="/resources/autogenerated/qlikui.css">
<link rel="stylesheet" href="/resources/assets/client/client.css" media="all">
<script src="/resources/assets/external/requirejs/require.js"></script>
<style>
article.qvobject
{
position:absolute;
overflow: hidden;
padding: 10px;
}
</style>
</head>
<body ng-app="filterIssue">
<div ng-controller="MainCtrl">
<div id="CurrentSelections" class="qvobjects" style="position:absolute; top:0px; left:0px; width:100%; height:35px;"> </div>
<div id="QV01" style="position: absolute; top: 50px; left: 20px; width: 90%; height: 50px;" class="qvplaceholder qvtarget"></div>
<!-- <div ng-view=""></div> -->
</div>
</body>
<script>
var filterIssue = angular.module('filterIssue', []);
filterIssue.controller('MainCtrl', function ($scope) {
var config = {
host: window.location.hostname,
prefix: "/",
port: window.location.port,
isSecure: window.location.protocol === "https:"
};
require.config( {
baseUrl: ( config.isSecure ? "https://" : "http://" ) + config.host + (config.port ? ":" + config.port: "") + config.prefix + "resources"
} );
require( ["js/qlik"], function ( qlik ) {
var app = qlik.openApp('11f3cd1f-f84e-45b2-a359-225c1ac49b0e', config); // This is the Helpdesk Management app.
// var app = qlik.openApp('Helpdesk Management.qvf', config);
app.getObject("CurrentSelections","CurrentSelections");
app.getObject('QV01','ycppXj');
});
})
;
</script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment