ForAll(
Gallery5.AllItems As tempcol,
Patch(
TimeSheetEntriesDetail,
Defaults(TimeSheetEntriesDetail),
{
// Date Type column
Date: DateValue(tempcol.Label29_1.Text),
// Choice type column
Prj: {
Id: tempcol.Combobox.Selected.Id,
Value: tempcol.Combobox.Selected.Value
},
// Person type column
Employee: {
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & CurrentUser.Email,
Department: "",
DisplayName: CurrentUser.FullName,
Email: CurrentUser.Email,
JobTitle: "",
Picture: ""
}
}
)
);