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 :
Finance | Project Operations, Human Resources, ...
Answered

Duplicating Composite Data Entity (to update IsPublic property) for OData

(0) ShareShare
ReportReport
Posted on by 122
We have a requirement to expose Vendor Invoice functionality via Rest API (OData).
 
I have experience duplicating a single data entity in order to set the IsPublic property to Yes and expose it through OData.
 
I need to do the same thing with the VendInvoiceEntity data entity, which is a composite data entity.  The three data entities making up this composite data entity all have IsPublic set to Yes.  But VendInvoiceEntity has IsPublic set to No.
 
 
However, when I duplicate VendInvoiceEntity and add it to my project, the IsPublic property is no longer available for me to update it to Yes:

 
The list of properties has a lot of differences in the duplicated version when I duplicate this composite data entity.
 
Is there a different process for duplicating a composite data entity?  Do I also need to duplicate the data entities that make up the composite data entity as well?  Should I create my own composite data entity?
 
I have the same question (0)
  • Community member Profile Picture
    36 on at
    Hi Jackie,
     
    Better option will be creating a composite entity from scratch same as the standard and see if it works
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at
    Hi, Composite Data Entites are not supported for Odata. You can check any standard composite data entity, isPublic field will be inaccessible when data entity opened in Designer in visual studio.
     
  • Verified answer
    Community member Profile Picture
    36 on at
    Yes, Composite data entities cannot be used in OData and I checked that.
    One option you can do is creating custom entity by joining all the tables in the composite entity and use that in the OData.
     
    Thanks,
    Girish S.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans