Developing a Lightning Component to highlight any prospective companies on an account page
Organizations often have a requirement to identify prospective companies which are not currently a customer and this can be achieved in Salesforce CRM by storing the value Prospect as a type of account in the standard field called Type.
The Prospect Type field can be presented to users on the account record detail page for viewing and editing and whilst the field is shown on the page layout it is displayed amongst all the other fields associated for the account record and is not particularly highlighted.
Salesforce has a highlight section on the page layout which can be used to further show the type of account and other fields. However, this section cannot be modified to change the field style, it cannot include custom text, and has a limit on the number of fields that can be shown.
In this recipe, we will develop a custom Lightning component that highlights any account record that has been set as Prospect...