cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jhoekstraccsd
Level: Powered On

Gallery works in Chrome, not Firefox, IE, or Edge

Hi all -- quickly, I've been building a powerapps that's a standard form connected to an on-prem gateway.   In Chrome, everything works great.  I've attached some screenshots of what the review "batch" screen where people can looks at a gallery of data that's been entered so far.  The screen that's populated is in Chrome, the screen that's not populated is in Firefox.   

 

The Gallery is populated with a standard Filter command using the drop-downs as parameters.  (We don't expect this database to ever go over the delegation limit.)  

 

I'm baffled at where to start with this -- the best ideas that I have is that the OnVisible event is being fired AFTER the rendering of the Gallery in certain browser?   Not sure. Any ideas would be helpful! Happy to answer any follow-up questions. Code follows: 


UpdateContext(
{FilteredBatchItems:
Filter('[dbo].[Payroll_Form]',Month(DateAdd(DateOfCoverage,TimeZoneOffset(DateOfCoverage),Minutes))=Month(DateValue(Text(DateValue(Concatenate(ddBatchMonth.SelectedText.Value,"-1-",ddBatchYear.SelectedText.Value)),DateTimeFormat.ShortDate))) && LocationCode=myLoggedInEmployeeLocation && ApprovalStatus="NEW")})

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Gallery works in Chrome, not Firefox, IE, or Edge

Hi @jhoekstraccsd ,

 

This is mostly like to be caused by the different time zone setting for the web browsers, please check the related setting of location in your browsers.

 

Regards,

Mona

Community Support Team _ Mona Li
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

2 REPLIES 2
Community Support Team
Community Support Team

Re: Gallery works in Chrome, not Firefox, IE, or Edge

Hi @jhoekstraccsd ,

 

This is mostly like to be caused by the different time zone setting for the web browsers, please check the related setting of location in your browsers.

 

Regards,

Mona

Community Support Team _ Mona Li
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

jhoekstraccsd
Level: Powered On

Re: Gallery works in Chrome, not Firefox, IE, or Edge

Thanks for the suggestion about time zone interpretations, that seems to be the culprit but this was across all browsers for several different computers in several locations, so it wasn't individual browser.

 

Not sure what was going on, but I'll post the solution so that if others see this:  

 

Bad Code: 

Month(DateValue(Text(DateValue(Concatenate(ddBatchMonth.SelectedText.Value,"-1-",ddBatchYear.SelectedText.Value)),DateTimeFormat.ShortDate))) 

 

Good Code:

Month(DateAdd(DateOfCoverage, TimeZoneOffset(), Minutes))  && Year(DateAdd(DateOfCoverage, TimeZoneOffset(), Minutes))

 

(these were conditions on a filter statement)

 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,968)