web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : UWOe2yQOhvGmms1PGsZQkv
Power Apps - Power Apps Pro Dev & ISV
Suggested answer

Using Environment Variable's value in Label control

Like (1) ShareShare
ReportReport
Posted on 13 Jun 2025 22:51:01 by 64
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)
  • Pstork1 Profile Picture
    67,989 Most Valuable Professional on 17 Jun 2025 at 22:49:20
    Using Environment Variable's value in Label control
    Yes, that should work fine.
  • Newbee321 Profile Picture
    64 on 16 Jun 2025 at 20:24:14
    Using Environment Variable's value in Label control
    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? 
  • Suggested answer
    Pstork1 Profile Picture
    67,989 Most Valuable Professional on 14 Jun 2025 at 02:53:59
    Using Environment Variable's value in Label control
    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
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 898 Most Valuable Professional

#2
Power Apps 1919 Profile Picture

Power Apps 1919 356

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 305 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading started
Loading complete