Sharepoint list attachments ( image ) into PPTX Template

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

Hello @Riccardo_Greggio,

  1. Please use the picture formatter in lowercase (picture, and not Picture)

{{imageData}:picture}

  1. 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

Hi Ricardo,

I created a test flow and it worked.

These are the steps:

  1. I added an image placeholder with a dummy image to the PPTX template.

  1. I have a test list in SharePoint. There is an item with an image attachment.

  1. 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