Hi to All
I need to attach multiple Sharepoint list attachments ( image ) to a PPTX.
I have this power automate flow:
COMPOSE is:
base64(body('Get_attachment_content'))
Into the PPTX template i insert an image with this Alt Test
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?
thx
Riccardo
Petr
(Petr Bushuev)
November 29, 2024, 9:52am
2
Hello @Riccardo_Greggio ,
Please use the picture formatter in lowercase (picture , and not Picture)
{{imageData}:picture}
Try to insert only one picture, then if it works combine several pictures into an array.
Also, check the example and try to repeat the steps.
Best regards,
Petr
Plumsail team
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
Riccardo
Petr
(Petr Bushuev)
December 2, 2024, 9:14am
4
Hi Ricardo,
I created a test flow and it worked.
These are the steps:
I added an image placeholder with a dummy image to the PPTX template.
I have a test list in SharePoint. There is an item with an image attachment.
I tried to add one picture to simplify the example.
imageData content is the expression:
base64(body('Get_attachment_content'))
The result:
Please try to reproduce the steps. Make sure that the attachment is an image.
Best regards,
Petr
Plumsail team