Hi Isomorphic,
how is the following use case improvement best done (6.1p)?
I have a DataSource with a child DataSource I upload data to, leads and products, 1:n. Of course, I do not send productIds with the uploaded data, but product names.
I now have a text-field in my DS where I can upload data in the form "product1, product2, product3" from CSV (it gets returned the same way to the uploader-ListGrid) and the system recognizes this, splits at "," and validates product name existence. This is done by my custom validator.
The editor in the BatchUploader is a TextAreaItem and I can fix issues here in the data just fine. I now want to improve this by having a MultiSelectItem or MultiComboBoxItem to edit these values.
Does this somewhere involve the setting of multiple=true in the .ds.xml-field? I tried many of these settings, but nothing worked.
By "nothing worked" I mean that I can see the values in the ListGrid, but the MultiSelectItem is unchecked. I somehow must tell the framework that this string (ID conversion only happens at upload) needs to result in those three items checked in the MultiSelectItem.
In the RPC tab, I see always stuff like this returned:
I assume that this way the MultiSelectItem can't parse the data, so what am I expected to do?
1st step would be to get this working, 2nd step (if necessary) would be to really be able to work with "Prod1,Prod2,Prod3" and "Prod1, Prod2, Prod3" (with spaces) as data in Excel, because one can't expect from an end user to stick to some arbitrary syntax.
Thank you & Best regards
Blama
how is the following use case improvement best done (6.1p)?
I have a DataSource with a child DataSource I upload data to, leads and products, 1:n. Of course, I do not send productIds with the uploaded data, but product names.
I now have a text-field in my DS where I can upload data in the form "product1, product2, product3" from CSV (it gets returned the same way to the uploader-ListGrid) and the system recognizes this, splits at "," and validates product name existence. This is done by my custom validator.
The editor in the BatchUploader is a TextAreaItem and I can fix issues here in the data just fine. I now want to improve this by having a MultiSelectItem or MultiComboBoxItem to edit these values.
Does this somewhere involve the setting of multiple=true in the .ds.xml-field? I tried many of these settings, but nothing worked.
Code:
Prod1,Prod2,Prod3 "Prod1,Prod2,Prod3" "Prod1","Prod2","Prod3" ["Prod1","Prod2","Prod3"]
In the RPC tab, I see always stuff like this returned:
Code:
MYFIELD: "my content with quotes escaped" I never see MYFIELD: [whatever in braces]
1st step would be to get this working, 2nd step (if necessary) would be to really be able to work with "Prod1,Prod2,Prod3" and "Prod1, Prod2, Prod3" (with spaces) as data in Excel, because one can't expect from an end user to stick to some arbitrary syntax.
Thank you & Best regards
Blama
Comment