I'm working with a form that reads records from one data source (SharePoint List) into a Gallery and using a button on each record, It writes or updates a record in a second SharePoint list. I was running into an issue were nothing would update so I began breaking it down field by field. I use the First(Filter method to find the record to update and then update two text fields and two Boolean fields. When I added the first Boolean field I received a message 'An Unknown Error Occurred' Here is the code I'm using:
Patch(CustomerSuccessCriteriaTracking, First(Filter(CustomerSuccessCriteriaTracking, Customer='CMB:SelectCustomer'.Selected.Value && Success_Engagement='CMB:SelectSuccessEngagement'.Selected.Value && Success_Internal_ID = SuccessInternalIDExample.Text)), {Success_Description:SuccessCriteriaDescriptionExample.Text}, {Unit_of_Measure:UOMExample.Text}, {From_Value:SetFromValue})
I'm successful when I leave out the 'From_Value' statement. This is the Boolean value.
Has anyone else run into this? is there a different way I need to be dealing with this data type?
Thanks-
Tom.
Solved! Go to Solution.
And I'm an idiot... For some reason I put the Boolean values into a Text box rather than in a Checkbox. Once I made that change it is working as expected.
And I'm an idiot... For some reason I put the Boolean values into a Text box rather than in a Checkbox. Once I made that change it is working as expected.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
186 | |
45 | |
45 | |
35 | |
35 |
User | Count |
---|---|
259 | |
82 | |
78 | |
67 | |
65 |