156
Views
4
Comments
Solved
Save only selected list Item
Application Type
Reactive

I want to save only a selected list item of a table in a database. How do I do that?, How to design the logic of this?

Note: I added "Is Selected " attribute in that entity


Screenshot 2022-04-29 160110.png
2022-04-29 09-08-10
Pramod Torase
Solution

Hi Kishor,

In button Client action flow  you can put ListFilter Client action, pass the source list of table to SourceList,condtion as IsSelect=True and you will get the selected record list and now just iterate over this list and create the records in database.

Regards,

Pramod.

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

Hi Kishor, 

I have attached OML file Please check.


Thanks,

Vipin Yadav

SaveCheckBox.oml
2022-07-28 08-07-39
Jitendra Kumar

Hi @Kishore Kumar ,

Create a new save button on click of that run a new client action.

in this client action use a for loop to traverse whole aggregate data and use  if condition under that loop that will check whether item is selected or not if item is selected then  it will create the data in record table else it will move to next element to check selection.


Regards,

Jitendra

UserImage.jpg
vikas sharma
Champion

You can maintain a local list to store the records of selected rows. Then use that local list to insert the records in database.

2022-04-29 09-08-10
Pramod Torase
Solution

Hi Kishor,

In button Client action flow  you can put ListFilter Client action, pass the source list of table to SourceList,condtion as IsSelect=True and you will get the selected record list and now just iterate over this list and create the records in database.

Regards,

Pramod.

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

Hi Kishor, 

I have attached OML file Please check.


Thanks,

Vipin Yadav

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