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 / Global variable sporad...
Power Apps
Unanswered

Global variable sporadically returning Blank

(0) ShareShare
ReportReport
Posted on by 19

I'm declaring a global variable in App.OnStart - gblUserEmail:

 

Set(
 gblUserEmail,
 User().Email
);

 


Which appears in the variables pane correctly:

Screenshot 2023-05-01 at 18.38.15.png

 

However, when calling the variable in the OnButtonSelect property of the Dialog component (PowerApps Creator Kit), the variable returns Blank:

Screenshot 2023-05-01 at 18.39.42.png

 

If I create a text label, with value 'gblUserEmail', it correctly shows 'flightops.dev@ba.com'.

 

This issue has only started in the last few days - the published version of the app still works correctly, but the problem is observed in the editor in both dev and production environments.

 

Anyone experienced similar? Any ideas?

Categories:
  • jhayward Profile Picture
    19 on at

    Disregard - it was just the in-formula preview which was returning blank - clearly just a bug!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard