Hi Team,
I have two lists & I want to transfer only data from List 1 which is true on checkbox to List 2. I tried it with assigning it on click of a button but its not working. Can someone help me on this ?
Yes you can do by using list filter on first list and get records with selected true value and append it in 2 second list by using list appendAll.
Or using for each loop you can insert one by one value in list 2 by using list appnd.
Thanks
Ruchi
Hi,
If you want to transfer data from one list to another list one by one you have to use list append (system dependency you have to take for that) not assign widget.
Or if you want you can share your OML than i will check your code.
Hope this will help you
Thanks Ruchi
Will it work on checkbox ? Like I want only selected records to move..?
Hi Shariq,
filter the List1 by value which is true on checkbox, and append the filtered list to List2.
Now List2 have only those value that is being selected in List1.
Cheers
Thanks Ruchi, It worked !
Thanks Rahul, It worked
@Shariq Khan
If you want to only pass for list2, the elements from the first element that are checked (checkbox active) you can simply make a listFilter with the condition IsActive (assuming you have a boolean field attribute called IsActive)
The listFilter output will basically have what you want, a list with the only active elemtns from the original List
Let me know if you need further help,
Paulo
Hi @Shariq Khan ,I am attaching a demo OML for your reference.In the below screen, you can see on the left side when we select any checkbox the value will be reflected on the right side of the list. Please have a look and let me know if you have more queries.Regards,Anubhav