cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Kudo Collector
Kudo Collector

How to reTrigger Gallery Form to Refresh onSelect of button that creates collection for SP list

How to reTrigger Gallery Form to Refresh onSelect of button that creates collection for SP list that contains 3000+ items.

 

Initially, the Gallery should just show the default 500 items (limit)  from the SP Datasource, which is faster and especially if user just needs to CREATE a new item  for this SP list  (therefore, user does not need to load all 3000+ records ). 

 

But if user needs to EDIT an item , which is not from within the first 500 records of the SP list, i have created a button (Load All Records)   in the Gallery Form to  create the Collection to cache the 3000+ rows from the SP list.   

 

However,  how do i make the Gallery Form Refresh to use the Collection  so that it can now load all the 3000+ records  for the user to select for editing Need to refresh Gallery to show the Collection created for 3000+ records only when Button LoadAll is selectedNeed to refresh Gallery to show the Collection created for 3000+ records only when Button LoadAll is selected

2 REPLIES 2
Highlighted
Helper I
Helper I

Re: How to reTrigger Gallery Form to Refresh onSelect of button that creates collection for SP list

Have you tried filtering the items based on a search that contains a criterier provided by the user?  You could still limit the recordset to 500 records.  Why would you have the user manually search through 3000 records?

Highlighted
Kudo Collector
Kudo Collector

Re: How to reTrigger Gallery Form to Refresh onSelect of button that creates collection for SP list

hi @roknron,

 

I have tried filtering to limit the recordset, however, if the records being searched/filtered are not in the first 500 records of the SP list,  the search/filter returns NO results.    I have done a workaround, which is to display a second gallery form to show the recordset using the Collection (collection cached all the records)  as the datasource instead of the SP datasource.

Helpful resources

Announcements
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (4,008)