cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
Super User II
Super User II

Re: ISSUE - Components not showing values from global variables

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
Highlighted
Super User II
Super User II

Re: ISSUE - Components not showing values from global variables

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

Highlighted
Resolver II
Resolver II

Re: ISSUE - Components not showing values from global variables

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

Re: ISSUE - Components not showing values from global variables

This issue has been fixed! Thanks Power Apps Team!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (8,508)