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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (74,032)