372
Views
23
Comments
Introducing: The Entity Actions Wrappers Accelerator 🚀

We’re excited to unveil a new productivity improvement: the Entity Actions Wrappers Accelerator (also commonly known as CRUD wrappers)! This new capability speeds up the process of encapsulating entity actions into Server Actions, with added logic to streamline your workflow. Available now in Service Studio and ODC Studio, this feature empowers developers to enforce consistent database operations across applications with minimal effort.

Why Did We Build This?

Adhering to OutSystems’ best practices, entities should typically be exposed as read-only, with server actions (so-called CRUD wrappers) handling write access for other applications or modules.

Let’s face it: creating these wrappers manually is a pain. Even for basic use cases—validations, audit trails, etc.—writing one wrapper per entity action can easily take a few minutes. Multiply that by a few entities, and you’re losing hours on repetitive work.

This challenge isn’t new; developers in our community have been advocating for a solution for a long time. It quickly became one of the most upvoted ideas. Now, we’ve turned it into reality.


How Does It Work?

Here’s how the CRUD Wrappers Accelerator saves you time and effort:

  1. Right-click, Generate, Done
    • Right-click on one or multiple entities and select the new accelerator option.
    • In seconds, Studio creates a folder under the Logic tab and generates four server actions for each of the entity’s built-in operations: Create, CreateOrUpdate, Update, and Delete.

    • Alternatively, you can cherry-pick the entity actions you want Studio to generate wrappers for.


  2. Pre-Built Logic. The generated actions include:

    • Mandatory attribute validations (with exception for boolean and numeric data types).

    • Raising EntityException (a user exception) for mandatory fields being empty.

    • Built-in entity actions and Id assignment.

    • If the entity’s identifier attribute Is Auto-Number is set to No, the actions include also the Id validation.


  3. Developer Intent Preserved

    • For non-public entities, the generated server actions remain non-public.

    • For public entities, the actions are automatically set to public.

      • In ODC, for public server actions, Studio also generates corresponding service actions.


  4. Scaffolding Included
    • By default, only the CreateOrUpdate wrapper is generated, just like before

    • Need more? Simply right-click on the specific entity action under the entity to generate additional wrappers.


📝 This feature is designed to save you time by automating repetitive scaffolding tasks, providing a reliable starting point for entity action wrappers. We encourage you to leverage your expertise to review and customize the flows to address your app's specific requirements.

____________________________________

We’re handing this new accelerator over to you—and we’re eager to see how it helps! But we’re not stopping here. We have ideas for further improvements, and your feedback is crucial to shaping the next iterations. We’d love to hear about:

  • Are the generated action flows useful for your apps?
  • What enhancements would make this feature better?

Let us know what you think by replying to this forum thread or clicking the 📢 Feedback button in Service Studio or ODC Studio.

Your insights will help us evolve this accelerator to better fit your development needs.

2024-09-12 02-43-38
Deepsagar Dubey

Thanks for sharing, it was most needed accelerator 👍

UserImage.jpg
Mohd Wasim Shaikh

This is a great addition. It will be a huge time-saver. Great work!

2024-12-02 13-16-47
Vipin Yadav

Thank you for sharing, this feature are useful and time-saving. 

2025-01-21 18-12-31
Anupam Praveen

Thanks for sharing this amazing update, it's a much needed one.

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Indeed, this was a gaping hole in the offering to facilitate the work for developers.

It is very good to hear that this is just a first release and there will be iterations to add more functionality.

I'm not repeating here the feedback already given by me and other MVP's through slack.

Just 2 general thoughts :

  • To satisfy a lot of clients with different views on what a wrapper should be, it would be preferable that you give it a lot of features (like audit trail, validation of reference attributes,...) but that you allow clients/individual developers to configure what exactly they want to use from these features.  Options to be set at maybe factory level, or application level, or if that's not possible as user options in Service Studio.
  • Maintaining : in agile development, entities are very alive, they keep changing, so it would be of great value that we can easily 'update' the wrappers, without damaging any custom code added by developers to them.

Dorine


2026-01-23 11-38-55
Dinesh Murugan
Champion

Time saving feature.

2025-12-04 09-01-03
Kiet Phan
Champion

Thanks for sharing, this is a good one!

2021-11-12 04-59-31
Manikandan Sambasivam

Thank you for sharing

2021-01-28 10-02-59
Muhammad Mahmudul Hasan

Thanks for Sharing, now maintaining naming convention across project will be easier. 

2024-12-18 16-06-42
Junaid Syed

Nice feature! Will help to have consistent CRUD logic in applications.

2024-04-23 16-03-58
Fajar Budhi Iswanda

Cool! Fostering best practices.

2022-02-15 10-27-04
Bao Nguyen

Appreciate the OutSystem team for your hard work! 

2019-04-29 15-49-13
Detlev

Woot woot! Finally! 

2021-10-01 12-43-46
N_SG

It was great addition and much needed one!

2022-02-09 08-51-59
Graham Walker

should be useful, thanks

2021-05-01 15-47-12
Chris Womble

The wrapper we've been waiting for. Thank you!!

2019-07-02 11-24-15
Sjoerd Twaalfhoven

Great feature! Can't wait to start using it.

2024-07-16 17-36-51
Shradha Rawlani

wow this will speed up development process

2020-07-01 11-36-23
Shubham Tiwari

This was something we were waiting from a long time and this will indeed help the developers to speed up the development even more.

2024-10-09 04-44-30
Bhanu Pratap

Great feature! I liked the ODC version more because it also generates the service actions.

UserImage.jpg
Ross H

Excited to see this! I do hope that additional iterations will be made.

Enhancement ideas:

  • Check for uniqueness when a Unique Index exists
  • Check that values in an FK field exist in the source table
  • Validate inputs for potential overflow/truncation (ex. Text length exceeds max)
  • Validate text formatting (ex. Invalid Email, Phone Number)
2025-05-30 11-37-29
Padmakani M

Great feature! Thank you for sharing .

2025-07-22 10-30-27
Mandar Deshpande

CRUD Wrappers Accelerator! Great work. Thank you OutSystems.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.