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 / Change the status of a...
Power Apps
Unanswered

Change the status of a column after sending an email

(0) ShareShare
ReportReport
Posted on by 8

Hi everyone, and thanks in advance

I create a table in sharepoint (name, address,email ,mail,etc)

In power apps I create a gallery connected with the share point table and in each element, I have insert an email botton

now I send the mail but I don't know how update the "Mail" column with "Yes" after sending the mail.

"On select" (send emal button) I insert "office365outlook.sendemailv2" function and I send the mail but I don't know how to update the "MAIL" column in sharepoint with "YES".

 I try with "Update" and "pacth" but I don't resolve, someone can help me

Categories:
  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Claudio65 ,

    Do you mean while sending the email, update the sharepoint etc column to "YES"?

    Could you please tell me the Etc column is the text column?

    If yes, here is a test for your reference:

    Here is list:

    vchengfenmsft_0-1665557219362.png

     

     

    Office365Outlook.SendEmailV2(ThisItem.email,"Test","ThisItem.email");
    Patch(Email,ThisItem,{etc:"Yes"})

    vchengfenmsft_2-1665557238203.png

     

    Best Regards

    Cheng Feng

     

  • Claudio65 Profile Picture
    8 on at

    Hi before thank you for your answare, 

    I have a colomn in Sharepoint  named "Mail" , when I send an email, I need to update the related colomn "Mail" in sharepoint with "YES" 

    Grazie

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Claudio65 ,

    I'm sorry for my mistake to bother you。

    Office365Outlook.SendEmailV2(ThisItem.email,"Test","ThisItem.email");
    Patch(Email,ThisItem,{Mail:"Yes"})

    Modify etc on the formula to Mail

     

    Best Regards

    Cheng Feng

  • Claudio65 Profile Picture
    8 on at

    Many thanks for your support,

    I think there are some problem with the syntax with commas and semicolons in english version and italian version

    This is may scenario,

    a gallery with an email icon for each item, when select the mail button navigate on "posta screen"

     

    Claudio65_0-1665589503853.png

     

    Claudio65_1-1665589710478.png

    Now I can send the mail but i can't update the "mail inviata" field with "Yes" 

    ON SELECT (INVIA MAIL BOTTON)

    Office365Outlook.SendEmailV2(TextInput2_1.Text;TextInput2.Text;RichTextEditor1.TEXT); Patch('Gestione Cellulari';thisitem;{'MailSpedita':"Yes")

    I don't know if there is something else different between english e italian ...

    Tks in adv

    Buona serata

     

     

     

     

  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Claudio65 ,

    Could you please tell me that [Button] is inside [DataCard]?

    If not, ThisItem will expire.

    vchengfenmsft_1-1665626569710.png

     

    Best Regards

    Cheng Feng

     

  • Claudio65 Profile Picture
    8 on at

    Hi non it's outside I tray, to put the botton inside

  • fratrucc Profile Picture
    86 on at

    Just try to put double ;; before the Patch function.

    The Syntax it's like this in Italian.

     

    asd1.png

    Other than that, close the } if you had copy paste the code in the comment before.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard