Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Virtual Entity custom provider retrieve plugin displays no data

Posted on by
Hi All, 
 
I am creating a custom data provider for a virtual entity (based loosely on this Sample: Custom virtual table provider with CRUD operations (Microsoft Dataverse) - Power Apps | Microsoft Learn).
  
My retrieve multiple works fine using an output parameter of "BusinessEntityCollection". However, for my retrieve plugin it throws no errors but only displays the labels for the fields and no content. I am returning a valid entity in the "BusinessEntity" output parameter like so...
 
context.OutputParameters["BusinessEntity"] = record; // record is an entity here

 
The entity has an ID set (both the primary id attribute and the .id property) and looking at the response in fiddler it looks fine as below..
 
 
{
  "@odata.context": "https://kf-northstar-client-demo.crm11.dynamics.com/api/data/v9.0/$metadata#kf_schemes(kf_kf_id,kf_name,kf_region,kf_include_in_standard_analysis,kf_completion_year,kf_completion_date,kf_schemeid)/$entity",
  "kf_completion_year@OData.Community.Display.V1.FormattedValue": "2,017",
  "kf_completion_year": 2017,
  "kf_name": null,
  "kf_include_in_standard_analysis@OData.Community.Display.V1.FormattedValue": "Yes",
  "kf_include_in_standard_analysis": true,
  "kf_kf_id": "KF0000003",
  "kf_completion_date@OData.Community.Display.V1.FormattedValue": "15/03/2017",
  "kf_completion_date": "2017-03-15T00:00:00Z",
  "kf_region": "North West",
  "kf_schemeid": "00000000-0000-0000-0000-000000000003"
}
 
 
but on my screen I see nothing :-(
 
 
 
 
 
 
any help appreciated :-)
  
Chris

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans