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 / 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:
I have the same question (0)
  • 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,297 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard