16
Views
3
Comments
Solved
why is my entity not share able
Question

what shall i do 

Rank: #3332
Solution

Hey tariq 


If your talking about sharing it in different  modules 

In the properties area make is public property yes 


hope it helps 

regards, Faisal

mvp_badge
MVP
Rank: #19

Hi Tarig,

You have to set the entity property Is Public property to True, only then you can add the entity as a dependency to another module.

Regards,

Daniel

Rank: #3332
Solution

Hey tariq 


If your talking about sharing it in different  modules 

In the properties area make is public property yes 


hope it helps 

regards, Faisal

mvp_badge
MVP
Rank: #2

Hi Tariq,

Please, if you ask a question, also include the topic. I had to read the topic first, before I understoord what you meant.

An Entity has two properties, "Public" and "Expose Read Only" that together determine the way the Entitiy is exposed.

If "Public" is set to "No", you can only use the Entity in the Module it's defined in. If you set it to "Yes", you can reference it from another Module.

If "Expose Read Only" is set to "Yes" (the default value), you can only query and read the Entity in another Module. You cannot create, update or delete it. Typically, you expose Actions that allow to do this, with some extra checks. MVP Justin James has written a nice article about this pattern. If you set it to "No", you can create, update and delete records from the Entity in any Module that references it.