Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Qlik Sense

You're reading from   Mastering Qlik Sense Expert techniques on self-service data analytics to create enterprise ready Business Intelligence solutions

Arrow left icon
Product type Paperback
Published in Mar 2018
Publisher Packt
ISBN-13 9781783554027
Length 514 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Martin Mahler Martin Mahler
Author Profile Icon Martin Mahler
Martin Mahler
Juan Ignacio Vitantonio Juan Ignacio Vitantonio
Author Profile Icon Juan Ignacio Vitantonio
Juan Ignacio Vitantonio
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Qlik Sense Self-Service Model FREE CHAPTER 2. Transitioning from QlikView to Qlik Sense 3. Security Rules: Attribute Based Access Control 4. Master Items in Qlik Sense 5. Qlik Sense on the Cloud 6. Qlik Sense Data Modeling 7. Best Practices for Loading Data in Qlik Sense 8. Advanced Scripting 9. Advanced Expressions in Qlik Sense 10. Overview of Qlik Sense APIs 11. Working with the Qlik Dev Hub 12. Coding in Qlik Sense 13. Creating Extensions in Qlik Sense 14. Integrating QS in Websites via Mashups 15. Other Books You May Enjoy

Backend API

Similar to the QSocks example, Qlik's Backend API is a wrapper around selected Qlik Engine API methods, but with the difference that the Backend API is aware of the context, which is a WebSocket user session with the current Qlik Sense app.

This means, for example, that if you were to leverage the Backend API to pass on a selection within a visualization extension, the Backend API would utilize the current WebSocket connection and the app in which the extension is used to pass on the selection, for example, via the selectValues method:

var self = this;
$element
.find('li').on('click', function() {
if(this.hasAttribute("data-value")) {
var value = parseInt(this.getAttribute("data-value"), 10), dim = 0;
self
.backendApi.selectValues(dim, [value], true);
}
});

Using the this context (named as self within...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime