Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Vítor Gonçalves
28
Views
2
Comments
Solved
How to remove a Record using "is visible" attribute?
Question
Usability
Someone can tell me how can I delete a record without making a "delete" to the database, but using a "is Visible" attribute from an Entity. Thank you!
Justin Babel
Solution
Vitor,
You can always create an 'IsActive' attribute on each of your entities, and perform a soft delete by updating the record's 'IsActive' to false by creating a delete action and updating, instead of directly calling the database delete function. Also making sure that all of your queries filter for 'IsActive' is true.
This way you will keep all of your data in the database but to the end user, it will appear that the record is deleted.
1 reply
25 Jun 2016
Show thread
Hide thread
Vítor Gonçalves
it worked!!! thank you so much!!!
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...