You need to sign in to do that
Don't have an account?

Minimize a utility bar component
Hi all,
I have a number of components that live in a utility bar in my lightning app. Some of them redirect the main page to another record. At the moment, the utility bar component remains open until the user clicks the minimize button. However, I want to minimize the utility bar component for them from the controller before the page redirects. Does anyone know how I'd go about doing this?
Many thanks,
Andy
I have a number of components that live in a utility bar in my lightning app. Some of them redirect the main page to another record. At the moment, the utility bar component remains open until the user clicks the minimize button. However, I want to minimize the utility bar component for them from the controller before the page redirects. Does anyone know how I'd go about doing this?
Many thanks,
Andy
Did you ever find a solution?
Thanks
Though its too old post but I faced same issue again and I was able to resolve it by using minimizeUtility method of lightning:utilityBarAPI
You can find example at below link:
https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_minimizeItem.htm
Hope it will help!