cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Variable label control text

Hello

 

PowerApps automatically generate a label control from the data source.

How do I change this label control's text property to be variable?

For instance, I want the label control in the Detail Screen>Detail Form to be variable whenever I click the next icon on a record from the Browse Screen>Browse Gallery.

PowerApps variable labelc ontrol.JPG

 

I want it to display the customer name on the label control LblAppName2 whenever I select a record using the next button in Browse Gallery.

 

Thanks in advance!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Resolver I
Resolver I

Re: Variable label control text

For your example, you can just use the following formula in the 'Text' property of the label:

Gallery1.Selected.Name (where name is your fieldname that you want to display).

View solution in original post

1 REPLY 1
Highlighted
Resolver I
Resolver I

Re: Variable label control text

For your example, you can just use the following formula in the 'Text' property of the label:

Gallery1.Selected.Name (where name is your fieldname that you want to display).

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

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

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,031)