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

Lookup on complex type

Just beginning building canvas app for first time and struggling with how to do a 'Lookup' on a related entity in CRM.

I have the GUID of the valude I want to lookup on however the below Lookup doesn't seem to work?

Trying to response value back only from particular record that has a matching "Related Enitty" id?

 

LookUp(Responses,"Related Entity"=Param("RelatedEntityId")).Response

4 REPLIES 4
Highlighted
Super User
Super User

Re: Lookup on complex type

Try something like this:

LookUp(Responses,"Related Entity".ID = GUID of the related entity that you want to lookup on)

ID is the column name in which the GUID of the related entity is stored.

This example is just for illustration.

Let me know if this helps.

---
If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution. Thanks!

Hardit Bhatia
https://thepoweraddict.com
Highlighted
Helper I
Helper I

Re: Lookup on complex type

 

thanks, had to end up converting to GUID like this...

LookUp(Responses,'Related Entity'.id=GUID(Param("RelatedEntityId"))).Response

Highlighted
Super User
Super User

Re: Lookup on complex type

Is your problem solved now?
Highlighted
Helper I
Helper I

Re: Lookup on complex type

Yes, thanks.

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,223)