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 / Using Environment Vari...
Power Apps
Suggested Answer

Using Environment Variable's value in Label control

(1) ShareShare
ReportReport
Posted on by 79
Hi,
I have a basic Power apps license.
Created an environment variable to store an email. I use it in Power automate and want to leverage same EV to show that value in a label control on my canvas app. 
for example EV's current value is usernameATcompany.com and on canvas app want to show a message "Please contact at usernameATcompany.com for further questions"
 
Is it possible to show it in any of the canvas app controls?
I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    68,707 Most Valuable Professional on at
    Environment variables are stored in Dataverse and can be retrieved directly in Power Apps, but it requires a Premium license.  The best way to do it without a premium license is to invoke a flow from the Power App, and return the Environment variable value as a string.  Power Automate does let you access Environment variables without a Premium license.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • Newbee321 Profile Picture
    79 on at
    Thank you @Pstork1!
     
    Will it be ok to run a flow on app load and save the string value in a global variable so it can be used on multiple pages later?
    or suggest any other way to fetch the EV value? 
  • Pstork1 Profile Picture
    68,707 Most Valuable Professional on at
    Yes, that should work fine.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard