cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Responsive Resident
Responsive Resident

Re: Bug: Gallery doesnt refresh anymore?

Can anyone help or not?

Highlighted
Helper II
Helper II

Re: Bug: Gallery doesnt refresh anymore?

Hi,

May I know that this post has been solved?

I face the same problem too when I try to create a tab form app.

 

Thanks

Highlighted
Responsive Resident
Responsive Resident

Re: Bug: Gallery doesnt refresh anymore?

As far as I am aware, this has yet to be solved.

I ended up changing the way my app worked instead.

Matty.

Highlighted
Helper II
Helper II

Re: Bug: Gallery doesnt refresh anymore?

Can you share about yours?
Thanks
Highlighted
Helper II
Helper II

Re: Bug: Gallery doesnt refresh anymore?

I don't know of the explanation for this, but there is a quirky workaround, at least here.

We have an app that uses a flow to submit an image to a library, but the gallery wasn't refreshing afterwards.

So, we added a timer to trigger following that upload.

The timer waits a couple seconds and then patches the record of a dummy file in the library (updating, in this case, merely the description; it doesn't matter what you change). This file is not part of the gallery; it's used only for this workaround, but it is in the same library as is used for the gallery.

And that's it, the gallery refreshes at that point.

 

Highlighted
Helper II
Helper II

Re: Bug: Gallery doesnt refresh anymore?

For me, the gallery's item must use the data source name. Then you use the code below :

 

Refresh("youDataSource")

 

You will get the refresh.

 

Thanks

Highlighted
Frequent Visitor

Re: Bug: Gallery doesnt refresh anymore?

Any news on fixing this bug? My gallery is not updating either, and I also have a Countif formula that counts items on my SharePoint list based on the value of a field, and it is not updating either. But the items in the SharePoint list are updated and the Edit Form is updated also...

 

I tried Refresh on the Gallery. I have not tried the dummy record solution.

 

Thanks for any help.

Highlighted
Helper II
Helper II

Re: Bug: Gallery doesnt refresh anymore?

Can you share your code?

 

Thanks

Highlighted
Frequent Visitor

Re: Bug: Gallery doesnt refresh anymore?

I just used Refresh(List) at the beginning of OnSelect in the Gallery and then in the Text. I tried to put it at the beginning of the Items statement, but it says I can't (non-behavior property). Anywhere else I should add the Refresh(List) to? 

 

For the Countif, I used the following formula:

CountIf(
List,
Or(
And('Requester''s Supervisor'.Email = VarUser.mail,'Request Status'.Value = "Pending Requester's Supervisor Approval"),
And('Team Lead'.Email= VarUser.mail, 'Request Status'.Value = "New Request"),
And('Team Contact'.Email = VarUser.mail,'Request Status'.Value = "Under Investigation"),
And(VarUser.mail in 'Additional Reviewers'.Email,Or('Request Status'.Value = "New Request",'Request Status'.Value = "Under Investigation")),
And(VarUser.mail in 'EDE Approvers'.Email,'Request Status'.Value = "Pending Approval")))

 

Neither seem to update unless I go back and edit the item again in the form, then save it again. I checked the background SharePoint List and it is up to date before I do all this, so don't know what's happening.

 

Thanks!

 

Highlighted
Helper II
Helper II

Re: Bug: Gallery doesnt refresh anymore?

Hi,

If it is Sharepoint List,then I think it will trigger a delegation error.

Therefore your refresh can not work properly. This is due to too many condition in your script.

 

Thanks

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

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

Top Solution Authors
Top Kudoed Authors
Users online (5,732)