web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

CDS custom entity relationship with Virtual entity

(0) ShareShare
ReportReport
Posted on by 2,100
Hello Experts,
I have a requirement to fetch the data from an external data source and display the same on the CDS custom entity form within the subgrid. 

So for this I created the Virtual entity and created the 1:N relationship between the CDS custom entity and the Virtual entity to map both the entities. But I get the below error on creating the relationship:


ErrorSubgrid.png


Could anyone please let me know whether we can create the 1:N relationship between CDS custom entity and Virtual entity or not? 

How can I achieve this requirement by using the Virtual entity concept? Or please suggest if you have any other ideas to achieve this.

Thanks

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at

    Hi Inkey,

    You have to match External Collection name and External field name also should match.

    Also verify these fields name in your OData V4 API.

    Please refer to community.dynamics.com/.../in-dynamics-365-getting-error-in-virtual-entity---code-0x80050263-an-odata-error-occurred

  • Inkey Solutions Profile Picture
    2,100 on at

    Hello Lu Hao,

    Thanks for the response. I am able to see the Virtual entity related data properly by providing the correct External Collection name and External field name.

    But the issue arises when I try to create the 1:N relationship between CDS custom entity and the Virtual entity. Is there any other way that we can connect the CDS custom entity and the Virtual entity?

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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans