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 / Get last shape fill to...
Power Apps
Answered

Get last shape fill to save on App Close

(0) ShareShare
ReportReport
Posted on by 14

Hi

 

Im trying to build a visual calendar tracker for an online "whiteboard" for my team. The idea is when the green shape(rectangle) is pressed it will go red indicating a non safe day etc. I can achieve this using Onselect = UpdateContext on the shape but will clear once the app is closed. Is there a way for the last fill state to be saved or a better option

 

Ive attached img to help

 

Cheers guys

tracker picture.PNG
Categories:
  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    well if you want to retain the value there is no option but to use external database like sharepoint online. Because variables and collection will loose value once the app is closed. So you can make one sharepoint list for all the days or numbers or whatever you have and attach the color value with that particular day. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard