Notifications
Announcements
Hi,
I used patch with thisitem (in onselect of my + icon & input test --> default is set to thisitem.linecost) , to update my field details into datasource, but for some reason the values of linecost and line item are not updated. Need your suggestion?
Attaching screenshot
@WarrenBelz - Help required please!
@TM777
To check if there is any error with patch ..try to add the below formula which would display error message if patch fails
Patch(defectnumber,thisitem,{ lineost: 444, lineitem: 464 });If(IsError(Errors(defectnumber)),Notify("Error updating record: " & Errors(defectnumber).Message, NotificationType.Error));
cheers
Unable to check and tried hardcoded values but still datasource is not updating.
now its not including the last entry into datasource while patching? Any idea how to resolve it?
Hi @TM777 ,
A couple of fundamental questions. Where is this code being used (in a Gallery or Form as you have used ThisItem ) and is the data source (what is the type) updating but not displaying or simply not updating ?
Can you please also include the Item of the Form or the Items of the Gallery.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 711 Most Valuable Professional
Michael E. Gernaey 319 Super User 2025 Season 2
Power Platform 1919 268