function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Synthia BeauvaisSynthia Beauvais 

Multi picklist value in a Custom Button

When creating a Work Order field Prod_Category__c which is a Multi Select Picklist should populate. The field does not populate when there is more than 1 product chosen. How can I get the multiple items to pre-populate? 
 
/0WO/e?RecordType=000000000000000000& 
Account={!Opportunity.Account}& 
000000000000000000={!Opportunity.Name}& 
000000000000000000={!Opportunity.Primary_Sales_Rep_Name__c}& 
000000000000000000={!Opportunity.Opportunity_Segment__c}& 
000000000000000000={!Opportunity.Prod_Category__c}

 
N.M. SharmaN.M. Sharma
Hi Synthia,
Multiselect picklist show its valye when the value are seprated in ;(semicolon). So you need grab the value -> put semicolon between every value and then bind the variable with your field.
After that it will work.
Thanks
 
Synthia BeauvaisSynthia Beauvais
Hi N.M, 

I not sure I understand. Are you saying I have to place all the values in the button? 
N.M. SharmaN.M. Sharma
No No.
You are grabing values from Parameter right. Then you put value in this field at that time all the values are not showing right?
 
RbnRbn
Hi Synthia,

Please go through the below link:

https://help.salesforce.com/apex/HTViewSolution?id=000004172&language=en_US

Mark it as solution if it answers your Question.

Rgrds,
Rabi