Hi All,
i am trying to patch all the gallery records through my patch function. What i am currently doing is there is a select all button which selects all the records of the gallery and while doing the patch i am filtering the gallery based on checkbox true value. Now the only problem that i am facing is that Forall(Gallery1.Allitems is just patching first 100 records however there are more than 100 records to be patched. How can i patch all the records in gallery1 which have been checked.
I am not creating a collection as i am facing the same issue there, when i click on select all checkbox only first 100 records are getting created in the collection.
How can i fix this issue or anyone has an alternative approach for this?
No collection is needed. Your formula to patch the selected items is quite simple and should be this:
Patch(yourDataSource,
ForAll(Filter(yourGallery.AllItems, yourCheckBox.Value),
{ID: ID,
othercolumn: othercolumnValue
}
)
)
If you have trouble incorporating this in to what you have, please provide the formula(s) that you are working with.
I hope this is helpful for you.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
166 | |
94 | |
64 | |
63 | |
60 |
User | Count |
---|---|
238 | |
162 | |
95 | |
85 | |
81 |