Questions tagged [dynamic-picklist]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

Get Picklist value not working in LWC

I have been trying to get the picklist values dynamically in LWC without using the Apex Code but somehow I am unable to get them. Not sure what is the actual problem import { getObjectInfo, ...
Sam-dev-sfdc's user avatar
0 votes
1 answer
55 views

Best route to take for dynamically updating a picklist field based on anothe picklist field triggered by a checkbox?

I was wondering if anyone can point me in the right direction as to how to assign a picklist value (Product) that corresponds to another picklist value (Location), specific when a checkbox is checked (...
PowerUp's user avatar
  • 87
0 votes
1 answer
90 views

dynamic picklist in component displaying but not saving

I have a dynamic picklist (Industry) from Lead in component which is displaying but not Saving. controller: public with sharing class RequirementsUX { //---- All field data in one method @...
Col's user avatar
  • 61
8 votes
0 answers
810 views

How to set Dynamic Picklist Values provided by APEX on a Flexipage inside a Managed Package?

The Story We have built a Lightning Component that can be put in a FlexiPage and shows the Name of a Field of the Object it's on. It has a Designer and in it a Picklist to choose the Field to be shown....
César Antonio Villalta's user avatar
1 vote
2 answers
259 views

Apex classes which are used as datasource for the design attribute in the aura called twice when we save the lightning page on which it is dragged

We have an aura component that is used on the app builder, the component uses the dynamic picklist on the app builder. The problem is when we drag the component on the lightning page and then select ...
Deepak Saxena's user avatar
0 votes
0 answers
27 views

picklist (MULTIPLE SELECTIONS WITH CUSTOM OBJECT DATA)

Is there a way to create an Option List (multiple selection), in which the list items are the records of an object? Ex: MyObject__C my item 01 my item 02 my item 03 my item 04 list of options (my ...
Leonardo Santos's user avatar
0 votes
1 answer
1k views

How can I create picklist field on a object, where the values/options of picklist should be the fields of another object?

I am new to salesforce and I have been trying to find answer for this requirement related to our application. Basically I have a Custom Object Field_Config__c, on which I want to create a picklist ...
AdityaHM's user avatar
  • 133
0 votes
0 answers
113 views

Choose what set of values a picklist draws from based on another picklist

here's our situation: We want to associate an Account with multiple counties throughout the US (and these counties could come from multiple states) Ideally we'd have one giant multi-select picklist ...
treesgoblue's user avatar
0 votes
1 answer
79 views

Picklist to enter text if value does not exist in the predefined list

Ideally I would want to design a Picklist field such that, it allows users to not only select from a list of values but also allows users to write in an entry. There is a field like this on the Task ...
GroundToCloud's user avatar
0 votes
0 answers
46 views

How to render picklist values according to those available in the related object?

I am a newbie to salesforce and I am doing a project on hospital management system in it. I have Objects for Hospitals, Wards & Patients. Patient is in a lookup relationship with Ward and Hospital....
Avik Shaw's user avatar
0 votes
2 answers
1k views

Dropdown selected values not displaying in lightning component In Chrome browser

I have a table below in a lightning page. I have selected first two recipients But the problem is that those recipients are going back to none. They are contacts of an account. This was working for ...
AshSFcloud's user avatar
0 votes
1 answer
959 views

Picklist choice for flow

I have a field that stores comma separated values. We ask users in a free form text (string field) to add fruits they like, for example: Apple, Banana, Pineapple, Mango, etc. On the flow screen, we ...
user569925's user avatar
  • 1,167
0 votes
1 answer
24 views

How to populate 'Available' multi-picklist side

I created a multi picklist field in my opportunity object. In the trigger I created I call the following: BCAccountID_test__c= 'FIRST VALUE' + ';' + 'SECOND VALUE'; but those two values are then ...
Giancarlo Amati's user avatar
1 vote
1 answer
1k views

Lightning Component configuration property with a datasource as "required" causes an UNKNOWN_EXCEPTION when deploying

I have a Lightning Web Component with a property in its target config that looks like this: <property name="companyRecordTypeId" type="String" label="Company Record Type" required="true" ...
nbrown's user avatar
  • 3,964