Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
tseebach
Luminary Alumni
Luminary Alumni

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
tseebach
Luminary Alumni
Luminary Alumni
Author

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

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

View solution in original post

2 Replies
tseebach
Luminary Alumni
Luminary Alumni
Author

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

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

Alexander_Thor
Employee
Employee

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

        }

    }

});