Hello,
I'm struggling with a weird problem.
I'm making a flow that treat a number of Images wich varies between 0 and 3, from items of a Sharepoint list. No problem to get the content (images) of my sharepoint , nor to convert them to dataUri(base64). The creation of the HTML is good (i'm a front-end developper), and images show when I test the HTML on code pen. But for whatever reason, chen I convert it to pdf using the oneDrive tool, html text is ther but not the images (little grey square with a red cross). Any Idea on why?
Hello again, @Anonymous!
Reading through some posts, I read that some users where having this similar issue because of the dataUri expression fixing it by simply removing an unnecesary pair of ' , however I would recommend you to check this video if you haven't PowerApps PDF Generator using Microsoft Flow PDF Converter - YouTube as it shows step by step how to do this.
Another common issue I read was more of an old well known error. If this was the case, I would recommend you to open a support ticket. Get Help + Support - Power Platform | Microsoft Docs
Cheers,
Rodrigo!
Here they are.
I get the last element from my sharepoint list (1 element, and ID order by desc), I get the attachements from it, wich I convert to DataUri (I put it in a apply to each because the number of attachelents can vary from 0 to 3).
Then I concatenate it with an html <img> tag.
A "html" variable is created before, with the body, html etc..
Aand I concatenate all my <img>+dataUri to the main html variable.
Then it's converted to pdf, and sent.
As I said, the process works because when I test the HTML as a "real" website, the images show.
Hope you can help me!
Hello, @Anonymous!
Could you please share a screenshot to see how the flow is configured?
Thank you and cheers!
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional