Qlik Community

Ask a Question

Qlik NPrinting Discussions

Discussion Board for collaboration on Qlik NPrinting.

Announcements
Welcome to our newly redesigned Qlik Community! Read our blog to learn about all the new updates: READ BLOG and REPORTED ISSUES
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Because with NPrinting june 2017 it does not allow to display the anychart extension

Because with NPrinting june 2017 it does not allow to display the anychart extension


Hello

I have a doubt, because NPrinting does not allow me to view the anychart extension for qlikSense ?.

1 Solution

Accepted Solutions

Hi Julio..

not all extensions are supported. there are requirements they need to meet:

All is here (which is above mentioned link):

Requirements

As of the Qlik Sense June 2017 release, all objects that have been added to a sheet can be used as images. Qlik NPrintingdoes not distinguish between native visualizations and extensions. However, for a third-party extension to render correctly, the JavaScript implementation of the extension needs to fulfill certain requirements. In particular, the extension must implement the "finished rendering" notification.

A third-party extension can be used as a table if:

  • The object contains exactly one hypercube.
  • The hypercube is either straight or stacked.

A third-party extension can be used as a level if:

  • The properties of the object contain exactly one hypercube.
  • The hypercube is either straight or stacked.
  • The hypercube has at least one dimension.
  • The hypercube contains no calculated or grouped dimensions.

Qlik NPrinting does not support the exporting or printing of visualization extensions that use:

  • External resources.
  • Internal and undocumented JavaScript modules or APIs.

Setting up a "finished rendering" notification

To export your third-party extension as an image, you must use the paint method to inform Qlik NPrinting that the extension has finished rendering. Otherwise, you could have blank or partially rendered images.

// ..., paint : function() { return qlik.Promise.resolve(); } // ...

and here

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post

2 Replies
Master II
Master II

Hi,

Now it's support in Nprinting JUN 2017 for 3rd party qliksense extension object.

Creating a report using Qlik Sense third-party extensions ‒ Qlik NPrinting

Hi Julio..

not all extensions are supported. there are requirements they need to meet:

All is here (which is above mentioned link):

Requirements

As of the Qlik Sense June 2017 release, all objects that have been added to a sheet can be used as images. Qlik NPrintingdoes not distinguish between native visualizations and extensions. However, for a third-party extension to render correctly, the JavaScript implementation of the extension needs to fulfill certain requirements. In particular, the extension must implement the "finished rendering" notification.

A third-party extension can be used as a table if:

  • The object contains exactly one hypercube.
  • The hypercube is either straight or stacked.

A third-party extension can be used as a level if:

  • The properties of the object contain exactly one hypercube.
  • The hypercube is either straight or stacked.
  • The hypercube has at least one dimension.
  • The hypercube contains no calculated or grouped dimensions.

Qlik NPrinting does not support the exporting or printing of visualization extensions that use:

  • External resources.
  • Internal and undocumented JavaScript modules or APIs.

Setting up a "finished rendering" notification

To export your third-party extension as an image, you must use the paint method to inform Qlik NPrinting that the extension has finished rendering. Otherwise, you could have blank or partially rendered images.

// ..., paint : function() { return qlik.Promise.resolve(); } // ...

and here

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.

View solution in original post