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 : ZPmp2abMcVH6gDpHpr+IAl
Power Apps - Building Power Apps
Unanswered

Variables in components

Like (0) ShareShare
ReportReport
Posted on 15 Aug 2021 19:28:18 by Moderator

Hello,

 

I'm very pleased with myself that I managed to display the name of the Screen (cutting off "Screen_" from the beginning of the name) with this formula: Last(Split(App.ActiveScreen.Name;"_")).Result

 

However, as we use multiple tenants in my organisation, I would like to have the e-mail address, the user is logged in with, in the header. I created components for the header and the footer. But I don't yet manage to set a variable or reference a variable that's created on start in the component. I tried creating an output property (named varMail) and even managed to set it as the user's email address. But I don't manage to reference it

This is what the header and footer looks like, in case you're curious.

schwibach_0-1629055664392.png

 

 

  • schwibach Profile Picture
    Moderator on 15 Aug 2021 at 19:37:51
    Re: Variables in components

    Oh, and my Button with "Navigate(Screen_Einstellungen)" doesn't work anymore, now that it is part of the header.

    It worked fine when it was just on the canvas in the app.

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete