Questions tagged [utility-bar]
The utility-bar tag has no usage guidance.
55
questions
-1
votes
1
answer
120
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 ...
0
votes
0
answers
112
views
Allow users to minimise a screen flow and allowing them to have the flow window opened while they gather data
I have a screen flow that users want be able to minimise and have opened while they are working on gathering data for a Case. Once they use this flow to refer it on a specific case, they should not be ...
0
votes
0
answers
79
views
Open modal window on clicking utility item header
I want to open a modal window on clicking over utility item header.
Currently we have to click on utility item header and then 'Show modal' button to display the modal window.
but I want to display ...
0
votes
1
answer
140
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 ...
0
votes
1
answer
882
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 ...
0
votes
0
answers
108
views
How to invoke method onclick of UtilityBar itself
I am currently looking to invoke a custommethod "onclick of UtilityBar" at the bottom. I explored all the UtilityBarAPI. However,Unable to find the way to trigger the methods onclick of ...
0
votes
0
answers
162
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, ...
0
votes
1
answer
175
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 ...
0
votes
0
answers
42
views
Is there any way to detect which users have a particular LEx utility open?
I am building an LEx utility right now which subscribes/listens to a PushTopic for newly-created records owned by the current user. Trouble is, the org has a TON of users that may be in an app with ...
1
vote
1
answer
605
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 ...
0
votes
1
answer
284
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 ...
0
votes
0
answers
711
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 ...
1
vote
1
answer
109
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....
0
votes
1
answer
279
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 ...
2
votes
1
answer
187
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 ...
1
vote
1
answer
409
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 ...
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 ...
1
vote
3
answers
604
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 "...
0
votes
1
answer
878
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/
...
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 ...
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:...
5
votes
4
answers
2k
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 (...
0
votes
1
answer
405
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 ...
1
vote
1
answer
474
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 ...
0
votes
0
answers
336
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 ...
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. ...
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 ...
6
votes
1
answer
3k
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 ...
4
votes
0
answers
322
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 ...
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 ...
3
votes
0
answers
210
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 ...
0
votes
3
answers
349
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 ...
2
votes
1
answer
337
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 ...
5
votes
2
answers
1k
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 ...
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 ...
1
vote
1
answer
391
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 ...
4
votes
0
answers
716
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 ...
4
votes
2
answers
2k
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: ...
3
votes
2
answers
893
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 ...
0
votes
1
answer
979
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:...
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.
1
vote
0
answers
389
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 ...
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 ...
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 ...
1
vote
1
answer
3k
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 ...
2
votes
0
answers
128
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.)
...
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 ...
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 ...
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 ...
0
votes
1
answer
764
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 ...