store values from a multivalue control to a SmartObject

  • 30 January 2014
  • 1 reply
  • 3 views

Badge +1

Hello,


I have a view with checkbox list which is configured with a SmartObject datasource. I then want to get the selected/checked values from the list and store them in a different SmartObject. I.e. for every selected value I would like to do a Create on a SmartObject using the value as input. How can I do this?


I have tried to setup a rule based on the template "Save the values of a multi-select control...', but it seems that the value mapped to the SmartObject Create method is then the actual XML multivalue property. Is there any easy way of looping through the actual of such a control?`


Thanks,


Anders Vestbo


1 reply

Badge +4

Hi Vestbo,


I'm sure in the rule configuration, while mapping you are passing the checkbox items value as input to your Smartobject, Just try to map whole chekbox control as an input to your smartobject Create method, it will work.


 


Thanks and Regards,


Prajwal Shambhu

Reply