Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QlikView Server - Crash when an Extension is adding

Hi all,

I try to put an Extension on an QlikView Application in the server side.

My server running in a Windows Server 2003 SP1.

I have a simple extension like an HelloWorld.

My files are in the folder :

C:\Documents and Settings\Administrator.SERVER2003\Local Settings\Application Data\QlikTech\QlikView\Extensions\Objects\HelloWorld

I've copied HelloWorld folder in the folder :

C:\Documents and Settings\All Users\Application Data\QlikTech\QlikViewServer\Extensions\Objects

like the documentation says, and as this post says :

http://community.qlik.com/docs/DOC-1866

I open my QlikView document and switch on WebView. I drag&drop my extension and ... QlikView crash down. With no error, no Windows alert, nothing, just close.

I don't understand what I do wrong...

Here my definition.xml and my script.js :

definition.xml :

<?xml version="1.0" encoding="utf-8"?>

<ExtensionObject Label="Hello User" Description="PMO exemple">

    <Initiate Name="Chart.BgColor.ColorHex" value="#E0FFE0" />

            <Text Initial="" Expression="='Hello ' &amp; OSUser()"/>

</ExtensionObject>

script.js :

var html = "";

Qva.AddExtension('HelloWorld', function() {

    html += "<p style='text-align: center;'>"+ "---===oooOOOooo===---" +"</p>";

    html += "<p style='text-align: center;'>"+ "Hello Word" +"</p>";

    this.Element.innerHTML = html;

});

If anyone could give me a hand I shook his reconnaisant.

Have a nice day.

Patrick

5 Replies
ErikWetterberg

I don't know if this is the problem, but you are creating a global variable called html. You probably should not do that. Try changing to:

Qva.AddExtension('HelloWorld', function() {

    var html = "";

    html += "<p style='text-align: center;'>"+ "---===oooOOOooo===---" +"</p>";

    html += "<p style='text-align: center;'>"+ "Hello Word" +"</p>";

    this.Element.innerHTML = html;

});

Erik

Not applicable
Author

Hi Erik,

Thanks for your remark. Yes, it's a little error from me. But it's not the source of the problem.

But yes, if I don't reset the html variable, the body of the extension are appened each time I reload the page (not fun ).

But my problem about crahing down still there.

Best regards,

Patrick

Not applicable
Author

Hi Patrick,

Is there a solution for this?

I had the same problem with Qlikview 11 installed in Windows XP system.

I tried installing the same qlikview in a Windows Vista system with some better configuration and it worked.

Is there any prerequsite installation need for extensions objects in QV?

regards,

Aswin

Not applicable
Author

Could you please post the qar file?

Not applicable
Author

Hi,

I finally made the extension objects work. I upgraded my Internet Explorer for 7-8. And it started working.

I was trying to use the Extension Example.qar file that is coming with the 11. I tried the extension object Geo Heat map. It was crashing when I draged this object in webview.

I figured out there is some component of internet explorer that is not present. I was using IE 7. I downloaded IE 8 and installed. Then the Extension objects had no issue.

Hope this helps.

Regards,

Aswin