OutSystems Platform provides automation to create the necessary logic to delete a record from the database.

Prerequisites

To generate a delete action, the following is required:

How to Create Delete Logic

To automatically create the logic to delete a record, do the following:

  1. Add a button to the list or detail screen;
  2. Right-click the button, and choose Link to New 'Delete<Entity Name>' Screen Action.

Alternatively, you can write "delete", right-click on it and choose Link to New 'Delete<Entity Name>' Screen Action.

What's Created

A delete action that is created includes all the logic to delete the record from the database as well as all the logic to give feedback and error handling.

See Also

About Scaffolding a CRUD