Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

How to add dynamic images in a Qlik NPrinting PixelPerfect template with Qlik Sense data

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Ruggero_Piccoli
Support
Support

How to add dynamic images in a Qlik NPrinting PixelPerfect template with Qlik Sense data

Last Update:

Apr 19, 2022 7:40:23 AM

Updated By:

Sonja_Bauernfeind

Created date:

Aug 21, 2019 6:40:29 AM

The goal is to dynamically add images in a PixelPerfect report. In this example we will add country flags, that are stored as image files, in a PixelPerfect template.

 

Environment:

Qlik NPrinting 

 

  1. Create a Qlik Sense app, or use an existing one, with a straight table that has a column with the country name and a column with the path of the image file of the country flag.

    clipboard_image_0.png

  2. Create a Qlik NPrinting connection to that Qlik Sense app and refresh its cache.
  3. Create a new PixelPerfect report and open it in Qlik NPrinting Designer.
  4. Add the Qlik Sense straight table with the flag paths as a Level.

    clipboard_image_1.png

  5. Create the new level detail band in the template

    clipboard_image_2.png

  6. Drag and drop the country cell in the detail band and format it as you prefer. This will print the country name in the final report

    clipboard_image_3.png

  7. From the right side Tool Box drag and drop a Picture Box object on the details band and increase its dimensions.

    clipboard_image_4.png

  8. In the Picture Box left side properties expand the (Data Bindings) node and then expand the Image URL node.

    clipboard_image_5.png

  9. Click on the Binding drop down menu, expand the object in the level and select the Flag column. This link the Picture Box object to the files with the flags thanks to their paths in the Qlik Sense straight table.

    clipboard_image_6.png

  10. Set the Sizing as you prefer.

    clipboard_image_7.png

  11. Run a preview

    clipboard_image_8.png

 

Labels (1)
Comments
poooja
Creator
Creator
 
 
Hi Ruggero,
 
Is it possible to achieve the same in power point template?
 
Thanks!
Pooja
Ruggero_Piccoli
Support
Support

Hi,

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

I added the same Country field in the Page node of a PowerPoint template and the TX1674 mentioned in the tutorial as an image and it worked. 

I hope this helps.

Best REgards,

Ruggero

poooja
Creator
Creator

Hi Ruggero,

Thanks for the detailed explanation.  let me know if its possible  doing this in Qliksense  /Nprinting power point Template.

Thanks!
pooja

haasmwdm
Contributor III
Contributor III

Works quite well! 🙂
But is there a way to display two flags side by side?
Like here: 2 columns, 8 rows

haasmwdm_0-1627391976608.png

**UPDATE**: Found the setting!

haasmwdm_0-1627394216962.png

 

Ruggero_Piccoli
Support
Support

@haasmwdm yesss! That is the way in your case. 

Steviem
Contributor II
Contributor II

Can we do this in qlik sense and excel nprinting?

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Steviem 

Is this what you are looking for? Add external images into a Qlik NPrinting Excel report 

If not, please post your query in the Qlik NPrinting forums so you can gain access to our engineers and active community members.

All the best,
Sonja 

Version history
Last update:
‎2022-04-19 07:40 AM
Updated by: