Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

Highlighted
seebach
Contributor III

Extensions Questions

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?

1 Solution

Accepted Solutions
seebach
Contributor III

Re: Extensions Questions

Regarding issue 1, please see this thread, we have not a good solution yet:

Re: Re: Qlik Sense Desktop, Extension Paint Function called twice

2 Replies
seebach
Contributor III

Re: Extensions Questions

Regarding issue 1, please see this thread, we have not a good solution yet:

Re: Re: Qlik Sense Desktop, Extension Paint Function called twice

akl
Honored Contributor

Re: Extensions Questions

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');

        }

    }

});