Hi all,
I have a power app that is being used by our business.
I have created a simple feedback page with a Input text field and Submit button.
I believe the patch command is the correct command to take the text that is inputted and enter it into a SharePoint list.
However I get formula error , The function 'Patch' has an invalid argument.
Patch(
PowerAppFeedback,
Defaults(PowerAppFeedback),
{
TimeLogged: Text( Now(), "mm/dd/yyyy hh:mm:ss"),
Comment: FeedbackInput.Text,
Employee:
{
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Claims: "i:0#.f|membership|" & currentUser.Email,
Department: "",
DisplayName: currentUser.FullName,
Email: currentUser.Email,
JobTitle: "",
Picture: ""
}
}
);
Set(
successMessage,
"Feedback Submitted"
);Refresh(Feedback);
Navigate(Success)
Any help will be appreciated.