getSnapshot method

This API is reliable and breaking changes are unlikely. (element, id)

Inserts a Qlik Sense snapshot into a HTML element. The snapshot fills the HTML object so you can size and position the element to determine how large the Qlik Sense object will be.

If you only supply one parameter, you will just get the model without displaying the object.

Version history

Introduced 1.1


Name Type Description
element Element | String


HTML element or string with HTML element id.

id String Snapshot ID.


A promise of an object model

Tip: For more information regarding a promise, see$q#the-promise-api.



Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?