cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dr_David_Banner
Helper I
Helper I

Display current value of a lookup field in a label CDS

Hi

 

I have a custom lookup field in the CDS that's linked to the user entity. I'm using the field to record users assigned to a task, I'd like to display its current value in a label, could any one tell me if that is possible and the code needed? 

 

thanks in advance

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
DevendraSingh
Resolver I
Resolver I

Hi,

Use the formula LookUp(entity, condition).CustomLookup.'Full Name' to display the full name of custom lookup user column value. All the user properties are available, so you can display data according to your requirement.

If you are displaying the data in the gallery control then use the formula ThisItem.CustomLookup.'Full Name'

Please click Accept as Solution, if this solution solved your issue. If this post was useful, please consider giving it Thumbs Up.


Thanks & Regards,

Devendra Singh

View solution in original post

1 REPLY 1
DevendraSingh
Resolver I
Resolver I

Hi,

Use the formula LookUp(entity, condition).CustomLookup.'Full Name' to display the full name of custom lookup user column value. All the user properties are available, so you can display data according to your requirement.

If you are displaying the data in the gallery control then use the formula ThisItem.CustomLookup.'Full Name'

Please click Accept as Solution, if this solution solved your issue. If this post was useful, please consider giving it Thumbs Up.


Thanks & Regards,

Devendra Singh

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (91,373)