Hi Folks,
I'm working on an invoice form right now. The positions are stored in a separate smart-object and use the invoice ID as foreign key.
It's necessary for users to select multiple positions and have them passed on to the workflow.
It's not (!) necessary for multiple positions to be edited at the same time, I just need the IDs!
(I feel this is important to emphasize as I came across multiple discussions on editing multiple list entries.)
So far I have tried several things to solve this - with mixed results:
1. Multi-select on the list-view through default select by mouse-click. This allows for a multi-select through holding down control, as expected, and returns the IDs just fine.
The main issue with this: It is not necessarily intuitive for the users and most importantly not usable on a touchscreen-device.
2. Using checkboxes in the List-View. They don't render. From what I've read they are just not available in list-views.
3. Combining a list-view with a seperate checkbox-list that's filled with the positions through a rule.
This technically works but falls through on design, as it is virtually impossible to make the checkboxes line up with the corresponding list-item.
4. Using the "list item clicked"-trigger to set a selected-field on the smart-object to true and applying conditional styles to positions with true in selected.
This works and (through the workflow) allows me to iterate through all positions assigned to a invoice that are have been selected.
Issue: To make it visible what position have been selected, it's necessary to refresh the list to trigger the conditional styles. This is a performance nightmare obviously. Also - let's face it - it feels like the worst hack ever to put the selection status in the database.
System: K2 4.7 August 2017 Cumulative Update
Any and all input on this would be appreciated!
I'm having a hard time believing that I'm the first person to have that requirement to a list-view...
Thanks in advance and take care,
Alex