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

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  @Anonymous @Anonymous @Anonymous @Yianni_Ververis @MohammedMustaq 

Labels (3)
1 Reply