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 / How can I trigger a bu...
Power Apps
Answered

How can I trigger a button on another page?

(0) ShareShare
ReportReport
Posted on by 30

Hello ,

I watched Reza's video and copied the menubar. Unfortunately, the navigation bar must first be triggered by a button in order to display the content. I thought that when the user logs in on another screen, the Login button on the other screen triggers the button for the menubar and is then no longer visible. I couldn't get it to work, I thought I could do it with a global variable or with a flow but I can't manage it. Do you have any ideas?

Thanks for your answers 🙂

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at

    Hi @xxtheextraxx ,

     

    You can use the Select function for that:

     

    Select(ButtonName)
  • xxtheextraxx Profile Picture
    30 on at

    Powerapps says that the button is not displayed on the screen. What am I doing wrong?

  • Verified answer
    BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at

    Hi @xxtheextraxx ,

     

    I spoke too soon: Indeed Select can't be used for a control off screen: https://powerusers.microsoft.com/t5/Building-Power-Apps/DisplayMode-View-removes-border/td-p/66973

     

    A workaround may be to use a global variable and set that with a random value:

     

    Set(varTrigger,Rand())

     

    On the screen that has the control you want to trigger, insert a slider with the following properties:

     

    Default = varTrigger
    Visible = false
    OnChange = Select(ButtonName)

     

     

    The Slider.Onchange property will be triggered every time varTrigger is changed and because it is on the same screen as the button you want to select, there's no issue.

  • xxtheextraxx Profile Picture
    30 on at

    Thank you so much

  • xxtheextraxx Profile Picture
    30 on at

    It now jumps all the time to the structure view with the data my button saves and blocks all the time. Have I done something wrong or does it stay like this?

  • BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at

    Hi @xxtheextraxx ,

     

    Without knowing how you implemented this, it's really hard to say anything useful. All I can say is to beware of creating loops.

     

    For further support, please explain step-by-step how this is supposed to work, including the code, so I can check it.

  • HannahSommer Profile Picture
    11 on at

    Hey @BCBuizer ,

    I tried to implement it in the way you suggested. On the "OnSucess"-Property of a form I want to select a button which is on another screen. When successfully submitting the form, varTrigger is changed, but I fear that the button will not be selected, beacuse the desired action is not executed. Do you have any suggestions? Thanks in advance!

  • BCBuizer Profile Picture
    22,833 Super User 2026 Season 1 on at

    Hi @hguenther ,

     

    In cases where this didn't work I used canvas components to build a button which you can then add to multiple screens but you don't have to worry about synchronising any changes across multiple instances of the component, something that would happen if you were to simply copy the button: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/create-component

     

    Once created, you can simply add a button to any screen where you need it and then select it using the Select function.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 337 Most Valuable Professional

#2
11manish Profile Picture

11manish 173

#3
Valantis Profile Picture

Valantis 86

Last 30 days Overall leaderboard