Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
amien
Specialist
Specialist

app.getObject('KPI1,'JGYjzsh') works, but is a complete sheet possible?

With the single configurator i can also get an SheetID

But this doesn't work

app.getObject('Sheet1,'c976crraa71cf-4224-a2cf-a7f812ae7b13');

<div class="h500 qvobject borderbottom" id="Sheet1"></div>

Is it possible to embed a whole sheet in this way? or do i need to do it diffently?

1 Solution

Accepted Solutions
Francis_Kabinoff
Former Employee
Former Employee

Honestly not sure if you can get a sheet using getObject, but I don't think so. You can definitely just iFrame a sheet though. Use the single configurator to make it even easier.

View solution in original post

4 Replies
Vincenzo_Esposito

You should, you probably need to give more space to the container box <div>

amien
Specialist
Specialist
Author

when i do this:

app.getObject('kpi7aObj1','c976c33a-71cf-4224-a2cf-a7f896ae7b13');

i get an error:

"invalid visualisation" "the visualisation is not found on the server : sheet"

Francis_Kabinoff
Former Employee
Former Employee

Honestly not sure if you can get a sheet using getObject, but I don't think so. You can definitely just iFrame a sheet though. Use the single configurator to make it even easier.

ErikWetterberg

Hi,

No you can't. app.getObject only works for visualizations, and sheets are not visualizations in Qlik Sense. You would need to get sheet data, which includes an array of included visualizations, and then show each visualization with getObject. This is what single does.

An easier option would be to use an iframe, and include single in it.

Hope this helps

Erik Wetterberg