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

Helpful resources

Announcements
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (5,471)