
Announcements
Hello there.
I have a SP list displayed in a power app. User filters the list and hits create report. App sends filtered list to Power Automate and I use the Generate Word from template connector to create the file.
I use one page per SP record and because its really hard to created repeating content with sub elements set to specific place in the template, I tried to do this:
Within the power apps input loop, I generate the document and then I have a string variable and I append the Word template content to that variable. After the loop, I use the create file step and I use the string variable but this doesn't generate a Word document with the desired format and it cannot open?
Any ideas of what I am doing wrong or how could I do this without using connectors like encodian etc.?
Thank you in advance
I tried to do it in a different way. So, inside the loop I am creating the Word document using a Word template and then I have a string variable in which I append the $content attribute of that step's body.
When loop is done (which means that I captures all contents of all generated documents, I do a compose and then I create the file. Its partially working, because it seems that I finally get only first copy in the final file and not the rest.
Any ideas??