web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do I get the right...
Power Apps
Unanswered

How do I get the right arrow in a filtered gallery to go to different screens

(0) ShareShare
ReportReport
Posted on by 58

I need help!!!

 

I have a canvas app that contains a vertical gallery that is filtered with a formula in the items section.

Slide1.JPG

I want to be able to click on the right arrow next to each item and it take the user to different screens.  I do not want to use the form option.  You can't customize the form data cards and honestly I hate forms.  

So if a user clicks on Antenna, then clicks on one of the items right arrow, the user would navigate to that items own screen.  

 

Right now the arrow does not take you anywhere but if I put a formula in, the formula copies to all of the arrows.  

 

Please help....I have tried everything.

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @chhamilton34 

    Sorry to hear that you have such a strong feeling against forms.  They are one of the most powerful components in PowerApps and will make your app design much more rapid as they do so much for you.  I would strongly consider re-evaluating them and learning them as, again, they will be your best tool in PowerApp design.  I would highly recommend reviewing my video on EditForms. You will learn how to use the powerful features of the form in your app while allowing you to customize the form beyond what you have ever imagined.  It's a long video, but it is broken into sections that can be selected from the description of the video.

     

    That said - If you want to navigate from your Arrow based on conditions, then you will need to account for it in you OnSelect formula.  The Switch function is the best to utilize to do this.

    Ex.

    Switch(ThisItem.Type,
     "Antenna", Navigate(antennaScreen),
     "Baseband", Navigate(basbandScreen),
     ...etc...
    )

     

    However, you can simplify this even more in the Gallery that contains your button controls.

    So for example, the Items property of your Gallery would be:

    Table(
     {Value:"Combined Systems", Screen: CombinedSystemsScreen},
     {Value:"Antenna", Screen: AntennaScreen},
     {Value:"Baseband", Screen: BasebandScreen},
     {Value:"Non-Standard", Screen: NonstandardScreen},
     {Value:"Specialized/Add-On", Screen: SpecializedScreen}
    )

    Then, in your right arrow OnSelect, you can simply reference the chosen item in your formula:

    ex.

    Navigate(yourButtonGallery.Selected.Screen)

     

    I hope this is helpful for you.

  • chhamilton34 Profile Picture
    58 on at

    I love how forms makes work easier however I don't like how restricted they are.  I like to customize my apps to look they way I want them to.  Forms won't let you do that.  You are stuck with "X" columns and you can't put cards where you want.  Sorry but that type of conformity just makes no sense. 

     

    NEWays, the formula you put for items section on the gallery will not work because I need the current formula that is in the items section already.  

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    You can't put different code on every arrow. If you write 

    Navigate(ScreenName) on your first arrow. All the arrow in the gallery will take you to "ScreenName"

  • chhamilton34 Profile Picture
    58 on at

    Zmansuri, that is the issue I am facing.  I need each arrow to go to it's own screen because each screen will contain different information.  I need the gallery to filter the list, but I need the arrow to be different for each item 😞

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @chhamilton34 

    Actually, you can customize the interface of a form any way that you want.  Again...review my video on the topic and you will see how.  I use forms in almost every app that I make, but I rarely use the form interface.

     

    Can you explain what you mean about your second point on the current formula?

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @chhamilton34 

    Yes...that is what I provided for you in the reply.  Can you explain what problem that would be for you?

  • chhamilton34 Profile Picture
    58 on at

    The formula you provided , it will still filter the gallery (this is pulling from a SharePoint List) depending on what button is selected (it is filtering a certain column in SharePoint) as well as if someone types a word in the search box?  

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @chhamilton34 

    That is all fine.  The filtering is not getting changed in any way...only what happens on your arrow icon.

    My assumption was that based on what the user selects in your button gallery would be what determines what screen to go to:

    RandyHayes_0-1622749423518.png

    Is that not correct?  Is there some other determination of what screen you want?

  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    @RandyHayes  can give you solution on anything. But, writing this much code is not worth it for something that can be done in 1 line. Just my 2 cents

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @zmansuri 

    What is your 1 line?  You suggested using screenname.  You have to specify screenname.  @chhamilton34 wants to be able to go to different screens based on the type of item selected.  

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 366 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 99 Super User 2026 Season 1

Last 30 days Overall leaderboard