0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Utility Barのまとめ

Last updated at Posted at 2023-12-25

まとめページに戻る
まとめN~Z

image.png

When creating a utility bar for your app, keep these things in mind:

  • Utility bars created using the Lightning App Wizard or in the Lightning App Builder can be assigned to only one Lightning app. However, utility bars created using the API can be assigned to multiple Lightning apps.
  • The utility bar doesn’t support Visualforce pages or components.
  • The utility bar doesn’t fully support the Chatter Publisher and Feed components.
  • The History utility works in Lightning console apps only.
  • The Omni-Channel utility works in the Lightning Service Console app only.
  • The default utility bar alignment matches the user’s language setting alignment. For example, English is read left to right. If you select Default and a user’s language is set to English, the utility bar appears at the bottom of the left side of the screen. If you select Mirrored, the utility bar appears at the bottom of the right side of the screen.

https://help.salesforce.com/s/articleView?id=sf.apps_lightning_utilities.htm&type=5

There's no function I see for hiding the minimize option here https://developer.salesforce.com/docs/component-library/bundle/lightning:utilityBarAPI/documentation , if the minimize can be done using a button like

<aura:component implements="flexipage:availableForAllPageTypes" access="global" >
    <lightning:utilityBarAPI aura:id="utilitybar" />
    <lightning:button label="Minimize Utility" onclick="{! c.minimizeUtility }" />
</aura:component>

Controller:
({
    minimizeUtility : function(component, event, helper) {
        var utilityAPI = component.find("utilitybar");
        utilityAPI.minimizeUtility();
    }
})

Check Minimize the Utility from the Button

フロー

フローの実行権限が必要みたいです。

URL または [設定] から起動されるフローでは、Classic ランタイム環境ではなく Lightning ランタイム環境が使用されます。Lightning ランタイムでのみ 2 列フロー画面、カスタム画面コンポーネント、ローカルアクションがサポートされます。

フローの Lightning ランタイムを有効化
設定 --> プロセスの自動化設定

And the answer is ...

  • If the only item in the Utility Bar is a Flow, and ...
  • The running user is not a Flow User (in user record) or does not have Manage Flows or Run Flows permission (in either profile or Permission Set)

Then, even if the specific flow in the Utility Bar has been granted to a Profile or Permission Set assigned to the running user, the absence of the Flow User/Manage Flows/Run Flows will prevent the Utility Bar from even displaying (as empty or with the flow).

In my use case, I needed to add the Run Flows permission to the Permission Set that granted access to the flow - thus encapsulating all the required permissions for the flow in one place.

https://salesforce.stackexchange.com/questions/300831/utility-bar-doesnt-appear-in-lightning-app-for-certain-users

LWC

トレイルヘッド

you should normally find macro in the following parts :

  • in the Service Console application (last capture is in Service [not Service Console] app)

  • in the Utility bar (in the bottom bar of the screen)

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?