
Step 1: Create the Lightning Component
To start off, I created a Lightning Component to display a simple banner at the top of a record page. The code that follows below after shows each part of the component in case you’d like to build anything similar. The main points of the component are:
Step 2: Add Component to Record Pages
Once the component is created, it’s time to add it to the record pages.
Summary
It’s all well and good capturing communication preferences, but if a salesperson cannot quickly see if they can or cannot contact someone, it defies the point of having communication preferences in the first place.
