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 / Navigate is not workin...
Power Apps
Answered

Navigate is not working with OnSelect

(0) ShareShare
ReportReport
Posted on by 13

In a component, I have a Gallery and I try to use Navigate with OnSelect. When I enter "Navigate" it doesn't recognize this function. I try everything I found in other post with parameters and everything. Does anyone have idea what can I do, or is there another function I can use? (I am not a developer..)

Categories:
  • JayMagness Profile Picture
    1,663 on at

    Hi, 

     

    Navigate(....) should work I tested it here and it works for me.

     

    I sometimes am not in the OnSelect action... also depending on your connection and program load it may take a second or two to show.

  • Kat301 Profile Picture
    13 on at

    I have tried to save, close, reopen and still doesn't work 😞

  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Kat301,

    Since you want to navigate from a Gallery in the Component, I think you need to know that Components are autonomous, which means that they have no context of your App or information in the app.

     

    When a navigate is needed, your formula in your gallery in the component would navigate normally (no context allowed) and then you would need to reference an Output property on the component to get the selected ID.

     

    So, in your component you would set your output property for the ID to be the selectedItem.ID of your gallery.  Then your app would be able to use the property you created on your component to get that ID.

  • Devvj Profile Picture
    1,132 Super User 2024 Season 1 on at

    Hi,
    Maybe not the issue here, but things like text label, icons etc in a gallery item/cell can get in the way if you want the whole cell to trigger the Navigation, in which case you could consider to add the same logic (onSelect) on all the components in the cell.

    But anyway, it should work fine to Navigate between screens, here is a screenshot of the most basic way possible

    Devvj_0-1689317960234.png

     

  • Verified answer
    Kat301 Profile Picture
    13 on at

    Thank you all! It is fixed! My synthax was wrong.

     

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard