Which navigation button is right for me?
There are multiple custom buttons and navigation tools on unofficialsf.com, each with unique advantages. Here are a few of your options, and when you might consider each one:
- Custom Flow Navigation Buttons by David Fromstein
- Description: Used solely for directing navigation between elements within a Flow
- Full disclosure: the guy writing this comparison doc is the same guy who built this component
- Benefits:
- Very lightweight, fast to set up, easy to configure
- Can look and feel just like standard Flow navigation
- Multiple buttons in one component, on one line
- See Features for all the reasons I think this component is helpful 🙂
- This is the only one of the components listed here written as a Lightning Web Component (LWC), making it more future-proof
- Downsides:
- Very specific in what it does, only used for navigation within a Flow, does not currently support launching in modal
- Description: Used solely for directing navigation between elements within a Flow
- Launch Flow in Modal by George Abboud
- Description: Similar to the Bonus suggested usage above, but (1) launches in a modal, which is often very useful, and (2) is a separate component from the Flow being launched
- Benefits:
- Does exactly what it says on the label!
- Downsides:
- None, really—this is a pretty niche component that does one thing and does it well.
- Additional resources: Quip doc
- Flow Buttons by Ryan Cox
- Like a combination of the above two components, can be used to navigate within a Flow or to launch other Flows (inline or as a modal).
- Benefits:
- Does pretty much everything the above two components do, combined.
- Downsides:
- Less lightweight than this component.
- Each button is its own component and on its own line.
- Advanced Flow Navigation Button from GravityLab
- Description: this is the mac daddy of custom Flow buttons. It has a ton of functionality, and can do things like open records, navigate to URLs, launch quick actions, and more.
- Benefits:
- Tons of functionality, lots not covered by the above buttons. If you need more advanced navigation, this is the one for you.
- Downsides:
- With great functionality comes great
responsibilityconfiguration. Much less lightweight than alternatives. - To my knowledge, doesn’t currently support launching in modals.
- With great functionality comes great
- Additional resources: GravityLab post