420
Views
2
Comments
How to store the List of records in the outsystems database on Clicking button 
Question

I have a local variable and has the list of records in it . I wanted to save these results in the database on clicking on save button.

2016-01-27 18-53-17
Miguel Pinto

Hi AfeezPasha,

If I understood correctly you want to save the list of records store in your variable in the DB. If this list represent a List of an Entity, then you can do a loop in these list and use the CreateOrUpdate action of the used Entity. This action will create a record of that Entity in the DB.

Hope it helps.

Best Regards,

Miguel Pinto

2020-07-21 19-28-50
Rajat Agrawal
Champion

AfeezPasha Mohammad wrote:

I have a local variable and has the list of records in it . I wanted to save these results in the database on clicking on save button.

Hi Mohammad,


Simple way to save data for record of list is shown below -


Same Miguel told you in above comments 

You need to put custom validations acc to your requirements.


Thanks,

Rajat

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