unable to expose npe entities in ODATA when associations set as As a associated object it

0
Hi, I am working on exposing a NPE entity in OData. Due to the requirements, i can't set the association as 'As a link'. But i am not able to expose the NPE as it is showing the error 'Attribute ID for the entityX must be publish and should be as a key'. But there is no option to add ID as a key for NPE entity.      Could some one please help me with this? Thanks in advance. 
asked
1 answers
0

>Due to the requirements, i can't set the association as 'As a link'.

Can you tell more about those requirements?

 

Setting associations 'As a link' means that associated objects are identified with their ID, so the ID needs to be published.

In this particular case the entity does not have any associations, so here Studio Pro is being a bit too strict.

answered