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

Announcements

No record found.

News and Announcements icon
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 134
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?
 
  • GS-27040948-0 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,573 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
    GS-27040948-0 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 264 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 219

#3
Subra Profile Picture

Subra 164 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans