Integration, Extension & APIs

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

Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!

Who Me Too'd this topic

ChristofSchwarz
Partner Ambassador
Partner Ambassador

Qlik Sense Engine API: How to create a Snapshot of an object?

Everyone knows the feature of creating a snapshot of an App visualization while making analyses. It remembers the data and the selection of the point when the snapshot was taken.

Screenshot 2016-09-20 15.56.16.png

The question is, how would you programmically create such a snapshot?

I looked into the Chrome Devleopment tool's network protocoll under websockets / frames.

I found out that creating a snapshot in the client is done via CreateBookmark method (surprised that there is no CreateSnapshot method). I tried for a while to manually add obviously necessary keys in the Json struc (the orange marked properties), but there are hundreds more (e.g. storing the hypercube data in the object). I found nothing in the Qlik Sense Developer Help, so can somebody explain?

{

  "handle": 1,

  "method": "CreateBookmark",

  "params": {

  "qProp": {

  "qInfo": {

  "qId": "",

  "qType": "snapshot"

  },

  "timestamp":"1474378569045",

  "qMetaDef": {},

  "sheetId":"kaPTZ",

  "sourceObjectId": "ZPhfBpP",

  "visualization":"kpi",

  "visualizationType":"kpi"

  }

  }

}

What are the necessary steps to create an object snapshot?

Thanks


Who Me Too'd this topic