Skip to content
SFDCian – Best Salesforce Consultant & Architect
  • Home
  • My Salesforce Implementation
  • Training Programs
  • Articles
    • Zendesk to Salesforce Service Cloud Migration
    • Apex
    • Apex Coding Best Practice
    • Apex Trigger Execution
    • How to become an Architect
  • About
  • Contact
Search
SFDCian – Best Salesforce Consultant & Architect
  • Home
  • My Salesforce Implementation
  • Training Programs
  • Articles
    • Zendesk to Salesforce Service Cloud Migration
    • Apex
    • Apex Coding Best Practice
    • Apex Trigger Execution
    • How to become an Architect
  • About
  • Contact

Update picklist value and add it in record type using apex

22 Comments / Picklist Value, Salesforce, Tooling API, Uncategorized

Legacy Approach Previously, I used to use Apex Metadata Service (https://andyinthecloud.com/2013/10/27/introduction-to-calling-the-metadata-api-from-apex/); but it requires to import all code for even a small requirement. After, release of Tooling API, I find it lifesaver for such implementation. Below given approach is with help of Tooling api. Here is one Salesforce stackexchange question: https://salesforce.stackexchange.com/questions/162390/how-to-update-picklist-values-along-with-record-types-using-metadataservice New Approach First HTTP …

Update picklist value and add it in record type using apex Read More »

Apex Code to Create Custom Field Programmatically

18 Comments / apex, Salesforce, Tooling API

DESCRIPTION It’s very typical to get such a scenario when we need to create custom field programmatically. Previously, we used to use Metadata API for the same which was very costly. But now, Tooling API provides an efficient way to achieve it. I’ve prototyped in below class. You can create custom fields as given below. …

Apex Code to Create Custom Field Programmatically Read More »

Email

Learn

  • Home
  • Request For Services
  • Apex Trigger Practice
  • Tooling API
  • Blog
  • Write For Us
  • Privacy Policy

Copyright © 2025 SFDCian - Best Salesforce Consultant & Architect | Powered by SFDCian - Best Salesforce Consultant & Architect