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 / Patch Function - from ...
Power Apps
Unanswered

Patch Function - from gallery item to Person Field

(0) ShareShare
ReportReport
Posted on by

I am trying to take a person field from a selected gallery and move it to a new list. (ie. when they hit the 'approve button', the users information is added to a new list of approved moderators) The function works until I add in the Person field of 'All Moderators'. Is there something I am doing wrong to get this error?

 

Patch(
'Discussion Board - Community Requests & Mods',
Defaults('Discussion Board - Community Requests & Mods'),
{
Status: {Value: "Approved"},
Title: ThisItem.Community.Value,
Justification: ThisItem.Justification,
'Approver/Denier of Request': varUser.Email,
'All Moderators': {
Claims: ThisItem.'Moderator Names'.Claims,
Department: ThisItem.'Moderator Names'.Department,
DisplayName: ThisItem.'Moderator Names'.DisplayName,
Email: ThisItem.'Moderator Names'.Email,
JobTitle: ThisItem.'Moderator Names'.JobTitle,
Picture: ThisItem.'Moderator Names'.Picture
}
}
);

Categories:
I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard