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 / Office365Outlook Pulli...
Power Apps
Answered

Office365Outlook Pulling Saved Data

(0) ShareShare
ReportReport
Posted on by 27

I need to create a standard desktop website with PowerApps. I accomplished this by making the DefaultMode = FormMode.New on the edit screen. However, when I try to submit an email, it's pulling saved data (the record that the edit menu is tied to). I still have the Browse and Detail screens in my project, I just wasn't planning on using them. I'm assuming I need to decouple them somehow. 

 

I found that it was using Parent.Default to pull the saved data as if I were coming from the Details screen. When I remove this code, my SubmitForm is just passing null values.  Is there a way to pass screen values to the SendEmailV2 function or somehow save the data before it submits and stick the Parent.Default back in? 

 

OnSuccess of the edit form: 

 

Office365Outlook.SendEmailV2(
SubmitButtonKey,
"Subject",
"<table><tr><td>" & IDKey.Text & "</td><td>" & IDValue.Text & "</td></tr></table>"
);

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @altyrocks ,

    This should work (note I have assumed field names here)

    Office365Outlook.SendEmailV2(
     SubmitButtonKey,
     "Subject",
     "<table><tr><td>" & Self.LastSubmit.IDKey & "</td><td>" & Self.LastSubmit.IDValue & "</td></tr></table>"
    );

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

     

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 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard