Hey Power Apps Community!
I'm once again asking for your help! I built an Intake/Ticket site for our work group however there is an ask by leadership for users to have the ability to quickly assign items to themselves through the Gallery by clicking an 'Assign to Me' button. This would update the SharePoint list with the users profile from Office365Users.
Currently Users have to navigate into the form item, search themselves in a dropdown, then click 'Save' to submit the form and update the intake. If we could have them click a button that assigns that item to themselves, they could then assign multiple items quickly and create a sort of queue for themselves. If there's a way to also quickly update to show the user under assigned analyst that would also be helpful.
The Gallery name is: galWFM_1
The SharePoint Source is: 'EWD Config'
The SharePoint Column is: 'WPM Assigned'
Goals: Populate WPM Assigned using Office365Users profile of the user who clicks the 'Assign to Me' button. Have this update from and in the Gallery so other users can quickly see the item has already been assigned.
My current thoughts are something along these lines but I'm very new to using the patch function and am a little foggy on Office365 connectors. I hodgepodged together some ideas from my searches so don't laugh too hard.
Patch('EWD Config',
{
ID: galWFM_1.Selected.ID
},
{
'WPM Assigned':
DisplayName:User().FullName,
Claims: "i:0#.f|membership|" & Lower(User().Email),
Departments: "",
Email: User().Email,
Jobtitle: "",
Picture: ""
}
)

I appreciate any assistance you can provide!