cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rollyrulona
Level: Powered On

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
Merlijn
Level 8

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).

1 REPLY 1
Merlijn
Level 8

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).

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 176 members 4,697 guests
Please welcome our newest community members: