J u n i o r wrote:
Sourav Pasari wrote:
hi,
I think you are using list.current. Instated of doing that try to add some way to select the items from the list (may be adding some checkbox). Then in your code block using a for widget you can find it out which items are selected.
Hi,
Yes. I have an attribute in the list and I associated it with checkbox. The list is actually in the listrecord widget. Everything works fine, but when I try to check which is selected, the only the last item appears as selected in debug session.
Hi,
As per my understanding when you are showing the selected records it is always showing last records selected.
Please perform below action to get the cause:
1. Check is database you saved selected records properly or not.
2. Once you checked selected records saved properly in database then when you are fetching records from database there should be a column is selected please debug this query is I think this query is not returning proper value for Is-selected. So you need to correct the query/aggregate to get the correct result and bind this result to widget.
Regards
Shashikant Shukla
I managed to solve the issue after swapping the input parameter being passed for checking the attachment size from the local list to the listrecord's table.list .Thanks for you input :)