AppMenu Class

Contains methods to set the appearance of apps in the App Launcher.

AppLauncher

The following are methods for AppMenu.

Shows or hides specific apps in the App Launcher.

public static void setAppVisibility(Id appMenuItemId, Boolean isVisible)

  • appMenuItemId:

    Type: Id

    The 15-character application ID value for an app. For more information, see the ApplicationId field for AppMenuItem or the AppMenuItemId field for UserAppMenuItem in the Salesforce Object Reference

  • isVisible:

    Type: Boolean

    If true, the app is visible.

Type: void

Sets the organization-wide default sort order for the App Launcher based on a List of app menu item IDs in the desired order.

public static void setOrgSortOrder(List<Id> appIds)

  • appIds:

    Type: List<Id>

    A list of application ID values. For more information, see the ApplicationId field for AppMenuItem in the Salesforce Object Reference.

Type: void

Sets an individual user’s default sort order for the App Launcher based on a List of app menu item IDs in the desired order.

public static void setUserSortOrder(List<Id> appIds)

  • appIds:

    Type: List<Id>

    A list of application ID values. For more information, see the AppMenuItemId field for UserAppMenuItem in the Salesforce Object Reference.

Type: void