HI All,
can any one please explain me about linked entity
what is linked entity when we will use linked entity ?
*This post is locked for comments
When you create any relationship the reference/related entity called linked entity. In Dynamics CRM using SDK you can retrieve data from related or linked entity . Its nothing but the way of retrieving related data using fetchXML or query expression.
Using Query Expression here you can see how to use link entity -
Using FetchXML here you can refer how to use link entity , I would prefer you to create fetch XML using advanced find -
When you create any relationship the reference/related entity called linked entity. In Dynamics CRM using SDK you can retrieve data from related or linked entity . Its nothing but the way of retrieving related data using fetchXML or query expression.
Using Query Expression here you can see how to use link entity -
Using FetchXML here you can refer how to use link entity , I would prefer you to create fetch XML using advanced find -
Hi,
Linked entity is basically a relationship between entities.
CRM has out of box (1:N )relationship between Account & Contact.
Hi,
When you want to retrive data from more than one entity (which are related) you need to use linkedentity :)
Hi There,
It is as equal as relationship of records to each other. When link entity comes into the picture I must say its kind of joins. When you create relationship in two entities as 1-N, N-1 or N-N it means they are connected to each other and linked entity is nothing but connected link or in other word I can say foreign key.
It help us to retrieve related data using either sql query or fetchxml query.
In case of retrieve data in related records we can use link entity.
If you see in below snapshot, 'primarycontactid' is linked entity which allows me to join contact with account.
Please refer below url's for your reference:
[View:https://bernado-nguyen-hoan.com/2014/04/19/retrieving-related-records-in-an-nn-relationship-using-queryexpression/:750:50]
[View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/create-and-edit-1n-relationships:750:50]
Hi Screen64,
Both the XRM ToolBox and Advanced Find allow you to create link entities. You could refer to above Wouter's suggestion on linking entity by FetchXml. I could provide some articles as examples for help understanding:
community.dynamics.com/.../fetch-xml-link-entity-attribute-value
Hope above could help.
Regards
Johnny
This sounds like fetchxml?
The linkedentity parameter is used to add a relationship in your query so you can have additional parameters to filter in.
A good explanation can be found here:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156