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

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

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

Top Solution Authors
Top Kudoed Authors
Users online (97,002)