@Ramole consider this :
Patching on single select of the checkbox, put this code on the OnCheck of the checkbox inside the Gallery.
That is if the checkbox outside the Gallery is not checked.
If(
!CheckboxOutside.Value,
Patch(
MyFirstList,
LookUp(
MyFirstList,
ID = ThisItem.ID
),
{
Title: TextInput2.Text,
FirstName: TextInput1.Text
}
)
)
If the checkbox outside is checked, then all the checkboxes inside the Gallery would apply therefore this second formula would be use instead:
When you want to patch multiple items after multiple checkboxes have been ticked, Onselect of the Button:
ForAll(
RenameColumns(
BrowseGallery1.AllItems,
"ID",
"NewID"
),
If(
Checkbox1.Value,
Patch(
MyFirstList,
LookUp(
MyFirstList,
ID = NewID
),
{
Title: TextInput2.Text,
FirstName: TextInput1.Text
}
)
)
)
Am assuming you already have a way of checking all checkboxes inside the Gallery
------------
If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.