cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
alashin
Regular Visitor

A Beginner Question ..

Hello Community,

 

I am new to Power Apps and I have a strange issue. Basically, I am trying to get the currently logged-in user in a global variable and then use it inside the app as you can see in the following screenshot.

image.png

 

When I am trying to use it inside the app, it is always blank. No error or warning but just blank.

image.png

 

Using the User().FullName will work but the variable is always giving me Blank. Is there anything wrong in the way I am declaring or calling the variable? Am I missing anything here?

 

Appreciate your support and patience 🙂 ..

Thanks ..

Ahmed.

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
C-Papa
Super User
Super User

Hi, you need to click the 3 dots on the App a click Run OnStart, this will the execute the code tied to the OnStart property

 

CPapa_0-1632815526902.png

 

View solution in original post

eka24
Super User
Super User

Most likely, you have not run the OnStart:

eka24_0-1632815621010.png

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Please Subscribe to my Youtube Channel

 

 

View solution in original post

3 REPLIES 3
C-Papa
Super User
Super User

Hi, you need to click the 3 dots on the App a click Run OnStart, this will the execute the code tied to the OnStart property

 

CPapa_0-1632815526902.png

 

View solution in original post

eka24
Super User
Super User

Most likely, you have not run the OnStart:

eka24_0-1632815621010.png

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Please Subscribe to my Youtube Channel

 

 

View solution in original post

alashin
Regular Visitor

Thank you guys. This was helpful 🙂 ..

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,671)