where is the error? because the PPTX is created with the list data, but the images are not inserted.
Also, as there are several images, how do I index them?
Hi Petr
Thank's for your replay.
I use the picture formatter in lowercase but it doesn't work.
I also tried to insert only one picture as attachment in the list item but no image has been inserted in the PPTX
Can you help me set up the PPTX template if I have several (more than 1) attachments?
Currently, the same data is repeated on another slide with the second attachment because the data has 2 attachments.
In my case, I have successfully displayed the images.
But, when a row/record of Manpower has 2 attachments/images, the Manpower record will be displayed twice with different image, the first one with attachment 1, the second one with attachment 2.
The Attachments array is in Manpowers array as the following screenshot
The images were not uploaded for some reason. Could you share your template, the data you sent to the template and screenshots of your flow with parameters at support@plumsail.com?
I think it repeats all the data on a new slide because there are no repeatable elements on the template slide. The JSON seems don't have nested objects too, although it exists in the template according to the screenshot.
Yes, I also tried it, and unlike DOCX or Excel templates it seems to be not possible to add a dummy picture with alt text into a table cell in PowerPoint and then repeat the cells.
I clarified the question. Unfortunately, due to the specificity of the PowerPoint templates, it's impossible to insert a picture into a repeatable element and add an array of images into one slide.
A possible workaround that might work is inserting images from the array using At operation. But this is a special case when the number of elements (images) in the collection is known in advance, so it is not always applicable.
Also, you can use DOCX templates that support inserting an array of images and save the results into PDF.
It worked fine with pictures when using DOCX template, but I need PPTX as final result.
Unfortunately, DOCX cannot be exported directly using Microsoft Word to PPTX.
One (somewhat roundabout) way to achieve this may be to convert the DOCX document to PDF, then extract all PDF slides as images and insert them into a PPTX document.
PDF-to-images conversion isn't provided by our Documents connector at present, but it can be acheved with free offline tools, such as GhostScript, as described in this StackExchange thread: How to convert PDF to PPT or ODP?. Afterwards, navigate to Insert → Photo Album in PowerPoint to create a PPTX document out of the resulting set of images: