cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
octaking
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
RezaDorrani
Dual Super User II
Dual Super User II

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
RezaDorrani
Dual Super User II
Dual Super User II

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

Drrickryp
Super User II
Super User II

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. 

you're right 

 

the filter formula throws a warning

I already fixed the formula thanks

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (33,267)