cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chris61
Level: Powered On

LookUp Not Available

Hi all,

 

I have the following scenario:

 

Dynamics 365 has 3 entities: Asset, Asset Owner, Client

 

Asset Owners can have many Assets and Many Clients

Clients can have many Assets

 

This works fine in D365.

 

I have a PowerApp that has a CDS connector. It can see all of the fields above EXCEPT for the LookUp fields.

 

I've never had a problem with this before.

 

All relationships were created in D365 and published.

 

LookUp fields are available in D365.

 

Strangely the ClientID lookup appears to be available on the Asset connection but that's it.

4 REPLIES 4
Community Support Team
Community Support Team

Re: LookUp Not Available

Hi @chris61 ,

Could you please share a bit more about your issue?

Do you mean that the LookUp field could not be displayed within your Client Entity but in Asset Entity?

 

Actually, the Entity of Dynamics 365 CRM is based on/built on the Common Data Service for Apps(CDS) within PowerApps.

Based on the issue that you mentioned, I think you have a misunderstanding on the representation of Relationship set up between two different Entities within PowerApps.

If you created a One-to-Many (1:N) Relationship from your Client Entity to your Asset Entity, the Asset Entity would be the Primary Entity, the Client Entity would be the Related Entity. The LookUp field (generated via this Relationship) would be existed within the Primary Entity (Asset Entity).

More details about the Relationships within the Common Data Service (CDS) within PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/create-edit-entity-relationship...

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
chris61
Level: Powered On

Re: LookUp Not Available

Thank you for your reply.

 

I have set up the relationships in the correct way. The Asset has lookups to both Client and Asset Owner in Dynamics 365. Additionally, the Client has a lookup to Asset Owner. Both Client and Asset Owner have sub-grids that list the Assets associated with them.

 

The problem in PowerApps is that when I'm working with Asset entity via CDS I only have ClientId available. I don't have Asset Owner ID available and I can't fathom why this is the case! 

 

Also, when working with the Client entity, there is no field to reference the Asset Owner.

 

It has halted app development in this case.

chris61
Level: Powered On

Re: LookUp Not Available

For reference I've attached an image to show the list of available records for the Asset entity. You can see Client is available. This provides me the ability to see the related Client from the Asset. What you cannot see, which is the problem I'm having, is the Asset Owner value/field. It just isn't there. Dynamics 365 has this working fine and it's also showing in PowerApps solutions. It just isn't in PowerApps canvas app builder.

 

Highlighted
PowerApps Staff caburk
PowerApps Staff

Re: LookUp Not Available

Here's a really in depth docs page that demonstrates how to work with lookups in canvas apps. https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-references

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 397 members 5,016 guests
Recent signins:
Please welcome our newest community members: