Solved

K2 Five - Picker Control - Not Saving Multiple Values to SMO

  • 28 May 2019
  • 1 reply
  • 7 views

Hi,

 

I have a scenario where I allow users to select multiple query types from a Smartbox SMO, which is a list of predefined query types.

 

I have setup the picker control to Allow Multiple, Save as XML with ; delimeter. I also made the field a multivalue field in the SMO, yet the data does not save to the SMO. When the SMO is viewed in Management Site, the results are blank. 

 

Any tips on how to trouble shoot?

 

Thanks

MarkusB

icon

Best answer by boringNerd1 29 May 2019, 12:03

View original

1 reply

Badge +15

Hi,


 


The multivalue property type stores data in the following format:


<collection>


  <object>


    <fields>


      <field>


        <value>1</value>


      </field>


      <field>


        <value>2</value>


      </field>


    </fields>


  </object>


</collection


 


In your picker control, try checking on "Save as XML". This will store your values in a XML formatted value.


 


Useful references:


Picker control


SMO Properties


 

Reply