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 / Issue with Canvas Apps...
Power Apps
Unanswered

Issue with Canvas Apps Components Accessing App Formulas in Play Mode

(2) ShareShare
ReportReport
Posted on by 993 Moderator
I just noticed recently that components that have access to the app scope and use values stored in the App's "Formulas" property no longer work unless the App has already loaded that formula outside of a component.  How long has this been the case?  I'm certain apps I built that used formulas in components used to work this way.  The issue doesn't happen in the editor, only in play mode.

So in short, formula references in components work just fine in the Canvas App editor, and work if the there's a reference to the formula somewhere outside a component that has already been called in play mode.
 
Example:
Here I built a component to test this issue.  One container has a Fill "hardcoded", the other has a Fill that's references an App Formula.  I also display the App Name as stored in the Formulas.

In the editor all values display and render perfectly fine.
 
Formulas:
The Component (in editor):


Play Mode Error:
In play mode, however, none of the values stored in the App's Formulas display.  The container with a fill stored in the Formulas is black, and the "app name" is blank.


Play Mode Working (with other references to the same formulas on the screen and outside the component)


This helps the component load properly in play mode:



Has anyone else noticed this issue?  Is there anyway to enable the component to be able to call the formula on its own?
Categories:
  • CU27041214-0 Profile Picture
    4 on at
    Hey buddy, Did you get the answer, turns out I am not able to use the formulas defined in the Components all together. It's not recognizing the Formula keywords I have defined .
  • stampcoin Profile Picture
    5,171 Super User 2026 Season 1 on at
    How did you use it in your compoenet ?
    the others, you assigned it for example , it's kind of render it  in edit mode.
    if you use something within the component to trigger it , will that work ?

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard