To Create, Edit and View a record “Quickly” you can use “<lightning-record-form />” tag. Salesforce automatically Loads all fields in the object’s compact or full layout, or only the fields you specify. There is no manual custom field tag that user need to add and customize the layout. Salesforce handles everything for you including the lookup fields.
Overall if you are looking for a quick solution to create a record instantly, you can go with <lightning-record-form />.
Every tag comes with some attributes. For this tag there are few important attributes that are usually used.
There are few more…
Continue reading “Lightning Web Component using lightning-record-form.”
As I mentioned in my previous blog(Introduction to Lightning Aura Component), Salesforce supports 2 different programming modules.
- Lightning Aura Component (LAC)
- Lightning Web Component (LWC)
Since LWC is a big topic we will cover just introductory part in this blog. So the question is –
What is Lightning Web Component (LWC)?
Continue reading “Introduction to Lightning Web Component and Basic Applications for LWC”
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”