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 / Building new app to su...
Power Apps
Unanswered

Building new app to sumit through email

(0) ShareShare
ReportReport
Posted on by 2

I'm creating a power app that connects through power automate to Send all the Data Cards in my sharepoint site through email to a specific email group. And I cannot figure out why the submit button wont take that information and send it. I've tried many different on select but the most recent was

Office365Outlook.SendEmailV2(ClickPowerAppsbuttontosendemailforSharePointitemsofselectedlist.Run(Getitems_FilterQuery,Sendanemail_Body.submit 'Title_DataCard1', Sendanemail_Body1.submit 'User Type', Sendanemail_Body2.submit 'Users Name', Sendanemail_Body3.submit 'Start Date_DataCard1', Sendanemail_Body4.submit 'Computer Type', Sendanemail_Body5.submit 'Desk Phone', Sendanemail_Body6.submit 'Cell Phone', Sendanemail_Body7.submit 'Desk Location', 'Sendanemail_Body8.submit 'Department', Sendanemail_Body9.submit 'Company Name', Sendanemail_Body10.submit 'software.')

 

Any help with this submit button would be great.

 

2020-06-02_12-23-07.png
Categories:
I have the same question (0)
  • KrishnaV Profile Picture
    5,023 on at

    Hi @DL4 ,

     

    I see some syntax errors in your formula and corrected them now you try with the below and let me know if you still see any challenges:

    Office365Outlook.SendEmailV2(
     ClickPowerAppsbuttontosendemailforSharePointitemsofselectedlist.Run(
     Getitems_FilterQuery,
     Sendanemail_Body.submit 'Title_DataCard1',
     Sendanemail_Body1.submit 'User Type', 
     Sendanemail_Body2.submit 'Users Name', 
     Sendanemail_Body3.submit 'Start Date_DataCard1', 
     Sendanemail_Body4.submit 'Computer Type', 
     Sendanemail_Body5.submit 'Desk Phone', 
     Sendanemail_Body6.submit 'Cell Phone', 
     Sendanemail_Body7.submit 'Desk Location', 
     Sendanemail_Body8.submit 'Department', 
     Sendanemail_Body9.submit 'Company Name', 
     Sendanemail_Body10.submit 'software.')
    )

    Note: I am assuming that you are returning the required text from flow to Power App to send in email.

    I hope this resolved your issue if you see any challenge/need further help let me know I am always happy to help.

     

    Regards,
    Krishna
    If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

  • DL4 Profile Picture
    2 on at

    I placed what you supplied in the submit onVisable but it still gives an error when going into get help with this error it shows.

    2020-06-02_15-20-45.png
  • KrishnaV Profile Picture
    5,023 on at

    Hi @DL4,

     

    sorry to see the error, try like this.

    Set(flowoutputtext,ClickPowerAppsbuttontosendemailforSharePointitemsofselectedlist.Run(
     Getitems_FilterQuery,
     Sendanemail_Body.submit 'Title_DataCard1',
     Sendanemail_Body1.submit 'User Type', 
     Sendanemail_Body2.submit 'Users Name', 
     Sendanemail_Body3.submit 'Start Date_DataCard1', 
     Sendanemail_Body4.submit 'Computer Type', 
     Sendanemail_Body5.submit 'Desk Phone', 
     Sendanemail_Body6.submit 'Cell Phone', 
     Sendanemail_Body7.submit 'Desk Location', 
     Sendanemail_Body8.submit 'Department', 
     Sendanemail_Body9.submit 'Company Name', 
     Sendanemail_Body10.submit 'software.'));
    Office365Outlook.SendEmailV2(<< To emailaddress>>,<<subject>>,flowoutputtext);

     

    Because Office365Outlook.SendEmailV2() need To, Subject and Email for sure.

     

    I hope this resolved your issue if you see any challenge/need further help let me know I am always happy to help.

    Regards,
    Krishna
    If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

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
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard