Skip to main content

Questions tagged [multi-select]

All requests and queries related to Multi Select Picklist can be grouped under this tag

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

restrict multi-picklist choices in screen flow

In my Salesforce screen flow design, I'm utilizing a multi-picklist field. I want to limit the selection to only five options out of the 91 choices available in the multi-picklist field. How can I ...
Salsstars's user avatar
2 votes
1 answer
76 views

Radio group lwc partial bold text in the options

I am using a multiselect picklist and displaying my options dynamically in an LWC using lighting-radio-group. E.g. <template> <lightning-radio-group name="radioGroup" label=&...
justkeepswimming's user avatar
1 vote
1 answer
85 views

Compare values in multiselect picklist

I am trying to determine the best way to compare values in a multiselect via apex. Goal is to create a child record when a user selects a value in the multiselect. If a user then comes back and ...
Phuc's user avatar
  • 373
1 vote
1 answer
98 views

How to split a multiselect picklist into a String array and check if it contains a specific value within an iteration?

I have an iteration of DelegatedAccount (Standard SF object). When Im using obj.picklistValues.split(';').contains(value) its returning false. This is surprising as its a simple operation and should ...
Amax1's user avatar
  • 121
0 votes
1 answer
301 views

Fetching mulitiselect picklist values for <lightning-checkbox-group>

I'm using getPicklistValues to fetch the multiselect picklist values in LWC and using it for <lightning-checkbox-group>. But it is not showing anything. And if I use same code for <lightning-...
Ruturaj Chothe's user avatar
-1 votes
2 answers
91 views

Validation rule for Multi picklist

I have a requirement where if a value "Others" from a Multi picklist is selected, "please explain others" text box should be used, if any other value from Multi picklist is ...
H M's user avatar
  • 3
-1 votes
2 answers
163 views

Multi Picklist and number fields

I'm trying to create a new formula field that gives results as a text by concatenating few fields like multipicklist fields and text fields and numbers fields. But i have been receiving an error when ...
Dug's user avatar
  • 1
1 vote
1 answer
3k views

Querying on Multi-Select Picklist in Get Records in Flow

After a whole lot of frustration, I found out it's not possible in the Get Records action in Flow to filter on a multi-select picklist, and you get an error: the idea to make this actually possible. ...
Benjamin Luehrs's user avatar
0 votes
0 answers
313 views

How to save multi select lookup values

I have created a multi select lookup component. Below I am pasting my code. HTML <template> <div class="slds-form-element" onmouseleave={toggleResult} data-source="...
Prince Sharma's user avatar
-1 votes
1 answer
117 views

Filtering an email list in a flow by industry picklist with multiple selections

I am trying to set up a flow to send an email to newsletter subscribers in a custom object (Newsletter) filtered by industry. Currently industry is a picklist field, not a multi-select picklist, ...
Scott R's user avatar
3 votes
2 answers
820 views

Pre select values in multi select combobox

I found this awesome repository on medium to have a multiSelectCombobox, and it works fine, but I wasn't able to pre-select values. https://github.com/svierk/awesome-lwc-collection/tree/main/force-app/...
Alexia's user avatar
  • 83
1 vote
1 answer
1k views

Includes does not work with multi select picklist in flow formula

