Use Background Utility Items to Add Functionality to a Lightning App

Background utility items run without a visible entry in the utility bar. They provide an unobtrusive way to add functionality to your Lightning apps without cluttering the user experience.

Where: This change applies to Lightning Experience for Essentials, Professional, Enterprise, Performance, Unlimited, and Developer editions. Lightning console apps are available for an extra cost to users with Salesforce Platform user licenses for certain products. Some restrictions apply. For pricing details, contact your Salesforce account executive.

Why: In standard navigation and console navigation apps, you can create and add background utility items to invisibly execute code.

Here are a few nifty things you can do with background utility items.
  • Add custom keyboard shortcuts
  • Capture data on how your service agents or sales reps spend their time interacting with customers
  • Enforce console tab limits
  • Listen for events, like chat notifications, and notify the user

How: Implement the lightning:backgroundUtilityItem interface to use a custom component as a background utility item.