Skip to main content
답변 2개
  1. 2020년 3월 31일 오후 4:41
    As far as I know it's not possible to access and modify inactive values of picklist throught  Declarative Customization.

     

    Using Apex, instead, you can obtain all picklist values and through isActive() method you can discriminate between active and inactive values:

     

    https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_class_Schema_PicklistEntry.htm

     

    you can do your logic on them through Metadata API, here you are an example:

     

    https://salesforce.stackexchange.com/questions/268593/new-picklist-values-added-via-metadata-api-stay-inactive

     

    and this is the official documentation about reactivating values:

     

    https://help.salesforce.com/articleView?id=000316039&type=1&mode=1 (https://help.salesforce.com/articleView?id=000316039&type=1&mode=1)
0/9000