cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

update gallery when a new item is created

I have a gallery that consumes a sharepoint list. I want the gallery to be updated when a new item is created in the list to show that item in the gallery without having to leave the application. What is the formula for doing this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Dual Super User II
Dual Super User II

Re: update gallery when a new item is created

Hi @octaking 

 

Is your gallery items property showing a delegation warning? 

If no delegation then everytime you come to the screen having the gallery it should populate and fetch the latest data

 

Moreover, are these items being added to the list from PowerApps or SharePoint

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

3 REPLIES 3
Highlighted
Dual Super User II
Dual Super User II

Re: update gallery when a new item is created

Hi @octaking 

 

Is your gallery items property showing a delegation warning? 

If no delegation then everytime you come to the screen having the gallery it should populate and fetch the latest data

 

Moreover, are these items being added to the list from PowerApps or SharePoint

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Highlighted
Super User III
Super User III

Re: update gallery when a new item is created

Hi @octaking 

As @RezaDorrani  says, if the items property of the gallery is the SharePoint list itself, it should autopopulate.  If the items in the gallery are a collection, then it will be necessary to recreate the collection with ClearCollect() before the gallery will reflect the changes. 

Highlighted
Helper V
Helper V

Re: update gallery when a new item is created

you're right 

 

the filter formula throws a warning

I already fixed the formula thanks

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (10,551)