cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
send2mark
Responsive Resident
Responsive Resident

Pass value to dropdown on separate page

I have a button that links to another page where I want it to fill in a dropdown.

 

So the button would be something like Navigate(Screen1,ScreenTransition.UnCover, {selectedSection: "Session 1" })

 

Then on Screen1 there is a dropdown called Session. I want the value from that button to be passed on to this dropdown which in this case is Session 1. 

 

6 REPLIES 6
eka24
Super User
Super User

Change the code to:
Navigate(Screen1,ScreenTransition.UnCover); Set(selectedSection,"Session 1" })

 

Then in the Default of the Dropdown: 
selectedSection

----------

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.

send2mark
Responsive Resident
Responsive Resident

For the Default dropdown, I am getting an error.

 

send2mark_0-1614522208468.png

 

Can you show a screen short of the first code.

Also is "Session 1" part of the values in the items on your dropdown?

what if the formula on the items property of the dropdown

 

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

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.

 

send2mark
Responsive Resident
Responsive Resident

Right, the drop-down goes Session 1, Session 2, Session 3

 

send2mark_0-1614527141688.png

 

It works fine on my test. Hope it not a Combobox?

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

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.

send2mark
Responsive Resident
Responsive Resident

It is a dropdown, I will see if I can get away with making it is text field instead. Thanks for the help.

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,739)