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 / Components not reading...
Power Apps
Unanswered

Components not reading Global Variable (Type Records)

(3) ShareShare
ReportReport
Posted on by 21

Hi,

 

Does anyone also have a problem with components not able to read Global Variables (Records Type in my case) ?
The problem appears in several apps in my environment since the new release of PowerApps (3.20021.27) but it worked fine in the previous release (3.20014.23)

 

I haven't open a ticket yet

Thanks

Alexis

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    I believe this is by design. Components are meant to be used throughout solutions, not in a specific case. You can create an input in your component that you then feed using a variable, but a component itself cannot reference a global variable. Think of them as a completely separate solution. At least this is my understanding.

    ---
    If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.

  • Verified answer
    Mr-Dang-MSFT Profile Picture
    on at

    There's currently some tickets open in which components with an input property set to an external global variable are experiencing issues. 

     

    You can file a support ticket or in the interim you can switch the variable to a local variable (UpdateContext). Sorry for the inconvenience.

  • alexis Profile Picture
    21 on at
    Thanks for the answer, that's exactly what I'm experiencing right now.
    I didn't think of using a local variable temporarily and removed all the components I used to replace them with common controls.

    I'll test again later.
    Thanks
    Thanks
  • CYoung Profile Picture
    14 on at

    Yes this used to work until the today. Now the components don't work with global variables.

  • Verified answer
    Mr-Dang-MSFT Profile Picture
    on at

    Hi @alexis @CYoung @Anonymous ,

    A fix went out earlier today for this issue. Can you report back if the issue is resolved for you?

  • alexis Profile Picture
    21 on at
    Hi,

    Yes it's working again for me.
    Thanks 👍

    Alexis
  • CYoung Profile Picture
    14 on at

    yes thank you it is resolved

  • mfcalmeida Profile Picture
    28 on at

    It seems this issue is back... I'm running version 3.20043.21

     

    The app works fine while editing in PowerApp Studio but in production, the components are unable to read the variable content.

  • Cooper01 Profile Picture
    664 on at

    Hi @Anonymous , came across your comment when searching for how to pass a variable to a component. Can you provide any more detail on how to do this? I am setting a global var (MyRole) on app OnStart. I'd like to display that value in a label in my component. I have a Text input custom property and I am passing MyRole in as the value. However, the component shows "MyRole", not the value of the MyRole var. Am I missing something?

  • Community Power Platform Member Profile Picture
    on at

    @Cooper01 

    Did you enter "MyRole" or MyRole.Value?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard