19
Views
5
Comments
Solved
Only Create Entity Action available
Question

Hi, 


I'm currently working on a CS module where my entity only provides me with a Create<entity> action. The rest of the RUD actions are simply not available. First, I thought this was because of the structure of the entity. The entity has 2 attributes (including it's own Id) which are both Identifiers of other entities. But I have added a new attribute to the entity, and there is still only the Create action available. 

Thanks in advance,


Jori 

Rank: #128
Solution

Hi Jori,

Your entity lacks a primary key.

This can be its own id, but can be a foreign key id as well. 

Dorine

Rank: #446

Hi Jori,

Wishing you Merry Christmas and Happy New year!!

In order to have all the CRUD actions available for a particular entity, there should always be a column which is defined as primary key. Since, you have two foreign keys into that entity you can make one of them as primary key.

Thanks & Regards,

Sachin