Users Control Whether to Show/Hide Info with Flow Toggle & Component Visibility
Jennifer W. Lee
Lead Admin Evangelist at Salesforce | DF22-24 Admin Keynote Speaker | Host of Automate This! | Salesforce Certified Application Architect | Salesforce MVP (2016-2021) | Former Blogger (jenwlee.com) | Opinions are my own
Lightning record pages are cool in terms of its flexibility, allowing you to drag, drop, and configure various components to show on the page, even to display conditionally as well. However, there may have a need to show or hide components on a Lightning record page, but you want to give the user the choice to decide to show or hide this information.
You can use a flow screen and the new flow toggle, introduced in Winter ’19, to allow the user to toggle on and off components and use component visibility to show and hide components at will.