I am currently working on the web course for Outsystems.
There is a difference between the producer module and the consumer module.
The actions in the data / DataName are different. I have tried a lot of things but it is still not working. Most of the actions are gone in the producer module, the create - delete - update action.
Check the pictures for the exact problem. On the left side of the picture, you see the producer module. On the right side, you see the consumer module.
This is because you have the option read-only enable on the producer module, that's why when you are consuming the entity, you will not have those actions. To get those actions you need to create server actions to do the update, create and delete or you can put the read-only false. This is a security measure and a best practice among core modules when you are speaking about the architecture.
As you can see in the picture below, I have the expose read-only true/enable and I just can see a Get too.
This is what is making that change.
Regards,
Márcio
Thanks a lot, Márcio, It works right now.
Glad that I could help.
When you are consuming something from the main module and that entity has the true read-only exposure. You will need to create server actions to create, update and delete, and these server actions will be consumed by the consumer module. This way, you'll be able to make all kinds of changes to the database.
Have a look at this!! Very good, by @Justin James how to do CRUD Wrappers!
https://jmjames.medium.com/implementing-crud-wrappers-crud-ifying-apps-40c388b7b769
Kind Regards,