cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jimbo_00
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
PowerAddict
Super User II
Super User II

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

 

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

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

Is your problem solved now?

Yes, thanks.

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

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

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

Top Solution Authors
Top Kudoed Authors
Users online (48,499)