Hello Everyone,
I am new to PowerApps. I'm trying to patch all my items from PowerApps to a SP list but i am unable to do it. The code i am trying to execute is below. I used the toggle to execute the patch. There is no error in the code however the patch is not working.
Code i used for Submitting. Can anyone please help me what i am doing wrong.
ForAll(
Filter(
Gallery2.AllItems,
Toggle1.Value = false),
Patch(
PMInspections,
Defaults(PMInspections),
{
Title: TextInput_Action,
Status: Combo_Status.Selected,
Comments: TextInput_Comments,
PMInterval: Combo_PMInterval.Selected.Value
}
)
)
HI,
Your patch sequence seems to be missing a few elements.
Here is a couple of patch processes I have in an OnSelect button.
There are two different patches that run here but they are all using Forall...
The Concurrent just allows them both to run side by side.
Concurrent(
ForAll(colScan2,Patch(Barcodescan1Log,{BarcodeValue:BarcodeValue,BarcodeType:BarcodeType,ScannedPerson:ScannedPerson,ScannedTime:ScannedTime,Scanweek:WeekNum(Now()),ScanType:"Label Verified", SerialNumber30:SerialNumber50})),
ForAll(colScan2,Patch('Products-230116-2-jm',LookUp('Products-230116-2-jm',SerialNumber=SerialNumber50),{LKS:"Label Verified"}))
)
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2