Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Contents of List to be saved in a collection

Hi

I have a list which I mapped to a collection for insertion from the list to the collection. I have the request mapping as follows

Image

Result - Only one record is inserted and columns poulated with the text "label"

What am I doing wrong?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Contents of List to be saved in a collection

HI,

You should map to array of values.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Contents of List to be saved in a collection

Thanks. How do I map to an array? o you have an example/docs or tutorial?

Thx

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Contents of List to be saved in a collection

Please post screen shot of Response tab.

Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Contents of List to be saved in a collection

Nothing is mapped on response tab that is why I did not post it initially. Should I have something mapped?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Contents of List to be saved in a collection

Hello! Could you clarify - first you map some array to mobilelist_17 - mobilelistitem_18 then you have several Listitems after mapping and you want to save them to DB? It's not possible to do that with mapping only, you would need to use JS. You should check all Listitems, retrieve needed data for each Listitem and call Spar_CartBackup_create_service service. This should help https://getsatisfaction.com/apperyio/...

Return to “Issues”