5 Replies Latest reply: Jun 6, 2012 1:03 AM by aswin_amar RSS

    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