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
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (5,285)