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 / Button Transitions to ...
Power Apps
Answered

Button Transitions to a New Screen and Updates a DropDown Column (Allowed Values)

(0) ShareShare
ReportReport
Posted on by 228

Objective: Button transitions to a new screen and updates a DropDown column (Allowed Values) with one of the available options. I have three buttons on the start screen that have a corresponding Option in the target DropDown Column on another screen.

 

Below is screen one, with the button that is to navigate to another screen and update a specific dropdown on that screen. The OnSelect Properties are:

 

NewForm(NCAAccordianForm); Navigate(ScreenNCAAccordian,ScreenTransition.Fade, {SelectedValue: "Individual Tax"})

 

2023-08-29_6-46-17.jpg

Below is Screen two  with the dropdown that is to be updated. The screen OnVisible properties of the screen is: 

UpdateContext({ClientTypeValue: Param("SelectedValue")})

 

2023-08-29_6-46-59.jpg

 

The Default value of the Client Type column is: ClientTypeValue. The value remains blank even though the contextual variable was pushed through to the new screen.

 

Is this the wrong approach? 

 

2023-08-29_7-02-44.jpg

Categories:
I have the same question (0)
  • madlad Profile Picture
    2,637 Moderator on at

    Hi!

     

    I think here you should be able to just change the Default value of the client type to be SelectedValue, since SelectedValue is a context variable for this screen - If you want to keep using ClientTypeValue, try changing the reference in the OnVisible to be:

     

    UpdateContext({ClientTypeValue: SelectedValue})

     

    I believe the Param Function gets values from when the app is launched, not when the screen changes.

     

    Hope this helps!

  • ShondaT Profile Picture
    228 on at

    @madlad Thank you for your suggestion. That doesn't appear to work either. If there's another approach you could suggest I'm definitely all ears. 🙂

  • madlad Profile Picture
    2,637 Moderator on at

    What type of values are the dropdown's choices, and how are they defined in the dropdown?

    You may need to use some formula to find this, as it looks like just using the variable isn't finding a match in the dropdown's choices.

    Let me know!

  • ShondaT Profile Picture
    228 on at

    @madlad The values are: Individual Tax, Entity Tax, Assurance and it is a SharePoint Text Column that I changed to a dropdown within Powerapps by applying Assigned Values.

  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @ShondaT,

     

    The comment of @madlad regarding Param is correct. Additionally, the UpdateContext on the Screen Onvisible is not needed since the Navigate function creates a context variable called SelectedValue.

     

    Please try the following code in the DefaultSelectedItems property of that Combobox:

     

    {Value: SelectedValue}

     

     

     

    In case of a custom dropdown which does not have the DefaultSelectedItems property, use the following code in the Default property:

     

    SelectedValue

     

    Make sure the saved text value matches the dropdown options exactly - pay close attention to spaces and capitalization.

     

    If this solves your question, would you be so kind as to accept it as a solution & give it a thumbs up.

    Thanks!

  • Verified answer
    ShondaT Profile Picture
    228 on at

    @LaurensM that worked perfectly! Thank you so much!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard