Auto-filled value for database

How to submit an already populated "value" to the database

Hi Paulo,

Before saving the record you want to update you should get it from the database.There are multiple ways of doing this  for example aggregate of the entity actions Get or Ger ForUpdate. Than you change the attributes you want to update on the record you got from the database. After that you just need to update the database with the changed record. 

Regards,

Marcelo

Marcelo Ferreira wrote:

Hi Paulo,

Before saving the record you want to update you should get it from the database.There are multiple ways of doing this  for example aggregate of the entity actions Get or Ger ForUpdate. Than you change the attributes you want to update on the record you got from the database. After that you just need to update the database with the changed record. 

Regards,

Marcelo



I need to get this information and send it to the database

Hello Paulo, 

Database operation is a base future in OutSystems and is well explained in the online Trainings. 

Did you already finished the mobile online training? 

If not, I recommend, as you will learn how to work with local and server storage (database). 

https://www.outsystems.com/learn/courses/115/developing-mobile-apps-outsystems-11/?LearningPathId=1

Cheers