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: 
Digvijay_Singh

NPrinting Sep 2018 Powerpoint template-How to skip specific slides for some of the page field values

Hi,

We are planning to develop dynamic solution where it will be possible to input(via script/SQL table) which of the slides need to be skipped for some customers(cycle field).

It is quite possible to do if there is no paging in power point template but if slides need to be paged for each location for a client, the slide skipping logic looks quite impossible. 

If each slide has individual paging field created through script, it works but order of execution is not helpful. First it creates Slide 1 for all locations, then slide 2 for all locations etc. Our need is to generate Slide 1-10 for location 1 and then again Slide 1-10(skip 7) for location 2.

Has anyone tried this before? Any kind of input is highly appreciated

Thanks,

DJ

 

14 Replies
Ruggero_Piccoli
Support
Support

Hi,

Create a Table Box in the source document and populate it the field that has the values you want to use to generate slides. Add the TB to the Pages node of the PowerPoint template and you get a slide for each value of the table box. So you can control the generated slides by controlling the values in the table box.

APIs are not useful to edit template details.

Best Regards,

Ruggero



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Digvijay_Singh
Author

Hi Ruggero,

We have multiple slides per client(cycle field) and location(Page field).

Do you think this table box if applied to multiple slides(lets say 6-11) can skip slide no 7 for few locations as per the config in table box? I found the way to skip slides if each of the slide has paging field thru new control fields in script. But the negative impact of this is - instead of generating multiple slides(6-11 together) from template for one location, it generates each slide for each location(slide 6 for all location, then slide 7 for all locations and so on). So the order of slide generation is changed and not meeting the needs.

Thanks for your response.

DJ,

Ruggero_Piccoli
Support
Support

Hi,

Cycles creates a different PowerPoint file for each distinct value of the cycled fields.

No, with table box all slides from 6 to 11 will be generated. I don't know a way to remove slide number 7 based on a condition. 

If the TB contains values A, B and C you will have the slides 6-11 for A, B and C. Then if you reload the QlikView document so the TB contains the values A and C you will have the slides 6-11 for values A and C. In all cases you will have all slides from 6 to 11.

Best Regards,

Ruggero 



Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.
Digvijay_Singh
Author

Thanks for your response. Yeah it looks like no way to condition specific slide when bunch of slides to be generated together.

DJ,

Digvijay_Singh
Author

I am closing this discussion with the understanding that there is no way we can skip individual slide for a  page value  in power point when we have to generate multiple slide for a page value.

However Lech said he would give a try, so would wait for his final  say in this. I am marking few responses as solutions as they helped me to make a decision on this requirement.

Thanks,

DJ