Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [utility-bar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
35 views

Opening Aura Component by URL opens utility bar as well

I'm trying to open a new browser popup that loads an AURA component or Flexipage directly by their URL from a page that has a utility bar. I am able to do this, but after it is loaded, the utility bar ...
enoguera's user avatar
0 votes
0 answers
34 views

Aura cmp Dynamic CSS for utility bar vs a tab vs mobile

I have an Aura cmp which I will be using in the utility bar on the desktop and in a separate tab on mobile. However, I wanted to limit the height of the aura in the utility bar so that the inner ...
YCS's user avatar
  • 27
-1 votes
1 answer
728 views

Is there a way to automatically make "Available" in Omni Channel when the user (agent) signs into Salesforce?

Ironically, Salesforce asks if you want to log into Omni-Channel when I log into my app. However, when I click the Utility Bar, it still shows offline and sometimes says "Log in to Omni Channel ...
Edwin Schaeffer's user avatar
0 votes
1 answer
235 views

Open utility item in modal only, not in standard utility panel mode

I have a requirement where I need to display utility item in a modal window only. I have also embedded an aura component inside the utility item. So whenever user clicks on the utility item header, it ...
Pravindra Singh's user avatar
0 votes
1 answer
1k views

Lightning Web Component fails when added to Utility Bar

When trying to add my LWC in the utlity bar, it fails with this message "There was an error saving the page: PropertyType cannot be specified for flexipages of type UTILITY_BAR." This is me ...
CalPal's user avatar
  • 1
0 votes
0 answers
254 views

Error launching screen flow from utility bar item

I created a screen flow which is launched through a utility item in the utility bar. I tested the flow on a particular custom app which I use, and the flow is able to run fine with no errors. However, ...
Steve's user avatar
  • 1
0 votes
1 answer
362 views

Is it possible to use isUtilityPoppedOut() in LWC?

This function is exactly what I need to control certain utility behaviors that should only occur when the utility is popped out. However this seems to be written for Aura. Is it possible to do this in ...
Brig Larimer's user avatar
1 vote
1 answer
817 views

Disable Utility PopOut functionality in an LWC component

I have an LWC component which i am rendering in the utility bar in my lightening app. In that component, i want to disable the pop-out option of the utility bar popup using javascript based on some ...
ghostCoder's user avatar
0 votes
1 answer
422 views

Can the Omni-Channel Utility Item be deployed as part of a Custom App

I included the Omni-Channel Utility Item as part of my custom app in my scratch org, but don't see it in my app-meta.xml file when retrieving it using sfdx cli. I want to include this utility item in ...
seanalee's user avatar
0 votes
0 answers
933 views

Raising an event on utility bar pop out

This is somewhat an update of the question raised here. The only answer for this question does work, but I am hoping that a better solution has appeared in the years since that post. Salesforce is ...
Kyle's user avatar
  • 1
1 vote
1 answer
135 views

Load previous state of dynamically created component

How do I load the previous state of the lightning component that is dynamically created which is embedded inside another lightning component in the Utility bar. Component in Utility Bar: SampleCreator....
SunnyG's user avatar
  • 421
0 votes
1 answer
343 views

Flow in the Utility Bar is not refreshing with Aura

I am calling a flow from Utility Bar with Aura Component I am passing recordId but If navigate to other record, RecordId is Changing but flow execution not starting again.If How can I refresh the flow ...
saivinay manapuram's user avatar
2 votes
1 answer
256 views

Is it possible to run the utility bar api and import a js file at the same time?

I have some html/js code I want to display in a utility bar item, and I want to be able to run the Utility Bar API on some events that occur in the js code. The html includes me importing a js file I ...
Lee's user avatar
  • 21
1 vote
1 answer
536 views

Aura UtilityBar Components: How to set default component dimensions on the Lightning App Builder and prevent modifying of these values?

I am currently developing an Aura component for the UtilityBar and I am having trouble setting default values for the component on the App Manager screen. For an example: I would like to set height ...
Blake's user avatar
  • 131
3 votes
1 answer
1k views

Possible to get sObjectName in Utility Bar LWC?

I'm creating a LWC that I want to have context from the currently focused tab. I want to have both the recordId and the sObjectName. In fact, I've successfully done this for the recordId based on this ...
jbyrd's user avatar
  • 661
1 vote
3 answers
771 views

Prevent Hotkeys from triggering utility bar in LWC

In Salesforce Lightning Experience if you have items in the Utility Bar, sometimes pressing a key will trigger a widget to open. For example, if you press the "H" key, this opens the "...
Tom Reinman's user avatar
1 vote
1 answer
1k views

Open Utilty Bar On the Onload (connectedCallback) functtion LWC Component

I have LWC Component and I need to open the utility page on the connectedCallback of the page: Somewhat like this: https://salesforcecodex.com/salesforce/open-utility-bar-on-lightning-app-load/ ...
mvk1991's user avatar
  • 555
0 votes
1 answer
2k views

How to change the API Name of the Utility bar of custom application

I have a custom application that i created, but I prefixed my custom application as XYZ_MYAPP, which was carried over to my utility bar setting and utility bar was named as XYZ_UTILITYBAR. now i want ...
apc's user avatar
  • 63
1 vote
1 answer
1k views

Open the lightning component at the time of Utility bar loading

I have binded a lightning component in utility. And I want to open that utility at the time of loading by default. But Lightning init handler not working properly. Here is my code: .cmp <aura:...
Rahul Gupta's user avatar
6 votes
4 answers
3k views

openUtility on case change event

I am working on an utility bar component that displays a form to agents to give feedback (See feedback utility in the left bottom of the picture). I want to open the utility on case closed event (...
VK_nandi's user avatar
0 votes
1 answer
438 views

Lightning Component - Why my data doesn't show in my Utility Bar?

I'm trying to show Files Uploaded in Salesforce File. I created a Folder in the Libraries part and uploaded the Files inside of it. So i made a custom aura component to show those files. So i made my ...
Adrien Merignac's user avatar
1 vote
1 answer
567 views

Listening to LMS messages from a background utility bar item

I want to do some background processing so I wrote a background utility bar item, and tried listening to LMS messages, but it didn't work. Then I found this: It is a front-end service that works in ...
kamezaburo's user avatar
0 votes
0 answers
445 views

Interacting with UtilityBar component

I need to display a record pop using a utility bar. We have a use case where an external system will accept the phone call and will send us the phone number of the caller. We need to capture this ...
MandyKool's user avatar
  • 571
1 vote
1 answer
1k views

Utility bar component refresh

We have a lightning cmp. as a utility bar item. This cmp. is showing a list view of leads. When a lead in the list is clicked the lead opens in the main area. I want to have the utility bar cmp. ...
Dedo's user avatar
  • 5,017
2 votes
1 answer
3k views

Utility bar doesn't appear in Lightning App for certain users

Simple use case: Lightning App Foo is configured with a Utility Bar. Utility Bar has a single item - a Screen Flow MyFlow Lightning App Foo is provisioned to Profile System Administrator and ...
cropredy's user avatar
  • 72.2k
6 votes
1 answer
4k views

Lightning: Hide Utility Bar Item based on conditions

We are using utility bar component to display notifications for users: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_js_utility.htm But according ...
wesaw's user avatar
  • 3,130
5 votes
0 answers
367 views

Can I use a Managed Package Visualforce page in Utility bar?

I created a new Lightning application in which I added some utility items.I also want to add a Visualforce page in the Utility bar but the page is from a Managed package. Is it even possible? Is there ...
Prakash's user avatar
  • 69
1 vote
0 answers
2k views

Lightning App - My Utility bar doesn't show

This topic continues this one from yesterday, the context remains : While migrating an org from Classic to Lightning, I'm trying to deploy and add a Utility Bar ; I'm using Workbenchn, following this ...
Alexis MASSON's user avatar
3 votes
0 answers
234 views

Closing popped out utility bar from cross button

I have a utility bar which is having features to search for articles. I am using it to pop out from the bar to and independent utility window, when I use the pop-in button to take it back into the ...
Tarique Shamim's user avatar
0 votes
3 answers
419 views

Can I update the Lightning console utility bar "Phone" UI?

We are using Amazon Connect CCP and I'm trying to update the highlighted section of the screenshot to change color and display the text of the user's status (i.e. "Available", "Offline", etc). I can ...
CoreyC's user avatar
  • 1
2 votes
1 answer
403 views

Handling Application event in Utility Bar component

I am using a utility bar in a lightning application. I am having a component on the contact record page, from where I am firing an Application event and having a handler on a component which is in ...
Tarique Shamim's user avatar
5 votes
2 answers
2k views

Utility Bar API Unable To Obtain Eclosing Utility Id

I am working on an aura component for a utility bar, and specifically trying to add a handler via the onUtilityClick method of the <lightning:utilityBarAPI> component. My understanding based on ...
Adrian Larson's user avatar
  • 151k
2 votes
4 answers
6k views

Getting the recordId in lightning web component in the utility bar

I'm fairly new to salesforce and lwc so apologies if this question has an easy answer. I'm trying to get the recordId in a component using @api. The component is being used in the Utility Bar. Using ...
davidpanaho's user avatar
1 vote
1 answer
445 views

Open CTI Call Centers vs. Lightning utility bar component

A client needs to have voice capabilities in Lightning (incoming, outgoing calls and call recording), and I wanted to use the Lightning Open CTI Demo as a starting block. After numerous attempts to ...
Brian Miller's user avatar
  • 5,222
4 votes
0 answers
754 views

Page Context in Background Utility Item

I created a Background Utility Item component that uses the empApi component to listen on capture data changes. I need it to be aware of the Page Context and able to get the record id of the current ...
Mathieu Perrin's user avatar
4 votes
2 answers
3k views

onUtilityClick() refresh component

I am trying to build a utility bar item that is refreshed when the user closes and reopens it. I tried implementing the onUtilityClick() function in my init method but I'm getting the error 'Error: ...
Calvin OKeefe's user avatar
3 votes
2 answers
1k views

Detect Minimization / Focus Utility Bar Component And Resize Workspace Component

Apparently there is no method (at this point) for detecting when the utility bar item minimize / maximize event is fired. I could potentially use jQuery to listen for a click on the button, but ...
jordan.baucke's user avatar
0 votes
1 answer
1k views

Retrieve recordId and sObjectName from utility bar component

I'm trying to retrieve recordId and sObjectName from a component put on the utility bar. The point is it always retrieves me 'undefined' in both cases. <aura:component implements="force:...
molinet's user avatar
  • 925
1 vote
1 answer
1k views

Adding a utility bar to a lightning component?

does anyone know if it is possible to put the utility bar onto a lightning component. More specifically the utility I need is the CTI dialer.
Alexander Atkinsoon's user avatar
1 vote
0 answers
410 views

How to fire global actions from a within a Lightning Component

Is this feature available? Is there an API I can use? I know you have the Utility BarAPI (https://developer.salesforce.com/docs/component-library/bundle/lightning:utilityBarAPI/documentation) which ...
Brian's user avatar
  • 123
1 vote
1 answer
2k views

Custom Lightning Component not getting refreshed under Utility Bar

I have a component under Utility Bar. When the owner is changed in the case detail. The component needs to pick the latest update and it will show number of cases that logged in user owns. When i ...
AjaySFDC's user avatar
  • 618
8 votes
1 answer
2k views

How to detect minimize action on a utility bar item?

PROBLEM STATEMENT I have a 'Compose Email' component which is embedded in the docked utility bar. Please see below image for clarity. I am using lightning:fileUpload to allow multiple email ...
Lightning Evangelist's user avatar
1 vote
1 answer
4k views

UtilityBar error when deploying

When I attempt to do a deployment I get the following error. I have googled this and I'm not finding much useful information. Let me know if I should paste any other information that will help with ...
Leela's user avatar
  • 47
2 votes
0 answers
138 views

The Utility Bar is floated at the top. I cant see my Lightning App

At Browser Edge, The Utility Bar is floated at the top. I cant see my Lightning App. But At other browser like Chrome, FireFox or Safari, It works fine.(The Utility Bar is sticked to the bottom.) ...
Lucy Tu Tu's user avatar
1 vote
0 answers
81 views

Salesforce 2018 Summer Release, The Utility Bar will be floated at the top @Newest Version of 2018 Edge [closed]

I had ever created a Lightning App My Developer Org has been upgraded to Salesforce 2018 Summer Release I Login My Org Using Chrome Browser, It works fine.(I can see Utility Bar at the Bottom of ...
Lucy Tu Tu's user avatar
4 votes
1 answer
2k views

How to add items to utility bar in managed lightning package (specifically FSC - Financial Services Cloud)?

When trying to add items to the utility bar in the Financial Services Cloud managed lightning package, I get the following message: You can't edit the utility bar. This app is from a managed ...
WrittenInCode's user avatar
0 votes
1 answer
49 views

Lightning Create Custom Tutorial

I want to be able to guide users that switch from classic to lightning with a tutorial. I know how to create a modal to guide the user, I just want the modal to show whenever the user switches from ...
disasterlooms's user avatar
0 votes
1 answer
851 views

Test Classes are getting failed due to validation rule on user object. looking for helper class

here is the quick background:- i wrote a validation rule to restrict the picklist value on user object but there is losts of test claases are getting failed. i choose teh approach to create a helper ...
Rajni Bhagat's user avatar
2 votes
1 answer
2k views

How do you pass a record id into a flow variable using utility bar in LEX?

I created a flow with a text input only variable that inserts the current account record ID because later in the process it updates fields on that account record. I know how to insert the value of ...
Matthew's user avatar
  • 21
4 votes
2 answers
2k views

Open full width modal from Utility Bar

I implemented a SLDS modal component. If activated from within a e.g. FlexiPage, all is working well. When opened within the utility bar using the very same component, the modal is restricted to ...
Christian Szandor Knapp's user avatar