Hi all!
We are wondering if there is a good way to add new items to an item list on the client side.
We already found a way to add new item (which can be triggered by a form rule) and set some form fields before, which then act as default values for the new row.
Since it all is asynchronous it has to be a promise chain, like this pseudo code:
p.then(() => { SetValue(formField, 'Value') }).then(() => { InvokeRule('#{BRUX:1526:ID}#') })
This is working fine but unfortunately this seems to be incredibly slow, if there is a larger amount of rows to be added.
We tried to call item lists initialize, but that seems to replace all items in item list, which we don't want.
Maybe there is a way to initialize (with some sort of UNION query) which takes respect to existing items and also adds new rows.
I hope you understand what we are looking for and trying to achieve.
Looking forward to your experience.
Thanks in advance & best regards, Nik