Hi -
I am creating a SharePoint site that functions as a marketplace, and I am trying to figure out how to create a weekly newsletter to update people about items that were posted in the past week. I've constructed a flow that sends an HTML table to a specified list of people every week, but I am struggling to upload the associated Item Picture on the HTML file. When the email sends, all the text is present, but there is no image.
Any idea how to remedy this?
Thanks,
Josh
Solved! Go to Solution.
Hi @yoshtrich ,
Do you have a Image Column in your SharePoint list?
Maybe you could check the OUTPUTS of Get Items Action, the value of Thumbnail should be null.
If you want to send the pictures in the Image column to the mail, i have made a simple test for your reference.
Here is my Flow.
_api/web/Lists/getByTitle('Testlist')/items()?$select=ItemPic,Title
json(items('Apply_to_each')?['ItemPic'])?['fileName']
concat('/SiteAssets/Lists/foldername/',outputs('Compose'))
body('Get_file_content_using_path')?['$content']
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<table>
<tr>
<th>Title</th>
<th>ItemPic</th>
</tr>
@{variables('varhtmltable')}
</table>
</body>
</html>
Result Screenshot:
In addition, here are some links that might help you:
https://powerusers.microsoft.com/t5/Building-Flows/HTML-format-in-table/m-p/1640451#M182411
Best Regards,
Charlie Choi
Hi @yoshtrich ,
Do you have a Image Column in your SharePoint list?
Maybe you could check the OUTPUTS of Get Items Action, the value of Thumbnail should be null.
If you want to send the pictures in the Image column to the mail, i have made a simple test for your reference.
Here is my Flow.
_api/web/Lists/getByTitle('Testlist')/items()?$select=ItemPic,Title
json(items('Apply_to_each')?['ItemPic'])?['fileName']
concat('/SiteAssets/Lists/foldername/',outputs('Compose'))
body('Get_file_content_using_path')?['$content']
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<table>
<tr>
<th>Title</th>
<th>ItemPic</th>
</tr>
@{variables('varhtmltable')}
</table>
</body>
</html>
Result Screenshot:
In addition, here are some links that might help you:
https://powerusers.microsoft.com/t5/Building-Flows/HTML-format-in-table/m-p/1640451#M182411
Best Regards,
Charlie Choi
Where did you get the Schema for Parse JSON?
Hi @yoshtrich ,
Here are some links that might help you:
https://tomriha.com/where-do-i-get-schema-for-the-parse-json-action-in-power-automate/
https://www.encodian.com/blog/parsing-json-returned-by-encodian-actions/
Best Regards,
Charlie Choi
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
77 | |
26 | |
20 | |
16 | |
16 |
User | Count |
---|---|
145 | |
44 | |
44 | |
33 | |
30 |