Skip to main content
12 votes
Accepted

lightning:radioGroup is allowing multi-select

You've forgotten a required attribute. The radioGroup is grounded in HTML's <input type="radio" />, which uses a "name" attribute to determine groups. If you forget to specify the name, the ...
sfdcfox's user avatar
  • 502k
5 votes
Accepted

formula field to display multi select picklist (selected values)

To update a contact object formula field based on the values from the account object multi-select picklist . In contact formula field write down as IF(INCLUDES(Account.Multi_select__c,"value"...
SFDC's user avatar
  • 471
5 votes

SELECT opportunities AND contacts AND tasks

The part of your query where you're saying (Select Id, WhoId FROM Tasks WHERE IsClosed = false) is known as a Left Outer Join, or a Parent-Child Subquery. A semi-join is similar, but different (a semi-...
Derek F's user avatar
  • 64.1k
4 votes
Accepted

How to Find the Count of Multi-Select Picklist?

Is there any direct methods to check the count instead of List and Split method using ';' Nope, splitting by semicolon and calling size() on the resulting list is pretty much it. There are probably ...
Derek F's user avatar
  • 64.1k
4 votes
Accepted

Data in List<String> to be assigned to multiselect picklist in apex

Just join the values with a semi-colon: record.MultiSelectField__c = String.join(selectedValues,';'); Alternatively, you might consider binding the multi-select list directly to the field: <apex:...
sfdcfox's user avatar
  • 502k
4 votes
Accepted

How do we call these layouts?

These are not compact layouts. They are action layouts, which may be associated with either global actions or with object-specific actions. Global Actions are available in Setup. Object-specific ...
David Reed's user avatar
  • 93.7k
4 votes
Accepted

Add value to multi-select picklist with batch class

In a nutshell, DML on one object does not cause changes made to related data to be saved. You need to be performing DML on a Placement__c (I'm assuming that's what the SObject name is) record, not the ...
Derek F's user avatar
  • 64.1k
4 votes
Accepted

Compare values in multiselect picklist

Use sets. To determine what has been added, removed, or unchanged, you can use three sets, and use the various set operations (addAll, retainAll, and removeAll) to quickly determine what changes have ...
sfdcfox's user avatar
  • 502k
3 votes

How to use multi select in App Builder to assign the value in attribute using design:component?

This is not possible so far. You can only have attributes of type Integer, String, or Boolean as described here. You can have dynamic picklist values, but not multi-picklist. Have a look here. You ...
Fabien Taillon's user avatar
3 votes

formula field to display multi select picklist (selected values)

you could try something like this: > IF(INCLUDES( Multi_Picklist_1__c , "A"), "A" + BR(), NULL) + > IF(INCLUDES( Multi_Picklist_1__c , "B"), "B" + BR(), ...
Suraj Tripathi's user avatar
3 votes

How to show multi select picklist ui in visualforce page?

There isn't an apex:... tag that presents side by side select lists to allow easy mult-select. So if that is what you want, I suggest you use this Salesforce authored open source Visualforce-...
Keith C's user avatar
  • 137k
3 votes

How to Find the Count of Multi-Select Picklist?

If you don't have much values in your multi-picklist you could do it with a formula field(Number) : IF(INCLUDES(Languages_Known__c,"ENGLISH"), 1 , 0) + IF(INCLUDES(Languages_Known__c,"FRENCH"), 1 , ...
brovasi's user avatar
  • 5,685
3 votes

Changing Semicolon from Multi-Select Picklist values to a Comma

You can only use the following functions with Multi-Select Picklist fields: INCLUDES ISBLANK ISNULL ISCHANGED (Only in assignment rules, validation rules, workflow field updates, and ...
Adrian Larson's user avatar
  • 151k
3 votes
Accepted

Filtering Einstein Analytics dashboard by multiselect picklist value

This was a bug which has been patched. Multiselects are now supported in embedded filters without hacky workarounds.
Pete Lyons's user avatar
3 votes

How do I use a custom object as the source for a multi-select picklist

Is there a way to pull the multi-select picklist values directly from the custom object? No, there is not. Or, is there a way to automatically update the picklist from the custom object? We ...
David Reed's user avatar
  • 93.7k
3 votes

how to create dependent picklist in vf page

You just need to have variables or methods to calculate what the values should be. Here's an example that should work in any org. You'll want to read more about apex:actionSupport in the documentation....
sfdcfox's user avatar
  • 502k
3 votes
Accepted

Lightning:dualListbox Style Not Working As Expected

Your comment says you are trying to use a list of strings. The reason you're not seeing any values is because you should be using objects that contain a value and a label property which your strings ...
gNerb's user avatar
  • 9,588
3 votes
Accepted

invalid operator on multipicklist field

You cannot use LIKE operator with Multi-select picklist, instead you need to use INCLUDES operator in your case. Checkout the documentation for details.
Hengky Djapar's user avatar
3 votes

How to add the 'AND' condition in dynamic query for multi select picklists?

It'd be easier to just use a binding: string value = String.join(newMultiSelectList, ';'); String queryString = 'select id, Audience_Tags__c FROM Audience__c WHERE Audience_Tags__c INCLUDES (:value)';...
sfdcfox's user avatar
  • 502k
3 votes

Validation rule that includes multi picklist field

Validation rule trigger when the result is true, so you essentially have to list off every possible value: ISPICKVAL(Type,"Customer") && ISPICKVAL(Stage__c,"On Going") &...
sfdcfox's user avatar
  • 502k
3 votes

Getting this error on updating multipicklist field using flow:- INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST: bad value for restricted picklist field

Possible causes of the error you are getting: The value "FF Billing" does not exist on the picklist field. The value "FF Billing" does exist but is not available on the record ...
Manuel Albacete's user avatar
3 votes

Querying on Multi-Select Picklist in Get Records in Flow

After similar frustration, I've gotten this to work by using the new Collection Filter Element, which apparently supports Contains for multi-select picklists (even though the Get Element does not). ...
Lauren LaMonte's user avatar
2 votes

SOQL Includes with Field Value?

Tried the solution mentioned above, but that din't work well for me. Modified that to work, thought it be shared, here: Public List<String> vals {get;set;} Public string selectedVal{get;set;...
Khushboo Dua's user avatar
2 votes

How to prioritize values in multi picklist

This is not possible out of the box. Of course there are other ways to do it, including complex logic in Visualforce and APEX. But also simpler ones. It all depends on your full set of requirements, ...
Guy Clairbois's user avatar
2 votes
Accepted

Validation rule on Picklist and Multipicklist

Note from the documentation on INCLUDES that the syntax is: INCLUDES(multiselect_picklist_field, text_literal) A text literal is a single explicit value such as "My Picklist Value". You can't ...
Adrian Larson's user avatar
  • 151k
2 votes
Accepted

Find out if a specific value has been selected ALONE in a multiselect picklist

You would have to check to see if it included each value like this which could be a problem depending on how many values you have. Also you would need to remember to update it each time you added ...
Eric's user avatar
  • 54.4k
2 votes

formula field to display multi select picklist (selected values)

As stated in the doc... Multi-select picklist fields can only be used in these functions: - INCLUDES - ISBLANK - ISNULL So... if you want to stick to a formula... you are stuck with the ...
Sergio Alcocer's user avatar
2 votes

How to show multi select picklist ui in visualforce page?

If you are happy embedding a lightning component in your visualforce page, you can use my super snazzy draggable multicolpicklist. It's here on github Embed it in your page like this: <apex:page ...
Caspar Harmer's user avatar
2 votes

Not able to clear left values from custom multi select picklist

You issue is how you are populating the unSelectedValues. You are pulling the value from a describe without filtering the selected value out. Also, you are using a local variable inlace of the class ...
Eric's user avatar
  • 54.4k
2 votes

Filtering Einstein Analytics dashboard by multiselect picklist value

I made it work by: Wrapping the Wave dashboard in a custom Lightning component Create forceCommunity:waveDashboard dynamically using $A.createComponent passing in the filters Markup: <aura:...
Robert Sösemann's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible