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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make an icon navigate ...
Power Apps
Unanswered

Make an icon navigate to a specific gallery item

(0) ShareShare
ReportReport
Posted on by

I want to navigate to a specific item in my gallery when an icon is pressed. On the icons onselect I put Navigate(Gallery1.Selected.Title1 = "3.6 Standard and Complex projects", Fade) but it doesnt work. There is a label called title1 that contains where I want to go after selection. I want it to navigate to the gallery item that has that title. The error is that naviagate should go to a control or a screen. I need it to stay on the same screen and move to a specific gallery item. How can I do this?

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    On the OnSelect put:

    Set(SelectedItem,"3.6 Standard and Complex projects")

     

    Then in the Items property of the Gallery:

    Filter(Datasource, ColumnName = SelectedItem)

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • EdViegas Profile Picture
    436 on at

    The function Navigate expects a screen value as first parameter

    Back and Navigate functions in Power Apps - Power Apps | Microsoft Docs

     

    You can use the button to Filter the items Gallery and then use SetFocus function to the desired control

    SetFocus function in Power Apps - Power Apps | Microsoft Docs

     

  • zmorek Profile Picture
    3,272 on at

    Navigate() has to go to a screen; you could consider filtering the gallery with something (perhaps by setting a variable, or referencing the value of another control, etc.), which would result in the gallery having at least one item in it that meets those filter criteria.

     

    Edit: Oops didn't mean to jump on the bandwagon of replies, didn't see others replied while I was typing mine.

  • Community Power Platform Member Profile Picture
    on at

    I am manually loading the items in the gallery with this Table({Color:"3.1 Delivery Timeline"}, {Color:"3.1 Delivery and Handling Costs"}, {Color:"3.1 Location"}, {Color:"3.1 Liquidated Damages"}, {Color:"3.2 Installation"},{Color:"3.3 Customer Obligation"}, {Color:"3.3 Customer Obligation Cont."},{Color:"3.4 Training Scope"}, {Color:"3.4 Training Schedule"}, {Color:"3.4 Training: Customer Obligation"}, {Color:"3.4 Training Cost"}, {Color:"3.4 Training Certificate"},{Color:"3.5 Commissioning"}, {Color:"3.5 Commissioning and Acceptance"},{Color:"3.5 Acceptance: Sample Language"},{Color:"3.6 Standard and Complex projects"}). Then when the icon is selected I want to navigate to 3.6 Standard and complex @eka24 

  • Community Power Platform Member Profile Picture
    on at

    I am not sure about how to do this I tried this on the onselect on the button Filter(Gallery1, Title1 = "3.6 Standard and Complex projects")

  • eka24 Profile Picture
    20,923 on at

    Replace Title with the Column Name Color:

    Filter(Gallery1, Color = "3.6 Standard and Complex projects")

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

     

  • Community Power Platform Member Profile Picture
    on at

    I am getting invalid argument type. Is this because I created the table in the items? @eka24 

  • eka24 Profile Picture
    20,923 on at

    1. Create a Table using OnVisible or Using Onselect of another button:

    Set(MyTable,Table({Color:"3.1 Delivery Timeline"}, {Color:"3.1 Delivery and Handling Costs"}, {Color:"3.1 Location"}, {Color:"3.1 Liquidated Damages"}, {Color:"3.2 Installation"},{Color:"3.3 Customer Obligation"}, {Color:"3.3 Customer Obligation Cont."},{Color:"3.4 Training Scope"}, {Color:"3.4 Training Schedule"}, {Color:"3.4 Training: Customer Obligation"}, {Color:"3.4 Training Cost"}, {Color:"3.4 Training Certificate"},{Color:"3.5 Commissioning"}, {Color:"3.5 Commissioning and Acceptance"},{Color:"3.5 Acceptance: Sample Language"},{Color:"3.6 Standard and Complex projects"}))

     

    2. On the Items property of the Gallery:

      Filter(MyTable, Color= SelectedItem)

     

    3. On the Navigate button:

      Set(SelectedItem,"3.6 Standard and Complex projects")

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard