Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi i have a few questons about extensions:
1:
If i trace how often Paint is called, it seems to be called 2 times, when an app i opened. And once when for each selection.
2:
The inline editing which is done in the Text & Image object, is there an easy way to reuse the code in my extension?
3:
When will QlikMarket for Sense be opened? I very much like to know if its this month, this year or later.
4:
Is there a option to disable content in the extension when in editmode, making sure you cannot click on it, so drag and drop works correctly. It would be similar to put a grey div layer on top of my content. Or is there a way to detect that I'm in edit mode?
Regarding issue 1, please see this thread, we have not a good solution yet:
Re: Re: Qlik Sense Desktop, Extension Paint Function called twice
Regarding issue 1, please see this thread, we have not a good solution yet:
Re: Re: Qlik Sense Desktop, Extension Paint Function called twice
Sorry for being late on the ball. Totally missed this new subsection of community.
2) Not that I'm aware off. And if you could I would doubt it's supported
3) Ping Pong Brian Munz
4) Sure, just walk the scope chain. Here is a short stub. Let me know if you need more details.
define([],function() {
return {
paint: function($element, layout) {
var parentscope = angular.element($element).scope().$parent.$parent;
$element.html(parentscope.editmode ? 'In Edit Mode' : 'Not in Edit mode');
}
}
});