Apex Use Case 20 | Chapter 79 | Salesforce Developer Masterclass

Поделиться
HTML-код
  • Опубликовано: 4 ноя 2024

Комментарии • 8

  • @ddhananjayrao3296
    @ddhananjayrao3296 2 месяца назад +1

    At the end of this course can you please make a video on how to add/delete a picklist value using apex.

    • @salesforcemakessense
      @salesforcemakessense  2 месяца назад

      You need the metadata api in that case, which is not ideal for this requirement as this warrants a deployment t be done.
      I would suggest adding it the conventional way or making it a unrestricted pick list to add any values from apex or integration systems.

    • @ddhananjayrao3296
      @ddhananjayrao3296 2 месяца назад +1

      @@salesforcemakessense thanks Himanshu bro. 👍🏽

    • @ddhananjayrao3296
      @ddhananjayrao3296 2 месяца назад +1

      Bro, 1 more help regarding the same, the values added to the unrestricted picklist are inactive instead being active. Can you suggest any better way to deal with this situation?

    • @salesforcemakessense
      @salesforcemakessense  2 месяца назад

      @@ddhananjayrao3296 ideally you should not even see this on the list. Try a value thats not in the list and try adding that value and see how the behaviour is

    • @ddhananjayrao3296
      @ddhananjayrao3296 2 месяца назад +1

      @@salesforcemakessense show inactive in Custom object and not showing in standard object (opportunity)