
Announcements
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
}
}
);