Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

How to update user email from Power Apps to SharePoint list

(0) ShareShare
ReportReport
Posted on by 21
Hello, 
 
I have created a Power Apps for user to submit request. In the Apps, there is a field "User's email address" which the default for the DataCardValue is "Useer().Email".
It does show the user's email address when the user is using the Apps but this email address doesn't update to the SharePoint List , it is showing blank. 
How to update the user's email in the DataCardValue to the SharePoint List?
 
 
Thank you. 
 
  • Verified answer
    ANB Profile Picture
    ANB 7,065 on at
    How to update user email from Power Apps to SharePoint list
    Hi, 
     
    could please click Does this answer your question 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 a Like.

    Thanks,
    ANB
  • Wei_C Profile Picture
    Wei_C 21 on at
    How to update user email from Power Apps to SharePoint list
    Thank you @ANB.
    It works.
  • Verified answer
    ANB Profile Picture
    ANB 7,065 on at
    How to update user email from Power Apps to SharePoint list
    Hi, 
    You can also try this on Update property 
    If(IsBlank(DataCardValue6.Text), User().Email, DataCardValue6.Text)

    Please click Does this answer your question 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 a Like.


    Thanks,
    ANB
  • ANB Profile Picture
    ANB 7,065 on at
    How to update user email from Power Apps to SharePoint list
    Hi ,
     
    You just need to use User().Email Not DataCardValue6.User().Email
     

    Please click Does this answer your question 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 a Like.


    Thanks,
    ANB
  • Wei_C Profile Picture
    Wei_C 21 on at
    How to update user email from Power Apps to SharePoint list
    Hello ANB 
     
    The "Update" for the DataCardValue already DataCardValue6.Text
     
     
    If I change it to "DataCardValue6.User().Email", there is red line underlined the formula. 
  • ANB Profile Picture
    ANB 7,065 on at
    How to update user email from Power Apps to SharePoint list
    Hi @Wei_C,
     
    I belive you are using form and SubmitForm to save the data to SharePoint?
     
    If yes, then for the Data Card which hold the DataCardValue control there should be a property named as Update.
     
    For Update property you can try with DataCardValue.Text or use User().Email 

    Example:

     

    Please click Does this answer your question 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 a Like.


    Thanks,
    ANB

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard