cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
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

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
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (95,427)