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 / How do i patch data fr...
Power Apps
Unanswered

How do i patch data from this gallery to a list?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I would like to Take data that is selected from this list(The dat aselected is shown in the box on the left) and patch it to a list. The gallery is connected to office365 users. I would liek to select the users and then patch it into a list where i can use that data for something else. using the following patch code dosent work

biraveen44_0-1679582772897.png

 

Categories:
I have the same question (0)
  • CU22040918-0 Profile Picture
    195 on at

    Hi @Anonymous 

     

    What’s data type of Participants field in Sharepoint?

     

    Nelson

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The type of data there is "person or group"

  • CU22040918-0 Profile Picture
    195 on at

    To patch person column of SharePoint, you have to patch a record which contains "Claims", "Department", "DisplayName", "Email", "JobTitle", "Picture" columns.


    Try this

     

    ForAll(

    collection,

    Patch(

        SPList,

        Defaults(SPList),

        {

            ….,

            Participants: {
            Claims:"i:0#.f|membership|" & <Email>,
            Department:"",
            DisplayName: "",
            Email: "",
            JobTitle:"",
           Picture:""
        }}

    )

    )

    replace <Email>  by the real field with email in collection

     

    Nelson

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    is there a way of just doing it by adding their user in the list? as in i want to use this to create an event(in the list) and then i want to send a mail containing some information 

  • CU22040918-0 Profile Picture
    195 on at

    Sorry, not quite get your point. Could you elaborate your needs with more details?

     

    Nelson

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    ofc! Im tryign to automize the event invitation process for a department at my job. what im trying to do here is to invite people at out organization to events. the solution i tought of was to make a powerapp where you can select eventname, date, participants, presenter. When you click on send invites the information is then patched to a sharepoint list. In the sharepoint list i want to make a flow that sends out invites and also put it in their calnder)(the calender part i can do myself). The only thing that is stopping me is to add the participants and presenter to the list. I just cant seem to make it work. I can add the participants in the list itself, but patching it in form powerapp seems to not happen 

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 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard