I have a need to add an unknown number (could be 1-5) of photos contained in a SharePoint Library into a Word template. I also need other data in there from a Sharepoint List. I have no issue adding images individually (I have one doc with 5 signatures), but those have known locations. I can easily identify these photos by a common field and get the content and (I hope correctly) into an Array Variable, but that is where the fun starts. I want one document with the data and the unknown number of photos (which I then PDF, file in SharePoint and email).
My test flow is below
Also attached is my test Word template where I have put an image control into a repeating table control
Two things happen at the bottom (I only want one Word document, so cannot put this in the Apply to each control)
The Word image field is not available for putting the image in (the test text field is however)
The Array Variable is not available to use in the field
I am guessing the answer may be that this is not possible, but would like to know before I spend any more time on it.