Skip to main content
Announcements
Defect acknowledgement with Nprinting Engine May 2022 SR2, please READ HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
apatra87
Contributor III
Contributor III

NPrinting Report Fail to show the html link image from QlikSense

Hi Team,

In one of my QlikSense applications, I am showing images through extension objects (Not loaded those images into the QlikSense application, directly load from the hyperlink) one by one as per selection. It's working fine but when I am trying to generate a PPT/PDF report through the On Demand button extension the  Reports are getting generated but the Image sheets are blank. So Into the report not getting those images.

Please help me with that.

Thanking you,

Br,

Anup

 

Labels (2)
1 Solution

Accepted Solutions
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Anup,

Whoever built your NPrinitng OnDemand report didn't study the basics which state that extensions are usually not supported and in addition images (or rather content) from external url is also not supported.

This is well documented on https://help.qlik.com in section which describes what is and what isn't supported.

https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/MultiDocument/Using-Sense-third-part...

https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Qlik-objects-supp...

 

I suggest to recreate your NPrinitng report to work only on suported objects. 

The closest one I use in my projects to show images is map object which allows you dynamicaly display images. I would also consider loading images into the repository or local content library as external sources are not supported. The best option would be to base 64 encode your images into a data.

That process is described here:

https://community.qlik.com/t5/Qlik-NPrinting-Documents/Loading-Image-files-stored-in-database-into-a...

 

Similar topics here:

https://community.qlik.com/t5/Qlik-NPrinting-Documents/Add-external-images-into-and-Excel-report/ta-...

https://community.qlik.com/t5/Qlik-NPrinting-Documents/How-to-add-dynamic-images-in-a-PixelPerfect-t...

 

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

8 Replies
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi Anup,

Whoever built your NPrinitng OnDemand report didn't study the basics which state that extensions are usually not supported and in addition images (or rather content) from external url is also not supported.

This is well documented on https://help.qlik.com in section which describes what is and what isn't supported.

https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/MultiDocument/Using-Sense-third-part...

https://help.qlik.com/en-US/nprinting/May2021/Content/NPrinting/ReportsDevelopment/Qlik-objects-supp...

 

I suggest to recreate your NPrinitng report to work only on suported objects. 

The closest one I use in my projects to show images is map object which allows you dynamicaly display images. I would also consider loading images into the repository or local content library as external sources are not supported. The best option would be to base 64 encode your images into a data.

That process is described here:

https://community.qlik.com/t5/Qlik-NPrinting-Documents/Loading-Image-files-stored-in-database-into-a...

 

Similar topics here:

https://community.qlik.com/t5/Qlik-NPrinting-Documents/Add-external-images-into-and-Excel-report/ta-...

https://community.qlik.com/t5/Qlik-NPrinting-Documents/How-to-add-dynamic-images-in-a-PixelPerfect-t...

 

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.
apatra87
Contributor III
Contributor III
Author

Hi Miszkiewicz,

Thank you for your help.

Actually, the thing is in my QlikSense application currently I am loading all the images from GCP in base64 encoded format. But the number of images is very high more than 50K, so due to that my QlikSense application size getting high after reloading all the images into the application through QVD, so it is hampering the performance and the application size getting very high.

To avoid this I want to load the image runtime into the application as per the selection and generate the NPrinting report.

Thanking you,

Br,

Anup

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

How about loading images to content library and using map object with link to co tent library?

Like i said before. Check help page (i gave you links) to see what is supported and build your solution based on supported solutions only. 

there is not much more i can add to this

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.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Sorry

i have another idea. Alternative can be separate application which loads data as base64 to support Nprinting, but for users you can use solution with extension and link.

You will get performance boost, but will have to maintain 2 apps

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.
apatra87
Contributor III
Contributor III
Author

Hi Miszkiewicz,

Thank you for your help.

I have tested with Map Object using the URL, from my database into the map objects the images are populating. But when I am trying to generate PPT report the slide getting blank, Without the images.

The images are stored in GCP database, not into my local machine.

As you suggested earlier "loading images to the content library and using map object with a link to content library", For more than 50K images that will update on daily basis, will work? Please help me to know the process step by step.

Br,

Anup

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

Well there is nothing more I can help you with - my point is that I always base my solutions on documentation and I dont want to discuss unsupported solutions. Thay may or may not work and conversation ends there for me

In my previous post I have given you a link to this page which state that external sources are not supported (therefore I suggested content library which will be local source in this case):

Lech_Miszkiewicz_0-1630619904021.png

I believe what happens is that when NPrinitng is trying to generate those images from NPrinitng engine it does not have fast enough access to them and therefore they are coming back blank.

Have you tried RDP to NPrinitng engine box as NPrinting service account and open from there your map object to see if it renders ok? If not - then see why (connectivity, service account prioviledges etc...)

At the end I think best solution would be the one where I suggested 2 apps where for NPrinting you will have app with base64 images loaded to the model. That would be probably option I would do in my project if I had such.

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.
Frank_S
Support
Support

I will just add that Lech has provided you with several important helpful links and articles.

You should ensure at the very least that any native Qlik Sense objects that you are using are actually supported as some are not.

Here again is the same article provided above:

In this link there are two important additional link referencing visualization and bundle limitations. These also may reveal any native QS objects you may be using that are not supported.

 

Kind regards...

 

Please remember hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
apatra87
Contributor III
Contributor III
Author

Thank you  Miszkiewicz & Frank for your help.