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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 379 Most Valuable Professional
11manish 203 Super User 2026 Season 2
MS.Ragavendar 128 Super User 2026 Season 2