how-to-crud
Service icon

How to CRUD

Stable version 1.0.6 (Compatible with OutSystems 11)
Uploaded
 on 06 March 2023
 by 
4.7
 (3 ratings)
how-to-crud

How to CRUD

Documentation
1.0.6

This asset is an opinionated approach on how to create CRUD actions for entities. 

It contains:

  • Explanation on what can be CRUD -> check the Person_CRUD_Explanation folder;
  • A CRUD stencil that you can copy and easily replace -> Entitty_CRUD_Stencil.


To be able to copy this CRUD in your app you should have:

  • The entity in the database with functional and audit attributes (check Person entity);
  • A structure similar to the entity, but without the audit attributes (check Person_Str structure).


Then, you can copy:

  • the 'CRUD_Operation_Status_str' structure;
  • 'CRUD_ERRORS' static entity;
  • 'Generate_Exception_Message' action;
  • the CRUD action inside the 'Entity_CRUD_Stencil' folder and replace the identified flow nodes.

Then you can copy the CRUD action inside the Entity_CRUD_Stencil folder and replace the identified flow nodes.