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 5July 5 Akhil KulkarniLeave a comment

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” →

Search in this blog

Recent Posts

  • KeyCode of a key pressed in Lightning Web Component
  • Toast Message in Lightning Web Component
  • Calling Apex Method with Parameters from a Lightning Web Component
  • Clickable Custom formula field (Relative vs Absolute)
  • Custom Lightning Component in Outlook or Gmail Side Panel

Top Posts

  • Lightning Web Component using lightning-record-edit-form
  • Calling Apex Method with Parameters from a Lightning Web Component
  • Renderer in Lightning Bundle
  • Get field's lable, API name, isCustom in APEX
  • Apex Class, Variables, Constructor & Methods in Salesforce.
July 2020
M T W T F S S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Jun   Aug »

Blog Stats

  • 3,178 hits

Categories

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

Join 170 other followers

Follow me on Twitter

My Tweets
Create a website or blog at WordPress.com