Skip to content
Akhil Kulkarni

Akhil Kulkarni

Salesforce Blog

  • Home
  • Blog
  • Interview Questions
  • Contact

Day: July 5, 2020

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:

Search in this blog

Top Posts

  • LWC: Custom picklist using lightning-combobox
  • Calling Apex Method with Parameters from a Lightning Web Component
  • How to get Picklist value in Formula Field.
  • How to get BASE URL in LWC
  • LWC: Lightning-Combobox required field validation on submit button
  • LWC: Clicking a button from a JavaScript Method.
  • Different ways to Reset Password in Salesforce
  • Apex Sharing in Salesforce
  • Get field's lable, API name, isCustom in APEX
  • KeyCode of a key pressed in Lightning Web Component

Recent Posts

  • LWC: lightning-input-address custom validation
  • APEX: SOQL to MAP of sObject
  • APEX: How to check if ORG is Sandbox or Production
  • AURA: Updated URL Parameter Value in JS File
  • LWC: Lightning-Combobox required field validation on submit button
July 2020
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Jun   Aug »

Blog Stats

  • 188,088 hits

Categories

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

Join 213 other subscribers

Follow me on Twitter

My Tweets
Create a website or blog at WordPress.com
  • Follow Following
    • Akhil Kulkarni
    • Join 30 other followers
    • Already have a WordPress.com account? Log in now.
    • Akhil Kulkarni
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar