Hi,<div><br></div><div>Have you tried sending the array instead on the values with |##|?</div><div><br></div><div><span></span><br><div><br>El miércoles, 24 de febrero de 2016, Estefan Civera <<a href="mailto:estefan.civera@gmail.com">estefan.civera@gmail.com</a>> escribió:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all I need to modify via revise function a multi select field<br>
<br>
Multiselect field works well infact from crm I can add remove field<br>
normally.<br>
<br>
<br>
With retrieve I obtain my record...<br>
global  $current_user;<br>
$wsid = vtws_getWebserviceEntityId('Accounts', '5'); // Module_Webservice_ID<br>
x CRM_ID<br>
$record = vtws_retrieve($wsid);<br>
<br>
I obtain this data in this format for mutiple picklist<br>
//$record['brandcategory'] = "Contemporary |##| Avantguard |##| Street |##|<br>
Urban |##| Design |##| Other";<br>
<br>
Now I need change brandcateory field<br>
<br>
$data['brandcategory'] = "Contemporary |##| Avantguard";<br>
$data['id'] = $wsid;<br>
$record = vtws_revise($data, $current_user);<br>
<br>
Revise seems works well and no fail infact it change field in database and<br>
modtracker see the changes but when I go to edit record in EditView field is<br>
empty.<br>
<br>
Can someone help me!?<br>
<br>
<br>
<br>
<br>
-----<br>
Ing. Estefan Civera<br>
Vtiger developer and consultant<br>
<a href="http://www.estefancivera.net" target="_blank">http://www.estefancivera.net</a><br>
Italy<br>
--<br>
View this message in context: <a href="http://vtiger-crm.2324883.n4.nabble.com/vtws-revise-multiselect-field-tp18501.html" target="_blank">http://vtiger-crm.2324883.n4.nabble.com/vtws-revise-multiselect-field-tp18501.html</a><br>
Sent from the vtigercrm-developers mailing list archive at Nabble.com.<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div></div>