Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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 @Anonymous @Anonymous @Anonymous @Yianni_Ververis @MohammedMustaq
Hi,
You need to load the API before using it. Check the example devlivered with the product:
an easy way to get started is the mashup editor: