Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Virtual Entities - 1:N Relationship

$
0
0

Hi Everyone,

I have two virtual entities in my Solution named as 

  • Project
  • Issue

Data source is an Odata V4 API I built to retrieve Projects and Issues from JIRA. The issue is I want to have a 1:N relationship between Project and Issue as they are in JIRA. I am trying to add a lookup field of"Project" on my issue entity providing the field having guid of project (projectid) as external name. I save and publish the entity but when I try to access related Issues through Project or Advanced Find I get error as below:

If I remove the lookup field, I can access them but I need to show them as related i.e. one project has many issues.

Below is how I created a Lookup field on "N" side of record i.e. Issue

Below is my Odata API Meta Data showing both records metadata.

Any suggestions would be greatly appreciated. Thanks in Advance.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>