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 Apps
Unanswered

undefined

(0) ShareShare
ReportReport
Posted on by 8

hi everyone, how can I navigate to next selected page based on the dropdown menu selection ?

I have the same question (0)
  • v-mengmli-msft Profile Picture
    on at

    Hi @naziha1 

     

    Please try this:

    Set the OnChange of Drop down to

     

    Switch(Self.Selected.Value,
    "Value1",
    Navigate(Screen1),
    "Value2",
    Navigate(Screen2),
    .
    .
    .)

     

     

    Best regards,

    Rimmon Li

  • naziha1 Profile Picture
    8 on at

    Any additional code in submit button for navigate ?

     

  • v-mengmli-msft Profile Picture
    on at

    Hi @naziha1 ,

     

    The above code also applies to the OnSelect property of the button, but you can also use the if function:

    If(dropdown.Selected.Value="Value",Navigate(ScreenName))

     

    Best regards,

    Rimmon Li

  • naziha1 Profile Picture
    8 on at

    sorry why its not working

     

  • naziha1 Profile Picture
    8 on at

    it says 'switch has some invalid arguments'

  • v-mengmli-msft Profile Picture
    on at

    Hi @naziha1 ,

     

    Could you please show me the screenshot?

  • naziha1 Profile Picture
    8 on at

    naziha1_1-1697513351093.pngnaziha1_2-1697513433633.png

     

     

  • v-mengmli-msft Profile Picture
    on at

    Hi @naziha1 ,

     

    The screen name is malformed, add single quotes to the screen name with parentheses.

    vmengmlimsft_0-1697516231194.png

     

    Best regards,

    Rimmon Li

     

  • v-mengmli-msft Profile Picture
    on at

    Hi @naziha1 ,

     

    How is situation now?

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard