cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
R3dKap
Super User
Super User

ISSUE - Components not showing values from global variables

Hi all,

Since last week (I think), if you bind a component custom parameter's value to a global variable, the value is not visible inside the component.

I have created a simple component with one custom text parameter. This component just shows the value of the parameter using a label control.

When I put the component on a screen, I see the following behavior:

  • if I set the parameter to "FIXED VALUE", the component shows "FIXED VALUE"
  • if I set the parameter to a local variable locVariable which is set in the OnVisible event of the screen using UpdateContext({locVariable: "LOCAL VALUE"}), the component shows "LOCAL VALUE"
  • if I set the parameter to a global variable gloVariable which is set in the OnStart event of the application or in the OnVisible event of the screen using Set(gloVariable; "GLOBAL VALUE"), the component shows nothing

Be aware that in this last case, if your global variable gloVariable was already set BEFORE you set the component's parameter to gloVariable, the component shows the correct value. But then, changing the value of the gloVariable will make the component to show nothing anymore.

Here is a test I made on my tenant (I've tested it on other tenants as well and other people have the same issue):

bc01.gif

If no one has posted a ticket to the Power Apps team yet, I'll do it...

IMPORTANT NOTE: publishing the app does not solve the problem!!

Emmanuel

1 ACCEPTED SOLUTION

Accepted Solutions
iAm_ManCat
Super User
Super User

Hi @R3dKap 

 

This has been raised to the team already and the issue is being tracked 😺

 

Cheers,

Sancho

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


View solution in original post

3 REPLIES 3
iAm_ManCat
Super User
Super User

Hi @R3dKap 

 

This has been raised to the team already and the issue is being tracked 😺

 

Cheers,

Sancho

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


kbilakanti
Resolver III
Resolver III

I am also facing the same issue. I have raised it with Microsoft. Waiting for their response
R3dKap
Super User
Super User

This issue has been fixed! Thanks Power Apps Team!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,438)