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
Hi Jori,
Your entity lacks a primary key.
This can be its own id, but can be a foreign key id as well.
Dorine
Hi Dorine,
Is a privacy key the same as a primary key? Because its identifier is currently set to the primary key of a different entity (there is 1-1 relation), so I would say it does have a primary key. Thanks for your fast reply!
Nevermind, All I had to do was set the referenced id to "Identifier". Thanks for your help!
Yes, primary key, it´ s my autocorrect :-)
You currently have 2 foreign keys, none of them primary, as that shows red, not blue.
So you yourself already know that this id is the primary, but you still have to let OS in on it.
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