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

Want to make qlikview extension which can be deployed on IE8

Hi,

I am new to Qlikview and trying make some extension which can be used on IE8.

I am using R2D3.js for making D3.js compatible with IE8.

But very simple code coluring text is not working,So, can someone please help me out of this.

My html code is here, which is working fine on Browser :

<!DOCTYPE html>

<meta charset="utf-8">

<!--[if lte IE 8]><script src="../r2d3.js"></script><![endif]-->

<!--[if gte IE 9]><!-->

<script src="../lib/d3/d3.js"></script>

<script>alert("FSDF");</script>

<!--<![endif]-->

<p>

hello

</p>

<script>

d3.select("p").style("color", "red");

</script>

</html>



My extension script code which is not working:


Qva.LoadScript('https://getfirebug.com/firebug-lite-beta.js#startOpened=true', function () {

Qva.LoadScript("/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/r2d3-master/r2d3.js", function() {

Qva.AddExtension('QlikView/D3R2Piechart', function() {

var _this = this;

_this.Element.innerHTML ='<!DOCTYPE html>' + '<meta charset="utf-8' +'">'+'<p>hello</p>' ;

d3.selectAll("p").style("color", "red");

d3.select("body").style("background-color", "black");

},true);

} );

});

4 Replies
Anonymous
Not applicable
Author

Make sure you are using the Ajax client [aka Full Browser] and not the IE Plugin, as extensions only work in Ajax mode and not with the IE Plugin.

Clever_Anjos
Employee
Employee

By default, an extension can´t load any file from "outside" the extension folder.

If your extension resides into QlikView/D3R2Piechart then "r2d3-master/r2d3.js" should reside at same folder

Not applicable
Author

@Clever Anjos,

Thanks for reply first.I tried this also but that is alsonot working.

@Bill Markham How to change or check waht I am using as I havent change with repsect to it.So.Must be using the default one.

Anonymous
Not applicable
Author

Palash

When you open the qvw in AccessPoint and it send you to a url does this contain a string like :

          QvAJAXZfc/

I.e. contains AJAX.

If it contains AJAX you are using AJAX client.  If not then you are not.