I created a record triggered flow and tried to create a formula which can check for a multi select picklist which I can use later in the flow. The formula is like this - IF(INCLUDES( {!$Record....
SEuser's user avatar
  • 1,847
0 votes
1 answer
1k views

compare multislect pick list with another picklist

I have a multislect picklsit on User object and a picklist on case object, I am trying to write a validation rule so that if picklist value selected on case is not matching with one of the multislect ...
Pankaj Mishra's user avatar
-1 votes
1 answer
1k views

LWC Multi Select Picklist depending on a combo box

Currently am stuck in between these.... first I'd have a combo box based on the selection (onchange) I need to render some data in multi select Picklist....so the problem is of I select any of those ...
Kisaki's user avatar
  • 1
0 votes
0 answers
220 views

Search for Specific Text in a Multi-Select

I have a multi-select that lists bandwidths. Some are in Mbps, and some are in Gbps. I need to know if any of the selected options is over 1 Gbps, so I'd like to search the multi-select for the text '...
Jerry Woods's user avatar
-3 votes
1 answer
101 views

Changing Picklist to Multipicklist and using in formula field

I have changed the picklist fields to multiselect picklist and trying to use this in the formula filed getting below error. kindly some one help. Field changed as Mand_A__c(Picklist) ------> ...
Ritwik's user avatar
  • 1
2 votes
1 answer
311 views

Transform a List<String> for use in Multi-Select Picklist where clause

I have a list of strings which I need to put together in every valid combination so that the result can be used in an includes WHERE clause of a multi-select picklist in a SOQL query. Basically, I ...
Mike's user avatar
  • 1,199
1 vote
2 answers
2k views

Validation Rule on Multi-Select Picklist to only allow one value

I need a validation rule on a multi-select picklist field that if a specific value is selected, no others can be selected. Right now I have: Includes(Multi_Select_Field__c, "Value1") But ...
stormy's user avatar
  • 51
1 vote
3 answers
4k views

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

I am trying to update a multipicklist field on Accounts using the multipicklist field on Opportunity, which is also using the same global picklist value set. But I am facing two problems with this:- ...
nitesh kumar's user avatar
0 votes
0 answers
32 views

Predefine the values in a collection variable

Is there a way to add text values to a collection variable from a predefined list? I have a very long list (>100 items) that I want to loop through item by item but I can't find a way to quickly ...
Hans Rogg-Desormeaux's user avatar
1 vote
1 answer
568 views

Multiselect Picklist values are not stored in the database as User entered order in UI

Requirment : Values should be stored in order as they selected in UI. But Multiselect Picklist values are not stored in the database as User entered order in UI. Please help us is there any solution ...
Naveen Reddy's user avatar
0 votes
2 answers
888 views

LWC select element with multiple

I'am trying to retrieve all the selected values from a select element with multiple options but I can only grab the last selected value. HTML <select class="slds-select" id="select-...
kkJhn's user avatar
  • 23
1 vote
1 answer
705 views

How can I develop a select all/deselect all for duallistbox in aura?

I'm building an AURA component that has dualListBox that is dependent on on lightning:select (https://prnt.sc/mc05yPEzmBO7), so based on the value selected on the lightning:select I populate the ...
Stojchesky's user avatar
0 votes
1 answer
143 views

Multi Select Picklist field VR

Is it possible to create a Validation rule or something on multi select picklist field so that the user can select maximum of 3 and minimum of 1 values out of 10.
user107526's user avatar
-1 votes
1 answer
709 views

Collection choice set not available in Assignment element

I have a screen flow with a multi select for the user to select what records they want to update. I am trying to use the collection choice set in an assignment element to remove the first Id until the ...
tnst223's user avatar
0 votes
0 answers
461 views

Multi-Select values not staying checked on screen flow

I have a screen flow component on the Account object that lets users make selections and save their changes. The component is always visible so that users can see the current selections for that ...
SF_D_S's user avatar
  • 1
1 vote
1 answer
3k views

Formula to update multi-picklist with Salesforce Flow

The requirement I have is that a multi-picklist (MSP) field ("Specialty") is updated based on any additional values from another multi-picklist field ("Specialty Marketing") with ...
Lisa.xcv's user avatar
0 votes
1 answer
119 views

Key press Filter search on a field it work's in classic but not in salesforce lightning

When we have Hundred of values in picklist it's difficult and time consuming for user to scroll down and search there value, so with the help of Keypress on keyboard that cursor reaches the initial ...
badal gupta's user avatar
1 vote
1 answer
266 views

Add value to multi-select picklist with batch class

I'm trying to add a value to a multi-select picklist with a batch class. The debug statement shows that its being added but it's not saving for some reason. Any ideas? public class ...
Luke Higgins's user avatar
1 vote
1 answer
589 views

Data Transformation from mutli-select picklist to array of number in a flow

I have a multi-select picklist field that I need to transform to an array of number to use in a API. How can I do this in a Flow? Context: I need to send the result of a multi-select picklist to an ...
Amandine Mutton's user avatar
0 votes
0 answers
2k views

multi Picklist values in LWC

i am new to lwc. I am stuck with assigning values to multi picklist in Lwc like that let applicationnNameValues= 'A;B';. I am using standard createRecord method. when i remove that value ...
katherine's user avatar
0 votes
1 answer
2k views

Enable to add more than 100 values on multi select picklist field in salesforce

I have a custom multiselect picklist field with 500 values in the application and now i need to enable the selection of more than 100 values at a time on any record. As per the salesforce limitation, ...
Pravindra Singh's user avatar
0 votes
1 answer
542 views

Validation Rule on a Multi select picklist limiting the total number of characters selected

I have a multi-select picklist with many items, however I want the total number of characters to be less than 60. For example a user can select this: apple car banana pineapple watermelon grapefruit ...
WatsonElementary's user avatar
0 votes
1 answer
1k views

How to refresh dependent dual listbox in LWC

The attached image is an LWC, in which Category is a controlling picklist (Combobox) and Sub Categ is the Dependent Picklist. Eg. Category 1: Sub Categ 1,2,3 Category 2: Sub Categ 2,3 I am storing ...
Akshay Phadnis's user avatar
0 votes
1 answer
997 views

Validation Rule for Picklist and Multi picklist

Option__c(picklist) This is picklist field which contains values (Yes/No) and default as Yes. This field(Option__c) should only be mandatory, when the field State__c(multi picklist) has selected as NY....
Tom's user avatar
  • 23
0 votes
1 answer
271 views

How do I prevent deleted multi-select picklist values from reappearing after deletion?

The custom field values on a multi-select picklist just reappeared after I deleted them, and the user who influenced this is our Pardot integration user. How do I prevent this from happening again? I'...
Zeus's user avatar
  • 31
0 votes
2 answers
160 views

Best practices after retiring a multi-select picklist value

I need some help in determining the sequence of steps and best practices when migrating data from one field to another after retiring a Multi-Select picklist value. Previously, my org used a multi-...
Zeus's user avatar
  • 31
0 votes
1 answer
210 views

Validation Rule - using multiselect picklist

Im trying to write my first validation rule. If 'fruit' is one of the selections from (multi select) picklist A. Display the following fields: Apple Orange Pear Otherwise do not display these ...
h3110's user avatar
  • 87
1 vote
0 answers
959 views

How to add values to available part in multiselect picklist using apex?

I want to add some values to the available part of the multi-select picklist. The below code adds the values to selected part of the multi-select picklist //SetupObj__c is custom object //...
Koustubh's user avatar
  • 1,203
-1 votes
1 answer
864 views

Conditionally add slds-is-selected on multi select dropdown

I have created a multi-select combobox in LWC, passing list of columns to it from the parent components. Its a json which is being passed from parent to child. JSON : [{"align":"left&...
Rohit's user avatar
  • 11
0 votes
1 answer
335 views

multiselect pick list - LC and Visualforce component

I basically need to build a multi-select picklist component that works both in Lightning and Classic. There're already solutions available for both scenario, LC embedded in FlexiPage and Visualforce ...
Fabrizio Bianchi's user avatar
4 votes
1 answer
3k views

How to populate multiselect picklist from list or array of string or a string(; separated) in lightning web component

In my lightning web component, I have a which has a multiselect picklist field from an object. I want to populate that field with values from a list returned from an apex method. I tried to assign ...
user96760's user avatar
0 votes
0 answers
479 views

Get a count of values selected in a multi-select picklist on all contacts

I have a multi-select picklist (colors__c) in my contact object (with 20 records). Let us say the picklist has 4 values (red, blue, green, yellow). And I have a separate object (object__c), which ...
Despertar's user avatar
1 vote
3 answers
10k views

Validation rule that includes multi picklist field

I need help with a Validation rule that basically says if Account Type = Customer, and you want to set Account Stage = On going, you have to make sure first that multi picklist field does not contain ...
kikalz's user avatar
  • 39
1 vote
1 answer
993 views

Multi-select pick list in a screen flow

I created a component that would make a multi-select pick list on a screen flow. It works except you can't assign it to a variable that can be referenced when moving on to the create records part of ...
Dustin McLaughlin's user avatar
0 votes
2 answers
436 views

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

List<String> newMultiSelectList = new List<String>(); newMultiSelectList.add('Pro-Life'); newMultiSelectList.add('Establishment'); newMultiSelectList.add('GOP'); string value = '(\'' + ...
Manikanta Karimsetti's user avatar
0 votes
0 answers
408 views

VF Page with the Multi select picklists

I am trying to use the multi select picklist field in my VF Page. The multi select picklist field has a default value, I was hoping when I use this field in the VF Page I should be able to see the ...
user81642's user avatar
  • 687
1 vote
1 answer
4k views

Dynamic Multiselect picklist value on Aura Component

I want to populate Multiselect field with list of values dynamically. Instead of assigning the values to Array of string in aura attribute, I'm referring to the object from controller directly, But my ...
Anurag's user avatar
  • 2,236
0 votes
1 answer
2k views

Multi-select picklist issue

I would like to build a row-level formula with a multipicklist in a report. But I can't even find/select the multi-select picklist field. When I copy the Api Name of the multi-select picklist field ...
K. Leiding's user avatar
0 votes
1 answer
496 views

Cannot read property 'contains' of undefined When Rendering Fields Based on Selected Multi-Picklist Values in Salesforce LWC

I am encountering the following error in Salesforce Lightning page wherein I try to render some fields based on values of multi-select picklist field: I even tried includes but same error occurs. ...
Ertyq's user avatar
  • 331

1
2 3 4 5