web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Upload Image from an e...
Power Apps
Unanswered

Upload Image from an email to a Sharepoint List, and get the URL of the image to link it to another Sharepoint List

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello guys !

I'm reaching out to you after a couple days of investigating.
I've recently got to work on an app that wasn't developped by me, so I'm apprehending the code there.
This app is a reporting app, workers use this app to fill in a couple dropdowns, a quick description of their issue and a photo. Once they click on send it sends an email with the content of the report and the photo.

This is where my problem lies.
It should work like this :
User Reports an issue > Sends an email > Uploads the attachment to a Dedicated Documents Sharepoint List > URL gets uploaded in the "Image" field of the Sharepoint List with all the reports

Currently this is what the app is doing
User Reports an issue > Sends an email

The attachment is only sent by email and it just fills in the Reports Sharepoint List without the image.

This is how I have written my code on the OnSelect of the send button :

Office365Outlook.SendEmailV2(
"me@email.com";
"NEW REPORT";
"Lorem";
{
Attachments: Table(
{
Name: "Photo.jpg";
ContentBytes: Image8_1.Image;
'@odata.type': ""
}
)
}
);;
Patch(
ListeSignalementTournee;
Defaults(ListeSignalementTournee);
{
Catégorie: VarCategorie;
SousCategorie: VarSousCategorie;
VotreUO: ComboVotreUo.Selected.Result;
VotreEquipe: ComboVotreEquipe.Selected.Result;
UORisque: ComboSiteRisque.Selected.Result;
SiteRisque: ComboSiteRisque.Selected.Result;
ZoneRisque: ComboZoneRisque.Selected.Result;
SousZoneRisque: ComboZoneRisque.Selected.Result;
DescriptionProbleme: TextInputDescription.Text;
Action: VarAction;
ActionRealiser: TextInputActionRealiser.Text
}
);;
Notify(
"Votre signalement est transmis";
NotificationType.Success)

Would you guys have any fix for this ?
Thank you !

Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard