cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

How to read Environment Variables in PowerApp?

I'm looking for a quick example of how to read an Environment Variable in a PowerApp. https://docs.microsoft.com/en-gb/powerapps/maker/common-data-service/environmentvariables

 

I've set the variable in my environment. How do I simply read that in a PowerApp and display the current value in a text label?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate III
Advocate III

Re: How to read Environment Variables in PowerApp?

That's the pointer I needed. Thanks.

 

The solution to my problem was to set the text on the label to be:

 

LookUp('Environment Variable Values', 'Environment Variable Definition'.'Schema Name' = "test_environment_data").Value

 

View solution in original post

3 REPLIES 3
Highlighted
Resident Rockstar
Resident Rockstar

Re: How to read Environment Variables in PowerApp?

Hi @DavePotts_BritE ,

 

Have a look at this detailed video to help you better.

https://www.youtube.com/watch?v=DxjwpqcwI_Y

 

I hope this resolved your issue if you see any challenge let me know I am always happy to help.

 

Regards,

Krishna
If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

Highlighted
Advocate III
Advocate III

Re: How to read Environment Variables in PowerApp?

That's the pointer I needed. Thanks.

 

The solution to my problem was to set the text on the label to be:

 

LookUp('Environment Variable Values', 'Environment Variable Definition'.'Schema Name' = "test_environment_data").Value

 

View solution in original post

Highlighted
Resident Rockstar
Resident Rockstar

Re: How to read Environment Variables in PowerApp?

Hi @DavePotts_BritE,

 

I just noticed you liked my reply, please mark it as the solution if that solves your issue if not please let me know what else you need so that we can help the new members in the community also 😊

 

Regards,
Krishna


If this post helps give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Top Solution Authors
Top Kudoed Authors
Users online (7,278)