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
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:
technologyblog.rsmus.com/.../
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/.../know-how-or-condition-between-linked-entities-or-multiple-entites-in-mscrm-fetchxml
www.itaintboring.com/.../
community.dynamics.com/.../fetch-xml-link-entity-attribute-value
Hope above could help.
Regards
Johnny
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,
When you want to retrive data from more than one entity (which are related) you need to use linkedentity :)
Linked entity is basically a relationship between entities.
CRM has out of box (1:N )relationship between Account & Contact.
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 -
rajeevpentyala.com/.../
Using FetchXML here you can refer how to use link entity , I would prefer you to create fetch XML using advanced find -
msdynamicscrmblog.wordpress.com/.../
www.youtube.com/watch
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HR-09070029-0 2
ED-30091530-0 1