Questions tagged [global-picklist]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
0 votes
0 answers
39 views

How to mass remove Managed package Global Picklist values

I want to remove a Global Picklist Value set with +200 values that is part of a managed package. I have tried this solution : Mass Delete Global Value Set Values It did not work out because I ...
Alpar.Balo's user avatar
-1 votes
1 answer
460 views

Unable to link Global picklist value sets in Lightning Flow picklist Choice Set

I have created 'Global Picklist Value Set' which one I have already linked in my custom sObject picklist field. Now, I need to use same 'Global Picklist Value Set' in Screen Flow and link it with Flow'...
Ranjitsingh Chandel's user avatar
0 votes
1 answer
490 views

Updation to Global Picklist Value Set through Tooling API makes the existing values deactivated state in salesforce

I am trying to update my salesforce global pick set values using Tooling API for my learning practice. When I am using tooling API end point to update global pick list values, updation is working ...
Mr.DevEng's user avatar
0 votes
1 answer
887 views

Bulk Importing State and Country Global Picklist Value

Is there a way to mass upload a list of Country’s and States into the Country and State Territory Picklist section of setup in Salesforce? Looks like its been an idea for a while and looking at the ...
andrew's user avatar
  • 149
1 vote
1 answer
111 views

Picklist value inside Custom Label

