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

Issue with Canvas Apps Components Accessing App Formulas in Play Mode

(2) ShareShare
ReportReport
Posted on by 991 Super User 2025 Season 2
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:
I have the same question (2)
  • 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,058 Super User 2025 Season 2 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard