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

Gallery navigation was working and stopped

All of a sudden my code isn't working. I don't have any errors or anthing but when I select and item from the gallery is won't navigate anywhere

 

Page OnVisible: ClearCollect(Items, { Name: "4 Inch", Target: fourinch}, { Name: "5 Inch", Target: fiveinch }, { Name: "6 Inch", Target: SIXinch }, { Name: "7 Inch", Target: SevenInch }, { Name: "8 Inch", Target: EightInch }, { Name: "(9 Inch", Target: Nineinch}, { Name: "10 Inch", Target: Teninch}, { Name: "4 Inch DW", Target: fourinchdw }, { Name: "5 Inch DW", Target: fiveinchdw}, { Name: "6 Inch DW", Target: sixinchdw}, {Name: "7 Inch DW", Target: seveninchdw}, {Name: "Flue Flex Pipe 5 Foot", Target: flueflex}, {Name: "Panning/Headers", Target: pandh}, {Name: "PVC/LS", Target: pvcls}, {Name: "Floor Sleeves", Target: fs}, {Name: "Dryer Flex", Target: dflex}, {Name: "Uninsulated Flex", Target: uniflex}, {Name: "RA Frames", Target: raframes}, {Name: "12 Inch", Target: twelve}, {Name: "14 Inch", Target: Fourteen}, {Name: "16 Inch", Target: Sixteen}, {Name: "18 Inch", Target: Eightteen}, {Name: "20 Inch", Target: Twenty}, {Name: "Misc", Target: Misc}, {Name: "Shop", Target: Shop}, {Name: "Fittings", Target: Fittings})

 

NextArrow in gallery: Navigate(LookUp(Items,Name=Gallery_Item.Selected.Item,Target),None)

 

 

Any suggestions?

2 REPLIES 2
Community Support Team
Community Support Team

Re: Gallery navigation was working and stopped

Hi @Rthorn,

 

Please change your formula to below. I just tested and this works for me:

ClearCollect(Items, { Name: "4 Inch", Target: "fourinch"}, { Name: "5 Inch", Target: "fiveinch" }, { Name: "6 Inch", Target: "SIXinch" }, { Name: "7 Inch", Target: "SevenInch" }, { Name: "8 Inch", Target: "EightInch" }, { Name: "(9 Inch", Target: "Nineinch"}, { Name: "10 Inch", Target: "Teninch"}, { Name: "4 Inch DW", Target: "fourinchdw" }, { Name: "5 Inch DW", Target: "fiveinchdw"}, { Name: "6 Inch DW", Target: "sixinchdw"}, {Name: "7 Inch DW", Target: "seveninchdw"}, {Name: "Flue Flex Pipe 5 Foot", Target: "flueflex"}, {Name: "Panning/Headers", Target: "pandh"}, {Name: "PVC/LS", Target: "pvcls"}, {Name: "Floor Sleeves", Target: "fs"}, {Name: "Dryer Flex", Target: "dflex"}, {Name: "Uninsulated Flex", Target: "uniflex"}, {Name: "RA Frames", Target: "raframes"}, {Name: "12 Inch", Target: "twelve"}, {Name: "14 Inch", Target: "Fourteen"}, {Name: "16 Inch", Target: "Sixteen"}, {Name: "18 Inch", Target: "Eightteen"}, {Name: "20 Inch", Target: "Twenty"}, {Name: "Misc", Target:"Misc"}, {Name: "Shop", Target: "Shop"}, {Name: "Fittings", Target: "Fittings"})

Capture.PNG

 

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.
Rthorn
Level: Powered On

Re: Gallery navigation was working and stopped

It randomly started working again without any changes. 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

Follow PowerApps on Twitter

Stay Up-to-Date by following PowerApps on Twitter

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 48 members 3,981 guests
Please welcome our newest community members: