Questions tagged [getpicklistvalues]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
21 views

Flow - Update picklist with label value, not API name

I have a flow that is comparing the value of a text field (BillingCountry) to a picklist (Billing_Country_Name__C). If the text input is a valid Country picklist value, the flow should update the ...
user avatar
  • 11
0 votes
1 answer
36 views

ILLEGAL_QUERY_PARAMETER_VALUE -- Expected '.' in all qualified names: RecordTypeId is invalid

Usecase is to get the picklist values according to the record type of the Record. selectedCaseId; caseRecordTypeId; wiredCaseRecordTypeId; @wire(getRecord, { recordId: "$selectedCaseId",...
user avatar
0 votes
1 answer
23 views

I am trying to use getPicklistValuesRecordType adapter to get picklist values from Account Object.but Combobox is not visible on page

.html <template if:true={industryOptions}> <lightning-combobox name="industry" label="industry" value={selectedIndustry} placeholder="Select Industry"...
user avatar
0 votes
1 answer
49 views

Get picklist value in the Select Options using Apex and Visualforce page

I want to put the picklist value in the select options, but it never works, even though it has no error. I can't use an input field, because I want to multi-select the picklist value in the select ...
user avatar
  • 1
2 votes
2 answers
91 views

Why does the second instance of my wire adapter not work when I am using @api variables?

I am trying to retrieve picklists from two different record types of the object Case by using getPicklistValuesByRecordType(). I can accomplish this if i write my code like the following: import { ...
user avatar
0 votes
0 answers
88 views

How to show picklist values while creating a dynamic component using $A.createComponents method

I have built a component that will dynamically create a record edit form & record view form. The problem is with the record edit form, for the picklist field the values are missing as shown in the ...
user avatar
0 votes
0 answers
48 views

How do I display the values of a picklist field on the Case Object in the Chatbot Dialogue for the customer to choose from?

I have dialogue in the Chat bot where the customer would like to create a case. The bot prompts the customer to enter in their First Name, Last Name, Phone and Email but there are also 3 picklist ...
user avatar
0 votes
1 answer
135 views

Date Field should populate date everytime, whenever picklist value is changed

Whenever a picklist value is changed ( considering I have 3 picklist values in the Picklist field), I want my date field to be updated for today's date. And this update should happen each and every ...
user avatar
1 vote
1 answer
34 views

UIAPI retrieve picklist values for record type stopped working - returns only one value

I have an aura component that's been working for years. It calls the uiapi to retrieve and display a multi-picklist based on the available picklist values for a specific contact record type. Yesterday ...
user avatar
  • 619
0 votes
1 answer
226 views

UI API: How to retrieve translated values of a picklist using UI API

We are using the salesforce API to consume picklist fields and display it on a webpage on a multilingual community "/services/data/v49.0/ui-api/object-info/Case/picklist-values/{recordtypeId}/...
user avatar
  • 1
0 votes
2 answers
2k views

How to get Custom Metadata Type PickList field values using LWC getPicklistValues and getObjectInfo

I'd like to access the picklist values of a field on a Custom Metadata Type from an LWC: import { getPicklistValues } from "lightning/uiObjectInfoApi"; import { getObjectInfo } from "...
user avatar
  • 8,262