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 Platform Community / Forums / Power Apps / Button fill going blac...
Power Apps
Unanswered

Button fill going black when app started

(0) ShareShare
ReportReport
Posted on by 42

Hi,

 

When I start my app the buttons color go back to black and don't stay their original inputted color from last time. Pictured below is an example of what I'm talking about:

 

sean8397_1-1682339397892.png

 

As you can see the buttons are black and when they are press they populate a list that is below. But when I start the app I want the buttons to display green, yellow, and red based on what is in the sharepoint dataset. Below is what I have currently set to fill for the buttons:

sean8397_2-1682339521511.png

The picture below is how I change the color of the buttons once the status is selected in the form:

sean8397_3-1682339637925.png

 

I would like the button's color to stay every time I open the app.

 

Thank you!

 

 

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

    Hi @sean8397 ,

     

    Did you set the value of the variable('ScreenCompleted') when the app starts? 

    I made a sample for you.

    vxiaochenmsft_0-1682387702320.png

    vxiaochenmsft_1-1682387720646.png

    vxiaochenmsft_2-1682387728263.png

     

    Best Regards,

    Wearsky

  • sean8397 Profile Picture
    42 on at

    Thank you @v-xiaochen-msft that helps me out a lot! I do have one follow up question:

     

    Since I have more than one button, each button correlates to a machine number (another column in my sharepoint list) how do I add this second column to the button? 

     

    I will be able to color the button once this is achieved.

     

    Thank you again!

  • sean8397 Profile Picture
    42 on at

    Also I forgot to add @v-xiaochen-msft that my second column is a text input.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard