Force Standard Tags

The lightning framework has multiple standard tags to create something and there are many standard tags of its library force.com that we can use in our Salesforce lightning component to view records with title and related records.

Let’s discuss them in detail.

1. force:highlightsPanel:

The highlight panel in the case feed is displayed at the top of the feed showing the important details about the record. You can use this tag to display the highlight panel in your custom component.

This can be used in your Salesforce VF Page and not in the lightning component. Here’s an example for your simpler understanding.

2. force:detailPanel:

The detail panel of the record shows the value of it. You can use this tag to display the detail panel in your custom component.

This can be used in your VF Page and not in the lightning component. Here’s an example for your simpler understanding.

3. force:relatedListContainer:

This standard tag copies all the details in the custom component. However, it only allows you to view it. You cannot edit or delete the details.

This can be used in your VF Page and not in the lightning component. Here’s an example for your simpler understanding.

 

How can you achieve this?

All you need to do is pass the recordId parameter with component and it’ll work.

These are the three tags that will be majorly used by the developers. Do try them out and let us know your experience!

Our Location worldwide
India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
SR Tower 2nd Floor Hydel Gate Haldwani Uttarakhand 263126 +91-5946359996
USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818