Hello I was wondering if I can save several values in one custom label. Because I have a global picklist value set but I only want to use some of them (but I cannot deactivate those values because ...
TechGuy's user avatar
  • 97
0 votes
1 answer
2k views

How to fetch GlobalValueSet values in Apex

There is a global value set that we need to fetch in the Apex class. There are some solutions which are using REST call to Tooling API for accessing them. However, I want to know, is it possible to ...
Farjad Hasan's user avatar
1 vote
2 answers
679 views

Which special characters is not allowed when add new picklist value?

When I attempted to add new picklist values, an error occurred that did not allow me to input the semicolon in the value. Do you have the full list of the special characters that are unallowed in the ...
Tuấn Trần quốc's user avatar
3 votes
1 answer
656 views

Add new global picklist value to object's recordtype

Purpose: I have a small requirement where i need to modify a global picklist values (i.e. add new values / deactivate existing values) from outside salesforce and to use those values in our daily ...
Chakravarthy's user avatar
1 vote
1 answer
358 views

Can the default value of a managed package global value set be changed in the subscriber org?

We have a custom Global Value Set (AKA Picklist Value Set) for countries that will be in a managed package and it would be great if the default value could be changed after the package installation. (...
Keith C's user avatar
  • 135k
1 vote
0 answers
684 views

Record type using global picklist shows "bad value for restricted picklist error" twice

I have a record type using global picklist values. If any value is deactivated from the global picklist, it gets removed from the record type as well, which is correct; but it shows the "bad ...
Sumit's user avatar
  • 13
-2 votes
2 answers
551 views

How to find where API Values of Global Picklist are used in Salesforce?

Is there a script I can use or a way to search all of Salesforce to find where an API is used? I need to update a global picklist, and don't want to run into any issue after updating the field label ...
PowerUp's user avatar
  • 87
0 votes
0 answers
27 views

How can I create API names in global picklist with 500 values in a fast way? [duplicate]

I have file like this with about 500 values: I am creating Global Value Set. Column A is for Label and column B is for API names. Both columns contains about 500 records. I know that I can create a ...
SF_abc's user avatar
  • 1
0 votes
2 answers
8k views

Not able to update picklist fields as unrestricted from restricted

The option “ Restricted picklist to the values defined in the value set “ greyed out. I need to unrestricted this field. I am not sure why it is greyed out? How can I unrestricted this field now?
Frank's user avatar
  • 403
1 vote
1 answer
642 views

Picklist value present in global valueset but not in objects

I have a global valueSet named position. It has 17 values like Top 1, Top 2, Top 3, ..., Top 40, Top 1 vec, Top 6 vec, Top 10 vec This valueSet is used on 4 fields on 3 objects : Product2 and 2 ...
Emmanuel BRUNO's user avatar
0 votes
1 answer
1k views

Cannot remove global picklist after deletion picklist

I am trying to delete a global picklist but this references a deleted picklist. How do I resolve this?
Thomas's user avatar
  • 2,294
0 votes
0 answers
148 views

Assigning Global Picklist Values to recordtypes from Metadata API

I need to assign some newly created global picklist values to some record types in my application via Metadata API only. I have referred some online tutorials and got to know that this feature is not ...
Pravindra Singh's user avatar
1 vote
1 answer
3k views

Restrict Picklist values without record type

The situation is as follows: I have a picklist on Leads derived from a global value set. However, I don't want to show all value from the global value set. Is it possible to achieve this without ...
Corné van Klink's user avatar
1 vote
1 answer
2k views

Retrieve Globalvalueset without Object_API_Name and Field_API_Name

We used to retrieve Picklist values in Apex through and object and a field like this : Schema.DescribeFieldResult F = <Object_API_Name>.<Field_API_Name>.getDescribe(); Schema.sObjectField ...
kabrice's user avatar
  • 129
3 votes
2 answers
9k views

How to deploy picklist field whose value set was changed from local to global?

I'm unable to deploy a picklist field that was promoted to a global value set to my production environment. The global value set, and the new field in another object that uses it are both OK, but when ...
ProgrammingLlama's user avatar
1 vote
1 answer
2k views

Can we query State and Country/Territories Picklist via SOQL? [closed]

We need to check the validations manually in Batch Apex while creating SF Accounts? We have a scenario where we store all the data in our Custom Object (brought the data from the third party). In a ...
Navnaeeth's user avatar
1 vote
0 answers
254 views

Creating Global Picklist using GlobalValueSet of MetadataService API through APEX

I am executing below code in Dev Console.Code is executing without any error, but Global picklist is not getting created. any suggestion? MetadataService.MetadataPort service = new MetadataService....
Sri Gottipati's user avatar
0 votes
1 answer
479 views

Global Picklist Value Sets

I have a ObjA_custom_field__c on Object_A__c, ObjB_custom_field__c on Object_B__c. Both these are picklist fields, that have the same value and serve same purpose. Instead of remembering to add same ...
GroundToCloud's user avatar
0 votes
1 answer
3k views

Add new picklist values to all Record Types that use this Global Value Set

I'v been used tooling API for update Global value set. but now the new picklist values i'v added doesn't display at the picklist field. I'v notice to the check box when adding new values to global ...
Shoval's user avatar
  • 13
1 vote
1 answer
1k views

Delete/Update Global Value Set values using Tooling API

I'm trying to update or delete values in my Global Value Set. I succeed insert new values with the code below: but when I change SetMethod to DELETE I get Bad Request with status code 400 is there ...
Shoval's user avatar
  • 13
-1 votes
1 answer
893 views

Add a picklist value to Global Value Set in test class

I am working on test class that inserts an Opportunity with the opportunity products using the correct price book/price book entry. The OpportunityLineItem has a ProductSelected__c picklist field. We ...
Balaji Pooruli's user avatar
0 votes
2 answers
155 views

picklist options change depending on previous picklist

I have a requirement to have 2 picklists. The user should select an option in Picklist 1, and based upon their selection Picklist 2 will only display certain specific options. These options should ...
testing's user avatar
  • 151
1 vote
1 answer
282 views

the order rule of multiple picklist values from SOQL

What is the order rule of multiple picklist values? When I try to SELECT global multiple picklist values by SOQL which is used in custom object, the order of multiple values is not same as the order ...
Shinya's user avatar
  • 437
0 votes
1 answer
2k views

How to move newly added picklist value from sandbox to test system

I have made changed in the global picklist. Now, I wanted to move the changes from one sandbox to another sandbox. How to move newly added picklist value from sandbox to test system.
Subhanshu Kumar's user avatar
1 vote
1 answer
938 views

access to global picklist value from apex or trigger

How can we upsert data to global picklist value by using apex? I wanna catch record data from custom object by soql in apex, and upsert the data to global picklist value. Thank you in advance.
Shin's user avatar
  • 53
0 votes
1 answer
91 views

upsert from apex trigger

How can we upsert records to glocal picklist values from trigger? I wanna get existing records from a custom object and upsert the records to glocal picklist value by trigger. What type of trigger ...
Shin's user avatar
  • 53
3 votes
0 answers
3k views

How to access global picklist value set in apex code [duplicate]

I want retrieve Global picklist Value Set and assigned them into a drop down box using apex. How could I resolve this?
JURY's user avatar
  • 183
0 votes
0 answers
154 views

Testing class is getting failed after converting a picklist values into global value set

I have a custom picklist field industry segment in opportunity object and the picklist has the value "Manufacturing" and it has access to all the record types. I have a test class, creating ...
Ramesh Kopparapu's user avatar
1 vote
1 answer
2k views

Salesforce DX referring to Global picklist "CustomField not found."

I have successfully deployed a Global Picklist "State" in scratch Org. Following deployment I am referring the global picklist in a custom field. I am get the following deployment error API Name : ...
Raja Vivekanandhan's user avatar
3 votes
0 answers
1k views

How to create/update picklist using metadata service api -- MetadataService.CustomField deprecated

I am trying to create and update picklist and adding its value dynamically using metadata service api. But I got to know that MetadataService.CustomField.picklist is deprecated and using valueSet ...
Ashutosh's user avatar
  • 119
1 vote
3 answers
6k views

Update existing picklist values with a Global value set

I have a custom picklist with few values in Account object. This field is referring in apex classes and visualforce pages. I want replace its existing values with a global value set. When I edit the ...
Reshma's user avatar
  • 3,969
0 votes
2 answers
2k views

Endpoint for getting GlobalValueSet using REST API

I'm trying to use the REST API to get the list of values for a Global Value Set. Since it is not a field on a specific SObject, I don't think you can query for the values. I am successfully ...
tom_12321's user avatar
  • 191
0 votes
1 answer
1k views

Payload Error while Deploying Global Value Set with Language Translations in Production

I have a Custom Object that includes a Picklist which uses Global Value Set. Now, while deploying this to Production, it's giving me Payload Error while validating the Change Set. Missing feature, ...
Kamal Thakur's user avatar
2 votes
0 answers
508 views

Value picklist set - how to make them dependant picklists?

I have converted a picklist to Global Valueset picklist, but the 'Controlling' option is now missing from the field. Is that by design? Can fields that are based on Global Picklist (Value sets) not ...
Saariko's user avatar
  • 5,581
14 votes
0 answers
15k views

SFDX Deploy: Global Value Set Cannot Be Resolved

I am trying to use DX to deploy to a sandbox. It has been a major hassle. At this point the only error I get is this: Global value set 'External_Evaluation_Required__c' in record type 'Exception' ...
Chance's user avatar
  • 1,050
0 votes
1 answer
11k views

How to retrieve Global picklist using metadata api?

I am trying to implement a retrieval of global picklist values in apex using metadata API but I am not able to understand how to do that. Anyone having any idea. I was looking at https://developer....
Vishal's user avatar
  • 23
0 votes
1 answer
2k views

Use global picklist value set association

Is there a way to find out using SOQL the association of global value set picklist with custom field? I have custom field (test__c) dataType as a picklist and I select Use global picklist value set ...
Nick's user avatar
  • 6,934
-1 votes
1 answer
3k views

Limitations of the Global Picklist?

What all are the limitations of the global picklist ? I dont see any proper documentation of the salesforce and some web post are vague.
user4567570's user avatar
  • 1,616
0 votes
2 answers
2k views

Lightning Component: Select locale language based on a picklist value

I created a form using lightning components. So, in lightning components is there a way to change the labels of the fields based on a language selected through a picklist by the user?
Sankeerth R.'s user avatar
1 vote
1 answer
449 views

How to show specific pick list values in pick list based on Type, Category etc?

I have a Unique RecordType, Category, SubCategory, Type in my application. I have so many Status Picklist values around 100. Based on the combination of RecordType, Category, SubCategory, Type, I ...
user avatar
5 votes
2 answers
1k views

Will trigger fire if global picklist value is updated?

I have a global picklist that I use for a reference object. When a record is created it queries this reference table and populates a different object that functions as a warehouse with the value from ...
tjcinnamon's user avatar
  • 1,620
-1 votes
1 answer
6k views

Promote to global value set is disabled for my organization

Promote to global value set is disabled for picklist. I can see the version of org is summer 17.
Adyasha's user avatar
  • 55
2 votes
0 answers
2k views

Limitation in Global Picklist while deploying via ChangeSet?

Is there any issue or Limitation with Global Picklist while its being deployed from One ORG to another. I had some Custom Fields and a Global Picklist field. I have written a Trigger on Case to ...
Robert Thomas's user avatar
1 vote
2 answers
718 views

Global Picklist deployment using Change Set and UnitTest execution failing

I have some trouble with Global-Picklist fields and Unit Test after Deployment via Chnage Set in another ORG. I have a couple of Custom Fields and a Global Picklist field on Case object. I have ...
Robert Thomas's user avatar
0 votes
1 answer
455 views

Territory assignment rules based on global state/territory pick list

Looking for confirmation that territory assignment rules based on global state/territory picklist code value don't work against the ISO code and only the Name field of the picklist value. I am unable ...
Skowronek's user avatar
  • 111
6 votes
2 answers
3k views

Mass Delete Global Value Set Values

Is there (what's the most efficient) way to mass delete Global Value Set values? Removing/Replacing them manually one by one in the UI is not acceptable. I thought I might be able to do it via ...
Boris Bachovski's user avatar