CustomApplication defines a standard or custom Salesforce app: its navigation tabs, landing tab, interface mode, Lightning page assignments, branding, and optional console behavior. It configures the app; it does not contain the objects, tabs, pages, or permissions that the app references.
App-specific Lightning page activation assignments are stored in CustomApplication, separately from the referenced FlexiPage definitions. Retrieving or deploying a Lightning page alone therefore does not represent all of its app-specific activation settings. App navigation and visibility settings also do not grant users app assignments or object and field permissions.
Key Elements
| Element | What the Element Controls |
|---|---|
fullName |
The inherited metadata component identity, distinct from the displayed label. Standard apps use names such as standard__Chatter; installed managed-package apps use namespace__AppName. |
uiType |
The interface: Aloha for Salesforce Classic or Lightning for Lightning Experience. Not updateable. |
navType |
Lightning navigation mode: Standard or Console. Not updateable. |
formFactors |
Where the app is visible. Lightning apps support Small for mobile and Large for desktop. Classic apps support no value or Large. Medium is reserved for future use. |
actionOverrides |
App-level action and Lightning page assignments. The documented app override types are Flexipage and Default. An App Default Lightning page assignment has a separate removal procedure. |
profileActionOverrides |
Profile-specific page assignments within the app, optionally scoped by record type and form factor. Matching assignments take precedence over existing Home or record-page overrides. |
tabs |
The app's navigation items. These are tab references, not object definitions or object permissions. Built-in tabs use the standard- prefix, such as standard-Account. |
defaultLandingTab |
The full name of the standard or custom tab opened when the app is selected. |
isServiceCloudConsole |
Identifies a Salesforce Classic console when true. A Lightning console instead has navType=Console and a null isServiceCloudConsole. |
workspaceConfig |
How records open as console primary tabs or subtabs. Required for Classic consoles; also supported for Lightning consoles. |
preferences |
Classic console preferences. All nested AppPreferences fields are required. Session restoration and optional tab limits are controlled here. |
consoleConfig |
Console refresh behavior, keyboard shortcuts, list placement, components, notifications, and tab limits. Several nested settings are required for Classic consoles. |
brand |
App colors and logo. shouldOverrideOrgTheme determines whether these settings or the global org theme govern the displayed appearance. |
utilityBar |
The developer name of a utility-bar FlexiPage. Changes affect every app sharing that utility bar. |
uiBundle |
A fully qualified internal React app name represented by UIBundle, such as c__propertymanagementapp. Configuring it makes the app available in the App Launcher. |
Behavior and Constraints
App identity, interface, and visibility
fullName identifies the component; label is the name users see. Do not confuse the standard__ prefix for standard applications with the standard- prefix for built-in tabs.
uiType and navType are not in-place conversion switches. Both are not updateable. A null isServiceCloudConsole does not mean that a Lightning app lacks console behavior; check navType.
Setting a Classic app's formFactors to Large allows it to appear in Lightning Experience desktop without changing its uiType. For Lightning apps, Small controls Salesforce mobile app visibility and Large controls desktop visibility. These settings do not establish a user's app assignment.
setupExperience selects the associated Setup tree: all for the full tree, essentials for the Essentials subset, or service for Service Setup. A null value is equivalent to all.
Lightning page assignments
For an app-level Lightning page override, actionOverrides.content identifies the FlexiPage, pageOrSobjectType identifies the affected object or page, and formFactor distinguishes desktop from mobile presentation. The app-specific documentation limits AppActionOverride.type to Flexipage and Default; the broader inherited override enumeration does not establish support for every object-level override type.
Within profileActionOverrides, profile references a profile, recordType scopes a record-page assignment, and content identifies the selected Lightning page. A matching assignment takes precedence over existing Home or record-page action overrides.
- Home assignments use
actionName=TabandpageOrSobjectType=standard-home.recordTypemust be absent. - Record-page assignments use
actionName=Viewand can distinguish profiles, record types, and form factors. - Profile-based Home assignments must also have an app assignment. Access these definitions through
CustomApplication, not as independentProfileActionOverridecomponents.
Duplicate profileActionOverrides can prevent admins from selecting or clearing both "Disable end user personalization of nav items in this app" in app settings and "Disable Navigation Bar Personalization in Lightning Experience" in User Interface settings.
Navigation and console sessions
The three Lightning navigation controls have different scopes:
-
isNavAutoTempTabsDisabledcontrols automatic temporary navigation tabs only for Lightning apps with Standard navigation. -
isNavPersonalizationDisableddisables navigation personalization for Lightning apps. -
isNavTabPersistenceDisabledapplies only to Lightning Console navigation.trueclears workspace tabs for each new console session;falseretains them.
In workspaceConfig.mappings, each tab identifies a navigation tab. Its fieldName specifies the primary tab under which records open as subtabs. Without fieldName, records open as primary tabs. These mappings work with both Classic and Lightning consoles.
subscriberTabs is narrower than tabs: it records tabs appended by a subscriber to a Lightning app installed from a managed package. Records opened through subscriber tabs always open as primary tabs.
Classic console requirements
Setting isServiceCloudConsole=true is not sufficient by itself. All AppPreferences fields are required, as are workspaceConfig and the console settings for keyboardShortcuts, listPlacement, detailPageRefreshMethod, and listRefreshMethod.
-
preferences.saveUserSessionsdetermines whether previously open tabs reappear after users log in again. -
consoleConfig.detailPageRefreshMethodacceptsnone,autoRefresh, orflag. -
consoleConfig.listRefreshMethodacceptsnone,refreshList, orrefreshListRows. -
listPlacement.locationacceptsfull,top, orleft. Supplyheightfortopandwidthforleft;unitsidentifies pixels or percentage. -
preferences.enableTabLimits=truerequiresconsoleConfig.tabLimitConfig.maxNumberOfPrimaryTabsaccepts the string values5,10,20, or30;maxNumberOfSubTabsaccepts5,10, or15.
Custom keyboard shortcuts require corresponding actions defined with addEventListener() in the Salesforce Console Integration Toolkit. They cannot invoke actions outside the console.
consoleConfig.pushNotifications uses objectName and fieldNames to identify changes that produce visual indicators on lists and detail pages during a session. These notifications do not enforce business rules.
Shared resources and displayed branding
A utility bar is a shared resource. Editing it through one associated app changes it for every app that uses the same utility bar. Salesforce recommends assigning a utility bar to only one Lightning app.
brand.shouldOverrideOrgTheme=true uses the app's configured color scheme and logo. When it is false, the global org theme applies even if app-specific branding is populated. Logo references can involve ContentAsset or Document components.
For apps associated with uiBundle, direct URL availability and App Launcher discoverability are separate concerns. The app association and the user's Assigned Apps settings can both matter, as described under Reported Issues.
Deployment and Retrieval
In Metadata API format, application files use the .app suffix in the applications folder. Salesforce DX source format uses .app-meta.xml.
Use CustomApplication in package.xml. The wildcard member * retrieves both custom and standard apps. To retrieve an individual component, specify its metadata name:
- Custom app:
MyCustomApp. - Standard app:
standard__Chatter. - Installed managed-package app:
myInstalledPackageNS__PackageApp.
Retrieving an app causes app-related entries to appear in any Profile and PermissionSet components retrieved in the same package. The chosen app scope therefore affects the security metadata returned alongside it. Retrieval does not itself assign the app to users.
ProfileActionOverrides are not supported in packaging. They are supported in change sets, but must be added manually.
Removing page assignments
The two override collections have different removal procedures. A Flexipage AppActionOverride assigned as App Default cannot be deleted through Metadata API. Remove that assignment through the page assignment wizard in Lightning App Builder.
A profileActionOverrides assignment cannot be removed through a destructive deployment. Reset it by deploying the containing app:
- Retrieve the app.
- Find the relevant
profileActionOverridesentry and remove itscontentelement. - Change that entry's
typetodefaultinstead offlexipage. - Deploy the app definition.
You can reset multiple profile assignments in one deployment. For a subsequent reset operation, perform a fresh retrieve rather than reusing an older app definition.
Missing references can belong to the destination org or to a referenced asset rather than the app file itself. Reported examples include unavailable standard apps in security metadata, logo assets without organization sharing, and profile references excluded during package creation.
Relationships
Application references connect navigation to tabs, page assignments to Lightning pages and profiles, and console behavior to fields and console components. Incoming references consume the app's identity; they do not make those components part of the app.
The content associations to Visualforce pages, Lightning bundles, and s-controls below come from the broader inherited override schema. They do not expand the documented app-level override types beyond Flexipage and Default.
References
-
ApexPage:components,pageNamesToOpen;contentin the broader inherited override schema. Console paths includeconsoleConfig.componentList.componentsandconsoleConfig.liveAgentConfig.pageNamesToOpen. -
CustomApplicationComponent:componentsunderconsoleConfig.componentList. -
FlexiPage:contentin page overrides;utilityBarby developer name. -
LightningBundle:contentin the broader inherited override schema. -
Scontrol:contentin the broader inherited override schema. -
CustomTab:defaultLandingTab,tabs,subscriberTabs,workspaceConfig.mappings.tab, and tab targets inpageOrSobjectType. -
CustomField:workspaceConfig.mappings.fieldNameandconsoleConfig.pushNotifications.fieldNames. -
ContentAsset:logo. -
Document:logo. -
CustomObject:pageOrSobjectTypeandconsoleConfig.pushNotifications.objectName. -
Profile:profileActionOverrides.profile. -
RecordType:profileActionOverrides.recordType. -
UIBundle:uiBundle, using its fully qualified name.
Referenced By
-
AppMenu:name. -
DataObjectSearchIndexConf:application. -
LightningBolt:name. -
MutingPermissionSet:application. -
PermissionSet:application. -
Prompt:customApplication,targetAppDeveloperName. -
Translations:name.
Documentation Inconsistencies
The official profile-assignment field tables and examples do not provide a single, consistent validation specification:
- The tables restrict
pageOrSobjectTypetorecord-homeandstandard-home, but examples use object API names such asWarehouse__c. - The tables require
recordTypeforView, but some examples omit it. - The tables mark
contentandtyperead-only, despite the documented deployment procedure that removescontentand changestypeto reset an assignment. - Examples serialize
Flexipage, while profile field descriptions and the reset procedure useflexipageanddefault.
A freshly retrieved assignment is important context when reconciling these definitions. The field table alone is not a complete specification for constructing or resetting an assignment.
Reported Issues
-
Expected page assignments may be missing because the wrong standard app was retrieved. A discussion updated in 2024 identified confusion between Classic and Lightning app names. The answer recommended checking Developer Name and App Type in App Manager, and identified Lightning Service Console as
standard__LightningService, not thestandard__ServiceConsoleused in the question. See the standard-app assignment retrieval discussion. -
A standard-app reference can fail because the destination org does not provide that app. An August 2024 report identified
standard__LightningInstrumentationas Lightning Usage App. The answer reported that it was unavailable in sandboxes but available in scratch orgs, and could not simply be installed where unavailable. Treat this as a reported org-type condition, not proof that a deployable custom app is missing. See the Lightning Usage App availability discussion. -
A successfully deployed logo asset may still fail app deployment because it lacks organization sharing. A 2019 report received "The image asset used for Logo isn't shared with the organization" even after deploying the
ContentAssetseparately. The accepted resolution addedrelationships.organization.accesswith valueVIEWERto the asset. That sharing configuration belongs toContentAsset, notCustomApplication. See the logo sharing deployment discussion. - A managed-package upgrade may retain an existing app label. A 2022 first-generation managed-package report found that changed labels appeared on new installations but not upgrades. The accepted explanation attributed this to subscriber editability: updating package source did not replace the existing subscriber presentation value. See the app label upgrade discussion.
- A managed-package upgrade may also retain the existing app logo. A separate 2020 discussion reported that changing the packaged logo did not replace the logo in an org that already had the package. The explanation likewise concerned subscriber-editable presentation. See the app logo upgrade discussion.
-
An app can load by direct URL but remain absent from the App Launcher. In a July-August 2026 React app discussion, one answer reported success after separately deploying a
CustomApplicationreferencing theuiBundle. Another reported success by adding the app under a permission set's Assigned Apps and assigning that permission set, even for a System Administrator user. These are reported remedies for that scenario, not a universal requirement for separate deployments. See the UI bundle launcher discussion. -
Profile references can be involved in an "invalid cross reference id" failure during unlocked-package creation. In a 2022-2023 discussion involving
profileActionOverrides, a respondent reported resolving the error either by no longer excluding profiles through.forceignoreor by removing the overrides. This reported diagnosis does not change the documented packaging restriction on profile action overrides. See the package cross-reference discussion. -
An erroneous standard-app visibility entry may repeatedly break permission set deployment. In a 2023 report, deployment failed on
standard__Work. The author reported that Salesforce Support attributed the entry to bugW-3848813, and that removing it from the permission set'sapplicationVisibilitiesresolved deployment. The author had to repeat that removal when committing the affected permission set through DevOps Center. See the standard__Work deployment discussion.
Common Questions
How do I retrieve standard Salesforce apps?
Use CustomApplication in package.xml with the standard__ prefix, such as standard__Chatter. The wildcard * retrieves custom and standard apps. Check Developer Name and App Type in App Manager when Classic and Lightning app labels are similar.
Why did deploying a FlexiPage not activate it for my app?
The page definition and app-specific activation assignments are separate. App-level and profile-specific assignments are stored in CustomApplication.actionOverrides and CustomApplication.profileActionOverrides.
How do I remove a profile-specific Lightning page assignment?
Retrieve the app, remove content from the relevant profileActionOverrides entry, set its type to default, and deploy the app. A destructive deployment does not remove it. App Default assignments in actionOverrides instead require the Lightning App Builder assignment wizard.
Can I convert an app by changing uiType or navType?
No. Both fields are not updateable. Setting formFactors=Large can make a Classic app visible in Lightning Experience desktop, but it does not change the app's uiType.
Why is my UI bundle app missing from the App Launcher?
Direct URL access does not establish launcher discoverability. Check the CustomApplication.uiBundle association and the user's app assignments. Community reports describe resolutions through that association or a permission set's Assigned Apps and assignment to the user.