I am generating pdf using html on power automate, all are fine but i have an issue with images.
1) how can i add a logo on the html so that it will appear in the pdf file
2) any guides or samples to include or call column from sharepoint list which is an image data type.
I have a initialized variable that shows data from sharepoint lists. i want to show the logo at the top of the page so i put the code on the top of the html code but still getting error.
@Sebey add a SharePoint get file content using path action and select the site and file path to the logo. Then in your create file action click on code view and for the logo line add
<img src="{expression}"></img> where the expression is dataUri(body('Get_file_content_using_path'))
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
WarrenBelz
146,635
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional