AppMenu Class
Namespace
AppMenu Methods
The following are methods for AppMenu.
setAppVisibility(appMenuItemId, isVisible)
Signature
public static void setAppVisibility(Id appMenuItemId, Boolean isVisible)
Parameters
-
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.
Return Value
Type: void
setOrgSortOrder(appIds)
Signature
public static void setOrgSortOrder(List<Id> appIds)
Parameters
-
appIds:
A list of application ID values. For more information, see the ApplicationId field for AppMenuItem in the Salesforce Object Reference.
Return Value
Type: void
setUserSortOrder(appIds)
Signature
public static void setUserSortOrder(List<Id> appIds)
Parameters
-
appIds:
A list of application ID values. For more information, see the AppMenuItemId field for UserAppMenuItem in the Salesforce Object Reference.
Return Value
Type: void