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 / Component Behaviour: s...
Power Apps
Answered

Component Behaviour: screen variables used in behaviour function are blank since some days

(0) ShareShare
ReportReport
Posted on by 20

My problem is visualised in this overview of a dummy app that replicates a problem that did not exist until some days ago:

yla3357_2-1665593030382.png

 

Using:

- Component myComponent with a Custom Property behaviour "onClickTest" (enabled experimental "enhanced component properties")

- MyComponent embedded in a screen in which a variable curVar is set

 

Problem:

Since some days, when I reference the variable used in the screen, this has "blank" value in the OnClickTest function implementation in the screen. 

Current (problem): myComponent_1-> OnClickTest -> curVar = Blank

Previous (Correct): myComponent_1-> OnClickTest -> curVar = "This is the current value of curVar"

Check curVar: see label below the button "set curVar", outputting effectively the bold text string above -> curVar is not blank!

 

This was definitely not the case before, I have been using many global variables in my real app, that used to work properly but now has the same problem, set to Blank, as replicated here.

 

Does this look familiar? Any advise on where to look? Or could this be related to a bug in a PowerApps release?

(I do not know where to check the PowerApps release version; I am not admin)

 

Thanks

Categories:
  • Verified answer
    yla3357 Profile Picture
    20 on at

    found it. Seems incorrect visualisation-> actual values are picked up and used. So just need to ignore the "Blank" mention in the red highlight.

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @yla3357 

    Yes...this has been a LONG running issue with Custom Behavioral actions on components.  When looking at the app values in the formula editor, they do not show the correct values - however, they do 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 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard