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 / Save person's email in...
Power Apps
Unanswered

Save person's email in textinput from powerapps to sharepoint list

(0) ShareShare
ReportReport
Posted on by 154

hello , i have one textinput named txtInputControl_113, and one button A for create collection for empty item for gallery , 

after user input something in gallery "Gallery3_2" , click button B , the data will save to shareponit list A , txtInputControl_113 is used for show the user's manager , and this value will save to the column "Manager "in sharepoint list A, so i will write button A code like below :

Collect(colTemp333,
{ Title: "",
Manager:Office365Users.ManagerV2(User().Email).mail}
)

and txtInputControl_113 code :

ThisItem. Manager

and button B code :

ForAll(
Gallery3_2.AllItems,
Patch(
LIST A,
Defaults(LIST A),
{
Title: txtInputControl_92.Text,

Manager:txtInputControl_113.Text}))

then i test , the textinputcontrol _113 show OK in powerapps , then i click button B , i see title has data , but No data in manager column in sharepoint . also i changged button B code like below , it also can show well in power apps ,but  not save to the text  to Manager column in  sharepoint list 

ForAll(
Gallery3_2.AllItems,
Patch(
LIST A,
Defaults(LIST A),
{
Title: txtInputControl_92.Text,

Manager:Office365Users.ManagerV2(User().Email).mail}))

 

please help me 

 

 

 

Categories:
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @KevinGuan ,

     

    If Manager is a person type column and do not allow multiple selections, please try:

    Patch(
    LIST A,
    Defaults(LIST A),
    {
    Title: txtInputControl_92.Text,
    
    Manager:{
     '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Department: "",
     Claims: "i:0#.f|membership|" & txtInputControl_113.Text,
     DisplayName: "",
     Email: txtInputControl_113.Text,
     JobTitle: "",
     Picture: ""
     }
    }
    )

     

    Best Regards,
    Bof

  • KevinGuan Profile Picture
    154 on at

    yes , i also tried this , it has error , and one more thing my column type is text 

  • KevinGuan Profile Picture
    154 on at

    it has error does not match expected type "text", found type "record"

    KevinGuan_0-1711335567259.png

     

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

    Hi @KevinGuan ,

     

    Could you please check the output of this formula?

    ForAll(
    Gallery3_2.AllItems,
    {
    Title: txtInputControl_92.Text,
    
    Manager:txtInputControl_113.Text}
    )

     

    Best Regards,

    Bof

  • Rahman1005 Profile Picture
    109 on at

    Hi,

    please refer below blog to add person column in power-apps

    https://www.c-sharpcorner.com/blogs/how-to-patch-a-sharepoint-person-column-in-power-apps

  • KevinGuan Profile Picture
    154 on at

    yes , i know person column is OK , but if i have already create text column , is it solution work for text column?

  • KevinGuan Profile Picture
    154 on at

    thanks , and sorry , it does not work 

  • KevinGuan Profile Picture
    154 on at

    Anyone has solution

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard