Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
mgranillo
Specialist
Specialist

Extension won't take snapshot

Hello community,

I have the snapshot property turned to true for an extension:

support: {

  snapshot: true

  },

but I can't take a snapshot.  I'm running Sense v 3.0.  Here's the error from the browser.  Any idea what's happening?

2016-08-25 09_09_36-Developer Tools.jpg

4 Replies
Ann-Louise-Andersson
Former Employee
Former Employee

Hi Michael,

I can't reproduce this issue on v 3.0.

Could you send us your extension so that we could look deeper in to it?

Regards,

Ann-Louise

mgranillo
Specialist
Specialist
Author

Ann-Louise,

Thanks for responding.  I've attached the extension.  I simply modified the heatmap javascript file from the d3 library extension on qlik branch (GitHub - skokenes/Qlik-Sense-D3-Visualization-Library: A library of d3 visualizations housed in 1 Ql...).  I just tested some of the other visuals and none of them will take snapshots.  Is it an issue with D3?

Mike

Aiham_Azmeh
Employee
Employee

Hi Michael,

The problem seems to be in a third party library that you are using "senseUtils", witch is "extending" the object with values that have themselves in, this causes the converting sircular structure to JSON console error, and has nothing to do with D3 or QlikSense.

the error comes from this line:

https://github.com/skokenes/senseUtils/blob/master/senseUtils.js#L372

You should contact the author of the library, or just comment this line in your code

bohua_li
Partner - Contributor
Partner - Contributor

Hi Aiham,

I got a similar issue on September release. When take a snapshot of the extension, it gives such error:

Screen Shot 2017-10-24 at 3.10.21 PM.png

It's a simple extension that almost doesn't require anything. Then only thing I concern about this extension: it doesn't have any data in qHypercube. Would that be the reason?

Brs,

//Bohua