Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Announcements
QlikWorld 2020: Join us May 11 - 14, 2020 in Phoenix, AZ. Register early and save $400. Learn More
Partner
Partner

Mashup unable to show chart using OpenAPP API

Hi All,

 

I am writing a simple mashup code to open a chart of specific application and show it in div area of HTML code. 

 

</head>
<style>
#Mydiv{
height:400px;
width:500px;
background-color:#98AFC7;}
</style>
</head>

<body>
<div id="Mydiv"> </div>

<script>
var config = {
host: window.location.hostname,
prefix: "/",
port: window.location.port,
isSecure: window.location.protocol === "https:"
};

var app = qlik.openApp('56d706ec-17c9-4875-a84d-750cd3a917da',config);
app.getObject('Mydiv','JpNbYk');
</script>
</body>
</html>

 

After opening this app HTML file the output does not show anything. Let me know if anything is wrong with above code. Please find the attached error which i see in developer tool.

 

@rwunderlich  @korlikdonlen @chrisprem @bill_markham @Yianni_Ververis @MohammedMustaq 

Labels (3)
1 Reply
Highlighted
ErikWetterberg
Honored Contributor

Re: Mashup unable to show chart using OpenAPP API