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 / Message on startup screen
Power Apps
Answered

Message on startup screen

(0) ShareShare
ReportReport
Posted on by 361

good morning, I want to leave this message appearing on the screen when the screen starts, but I don't know how to do it...

it's this message in a label, with a "close" button, when you press the button the message disappears. Any idea?

Joaoandrebs_0-1679489505453.png

 

Categories:
I have the same question (0)
  • One Profile Picture
    416 on at

    Hi @Joaoandrebs,

    you can set the variable you use for the message's visible property to true in the 'OnStart' property of the application. This will make the message appear when the application starts. Or you can apply the same idea to the 'OnVisible' property of the screen you want it to appear on. this will make the message appear when you navigate to that screen.

    ------------------------------------------------------------------------------------------------------------------------------
    Please click "Accept as Solution" if this post answered your question so that it is helpful for people having similar questions. If you found this post helpful smack that Thumbs up button! Thanks!

  • indhaa Profile Picture
    on at

    Hi,

     

    You can put the label visibility to a variable.

    So On Start of the screen , set the variable to true.

     

    When user click on the cross button , set the variable to false so that it is hidden from screen.

     

    Hope I'm clear

  • coviedo194 Profile Picture
    22 on at

    Hola...

    Puedes crear un contenedor, luego dentro de él un label con el fondo de color que deseas, y agregar un botón de tipo icono encima.  La estructura podría ser así:

    • Container1
      • IcoCancel
      • Label1

     

    Actualizar las siguientes propiedades:

    App.onstart: Set(visibleMsg, true) //al iniciarse la aplicación defines que la variable está en true.

    Container1.visible: visibleMsg //es decir la visibilidad del contenedor estará definido por una variable

    IcoCancel.onselect: Set(visibleMsg,false) //acá estás indicando que cuando se toca el botón se ocultará el mensaje

  • CU22040918-0 Profile Picture
    195 on at

    Hi @Joaoandrebs 

     

    just use variable to control the message visibility.

     

    add below code in screen.OnVisible


    UpdateContext({locShowMessage:true})

     

    and set locShowMessage to Label and Close Icon’s Visible property 

     

    Then set Close Icon’s OnSelect as below to close the message

    UpdateContext({locShowMessage:false})

     

    Hope this help

    Nelson

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Joaoandrebs ,

    Here you go -

     

    Step 1 - On 'OnVisible' property of screen, set this variable 

     

     

    UpdateContext({loc_ShowMessage:true})

     

     

    swaminawale_0-1679493758167.png

     

    Step 2 - Copy Variable name and set it to the 'Visible' property of message box 

    swaminawale_1-1679493846380.png

     

    Step 3 - On 'Close' icon set this formula to hide the message box

     

     

    UpdateContext({loc_ShowMessage:false})

     

     

    swaminawale_2-1679493908748.png

     

    If you want this to be happen only once, use Set variable on App OnStart

     

    Let me know if this helps and if it is mark this as a solution.

    Thanks 😀

     

     

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
WarrenBelz Profile Picture

WarrenBelz 401 Most Valuable Professional

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard