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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,738)