Patch function formula
-
19-02-2021 - |
Question
I am testing Patch functionality on PowerApps to store records on a SharePoint list.
I created a simple dropdown and button to test functionality. I do have a formula error, that I cannot figure out?
Note: SharePoint list column has been set to text. Can any one help? Thanks a million!
Patch(SelfAssessments, Defaults{SelfAssessments} {AssessmentType: (Dropdown1. Selected.Value})
Solution
I can see that there are some syntax errors in your formula:
- Extra space in your formula after the name of your dropdown control.
- Wrong parentheses for
Defaults
function. - Missing one comma after
Defaults
. - Extra Parenthesis before
Dropdown1. Selected.Value
.
Try using:
Patch(SelfAssessments, Defaults(SelfAssessments), {AssessmentType: Dropdown1.Selected.Value})
Microsoft documentations:
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange