Skip to content
Akhil Kulkarni

Akhil Kulkarni

Salesforce Blog

  • Home
  • Blog
  • Interview Questions
  • Contact

Tag: Metadata

Metadata · Schema

Get field’s lable, API name, isCustom in APEX

July 5, 2020July 5, 2020 Akhil Kulkarni2 Comments

When working in apex, sometimes you need field’s label name and API name and other details. Below is a sample code which can be used to fetch details of any object’s field, its Label, its Name(API Name), and an attribute to check if it’s a custom field or no. There are other options too which can be referred as per business requirement.

Continue reading “Get field’s lable, API name, isCustom in APEX” →

Rate this:

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
Like Loading...

Share this:

  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
Like Loading...

Search in this blog

Top Posts

  • How to get BASE URL in LWC
  • How to get Picklist value in Formula Field.
  • Different ways to Reset Password in Salesforce
  • Sharing Rules in Salesforce
  • AURA: Clear cache while loading a Lightning Component.
  • Apex Class, Variables, Constructor & Methods in Salesforce.
  • LWC: Lightning-Combobox required field validation on submit button
  • Get field's lable, API name, isCustom in APEX
  • LWC: lightning-input-address custom validation
  • Calling Apex Method with Parameters from a Lightning Web Component

Recent Posts

  • Parent to child communication in LWC
  • Child to Parent Communication in LWC
  • Communication Between Components using LWC
  • Step-by-Step Guide to Creating E-Commerce Portals with Titan for Salesforce
  • Using OCR Technologies in the Salesforce Ecosystem
January 2026
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Feb    

Blog Stats

  • 318,049 hits

Categories

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 474 other subscribers

Follow me on Twitter

My Tweets
Create a website or blog at WordPress.com
  • Subscribe Subscribed
    • Akhil Kulkarni
    • Join 35 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Akhil Kulkarni
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d