Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Variables in components

(0) ShareShare
ReportReport
Posted on by

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
    schwibach on at
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard