When to Use This Skill
Use this skill when you need to:
- Create Lightning applications
- Organize tabs and features into focused apps
- Configure application navigation and branding
- Set up custom page layouts for objects
- Troubleshoot deployment errors related to custom applications
CustomApplication (Lightning App) Metadata Specification
Overview
Custom applications (Lightning Apps) that group tabs and functionality to provide a focused user experience for specific business processes. Always configured for Lightning Experience.
Purpose
- Organize related functionality into focused applications
- Group tabs and components for specific user roles
- Provide tailored user experiences
- Control access to specific features and data
- Use Standard navigation for general business applications or Console navigation for specialized service/support workflows requiring multi-tab workspaces
- Create professional, branded application identity with custom colors and branding
- Override standard actions with custom Lightning pages for enhanced user experience
- Enable profile-specific experiences through profile action overrides
Required Properties
Core Application Properties
- fullName: API name of the application
- label: Display name of the application
- uiType: Always "Lightning" for modern apps
- navType: CRITICAL - Choose based on user requirements and workflow patterns
- "Standard": DEFAULT for general business applications (e.g., sales, marketing, operations)
- "Console": ONLY when workflow requires managing multiple records simultaneously with split-view or multi-tab workspace (e.g., customer service, call centers, support operations)
- formFactors: Array of form factors (["LARGE"] for desktop, ["SMALL"] for mobile, or both)
Optional Properties
- description: Brief description of the application's purpose
- tabs: Array of tab names to include
- utilityBar: API name of the Utility Bar configuration
- brand: ⚠️ HIGHLY RECOMMENDED - Branding configuration object (headerColor, shouldOverrideOrgTheme, footerColor)
- actionOverrides: ⚠️ REQUIRED when custom record pages exist - Action override configuration (actionName, content, formFactor, type, pageOrSobjectType)
- profileActionOverrides: Profile-specific action overrides (actionName, content, formFactor, pageOrSobjectType, type, profile)
- isNavAutoTempTabsDisabled: Navigation behavior setting (default: false)
- isNavPersonalizationDisabled: Personalization setting (default: false)
- isNavTabPersistenceDisabled: Tab persistence setting (default: false)
Application Configuration
Navigation Type Selection (CRITICAL)
Decision Criteria for navType:
Choose "Standard" (DEFAULT) for:
- General business applications and most workflows
- Single-record focus or linear navigation patterns
- Standard tab-based navigation is sufficient
Choose "Console" ONLY when workflow requires:
- Managing multiple related records simultaneously in split-view
- Multi-tab workspace for handling complex, interconnected data
- Contextual information from multiple sources visible at once
- Examples: customer service operations, support desks, call centers
When in doubt: Default to "Standard" for most general business use cases
Navigation Settings
- isNavAutoTempTabsDisabled: Controls automatic temporary tab creation
- isNavPersonalizationDisabled: Controls user personalization features
- isNavTabPersistenceDisabled: Controls tab persistence across sessions
Tab Management
- tabs: Array of tab names to include in the application
- formFactors: Device-specific configurations (Large for desktop, Small for mobile)
Utility Bar
- utilityBar: Reference to Lightning utility bar (appears at bottom of Lightning Experience)
Branding (HIGHLY RECOMMENDED - DO NOT SKIP)
IMPORTANT: Provide branding configuration to create a professional, visually distinct application identity.
- brand.headerColor: Header bar color in hex format (e.g., "#0070D2") - RECOMMENDED
- brand.shouldOverrideOrgTheme: Override organization theme (true/false) - Default: false
- brand.footerColor: Footer color in hex format
Action Overrides (CRITICAL - DO NOT SKIP)
IMPORTANT: Action overrides MUST be created for every custom object tab that has a record page generated by flexipage expert.
- actionOverrides.actionName: Action to override ("View" or "Tab")
- actionOverrides.content: Page/component name (FlexiPage, Visualforce, Lightning component)
- For "View" action: Reference record pages generated by flexipage expert
- For "Tab" action: Reference home/app pages generated by flexipage expert
- actionOverrides.formFactor: Device type ("Large" or "Small")
- actionOverrides.type: Override type ("Default", "Visualforce", "Flexipage", "LightningComponent", "Scontrol")
- Recommended: Use "Flexipage" for Lightning record/home pages generated by flexipage expert
- actionOverrides.pageOrSobjectType: Object API name the override applies to
- actionOverrides.comment: Optional description (max 1000 characters)
- Auto-generated comment: "Action override created by Lightning App Builder during activation."
- actionOverrides.skipRecordTypeSelect: Skip record type selection (default: false)
Profile Action Overrides
- profileActionOverrides.actionName: Action to override ("View" or "Tab")
- profileActionOverrides.content: Page/component name
- For "View" action: Reference profile-specific record pages generated by flexipage expert
- For "Tab" action: Reference profile-specific home pages generated by flexipage expert
- Can reference same or different FlexiPages than actionOverrides for profile-specific experiences
- profileActionOverrides.formFactor: Device type ("Large" or "Small")
- profileActionOverrides.pageOrSobjectType: Object API name
- profileActionOverrides.type: Override type
- Recommended: Use "Flexipage" for Lightning pages generated by flexipage expert
- profileActionOverrides.profile: Profile API name (e.g., "Admin", "Standard User")
- Enables different page layouts for different user profiles
Device Support
Desktop Configuration
- formFactor: "Large"
- tabs: Full list of application tabs
Phone Configuration
- formFactor: "Small"
- tabs: Mobile-optimized tab selection
Tablet Configuration
- formFactor: "Medium"
- tabs: Tablet-appropriate tab selection
User Experience Features
Navigation Behavior
- Auto Temporary Tabs: Can be enabled/disabled
- Personalization: User customization options
- Tab Persistence: Remember user's tab selections
Accessibility
- Keyboard Navigation: Full keyboard support
- Screen Reader: Compatible with assistive technologies
- High Contrast: Support for high contrast modes
Integration Points
- Custom Tabs: Include custom object and web tabs
- Standard Tabs: Include standard Salesforce tabs
- Lightning Pages: Integrate with Lightning page layouts
- Components: Include custom Lightning components
Best Practices
- Always use Lightning UI: Set
uiType to "Lightning" for modern apps
- Choose appropriate navigation: CRITICAL - Analyze requirements carefully for
navType selection
- Use "Standard" (DEFAULT) for general business applications
- Use "Console" ONLY when workflow requires multi-tab workspace, split-view, or managing multiple related records simultaneously
- Examples for Console: customer service, call centers, support operations
- Default to "Standard" for most general business use cases
- Include Standard Tabs: Add common Salesforce tabs (Home, Accounts, Contacts, etc.)
- Use clear, descriptive application names
- Group related functionality logically
- Consider different user roles and needs
- Test across different device types
- Ensure proper permissions and access control
- Provide meaningful descriptions for users
- Follow consistent naming conventions
- Always configure branding: Set headerColor to create professional application identity
- Use accessible brand colors: Ensure hex colors have sufficient contrast (WCAG AA compliant)
- Configure utility bars: Add useful quick-access tools for users
- Leverage action overrides: Customize page layouts for specific objects using FlexiPages from flexipage expert
- Use profile overrides: Provide role-specific experiences by referencing different flexipage expert generated pages per profile
Enhancement Rules
- uiType: Always set to "Lightning" for modern app experience
- navType: CRITICAL DECISION - Analyze user requirements carefully
- Set to "Standard" (DEFAULT) for general business applications
- Set to "Console" ONLY when workflow requires:
- Managing multiple related records simultaneously with split-view capability
- Multi-tab workspace for handling complex, interconnected data
- Contextual information from multiple sources visible at once
- Console examples: customer service operations, call centers, support desks
- When in doubt between Standard and Console, choose "Standard" for most business use cases
- formFactors: Always set to ["LARGE"] for desktop Lightning Experience
- Standard Tabs: Automatically add Home, Accounts, Contacts, Opportunities, Leads, Cases
- Navigation Settings: Set all navigation flags to false for best user experience
- Branding: ALWAYS include brand configuration for professional application identity
- MANDATORY: Set brand.headerColor to appropriate color (e.g., "#0070D2" for Salesforce Blue)
- Set brand.shouldOverrideOrgTheme based on requirements
- Action Overrides: ALWAYS create action overrides when custom record pages exist
- MANDATORY: Add actionOverrides for "View" action pointing to flexipage expert generated record pages
- Use "Flexipage" type and reference the exact FlexiPage name
- Set formFactor to "Large" for desktop
- Include pageOrSobjectType with the object API name
- Profile Action Overrides: Reference flexipage expert generated pages for role-based customization
- Form Factors: Use "Large" for desktop, "Small" for mobile in overrides
CRITICAL Verification Checklist (MUST VERIFY)
1---2name: platform-custom-application-generate3description: "Use this skill when users need to create or configure tab-based Salesforce Custom Applications with navigation, branding, and action overrides. Trigger when users mention custom apps, application metadata, app navigation, or organizing tabs into applications. Use when users want to create app containers for tabs and pages. Do NOT use when the goal is hosting a React UI bundle in the App Launcher — use experience-ui-bundle-custom-app-generate for that case."4metadata:5 source: https://skillmd.com/skills/om-scogo/platform-custom-application-generate6 version: "1.0"7---89## When to Use This Skill1011Use this skill when you need to:12- Create Lightning applications13- Organize tabs and features into focused apps14- Configure application navigation and branding15- Set up custom page layouts for objects16- Troubleshoot deployment errors related to custom applications17# CustomApplication (Lightning App) Metadata Specification1819## Overview2021Custom applications (Lightning Apps) that group tabs and functionality to provide a focused user experience for specific business processes. Always configured for Lightning Experience.2223## Purpose24- Organize related functionality into focused applications25- Group tabs and components for specific user roles26- Provide tailored user experiences27- Control access to specific features and data28- Use Standard navigation for general business applications or Console navigation for specialized service/support workflows requiring multi-tab workspaces29- Create professional, branded application identity with custom colors and branding30- Override standard actions with custom Lightning pages for enhanced user experience31- Enable profile-specific experiences through profile action overrides3233## Required Properties3435### Core Application Properties36- **fullName**: API name of the application37- **label**: Display name of the application38- **uiType**: Always "Lightning" for modern apps39- **navType**: CRITICAL - Choose based on user requirements and workflow patterns40 - "Standard": DEFAULT for general business applications (e.g., sales, marketing, operations)41 - "Console": ONLY when workflow requires managing multiple records simultaneously with split-view or multi-tab workspace (e.g., customer service, call centers, support operations)42- **formFactors**: Array of form factors (["LARGE"] for desktop, ["SMALL"] for mobile, or both)4344### Optional Properties45- **description**: Brief description of the application's purpose46- **tabs**: Array of tab names to include47- **utilityBar**: API name of the Utility Bar configuration48- **brand**: ⚠️ HIGHLY RECOMMENDED - Branding configuration object (headerColor, shouldOverrideOrgTheme, footerColor)49- **actionOverrides**: ⚠️ REQUIRED when custom record pages exist - Action override configuration (actionName, content, formFactor, type, pageOrSobjectType)50- **profileActionOverrides**: Profile-specific action overrides (actionName, content, formFactor, pageOrSobjectType, type, profile)51- **isNavAutoTempTabsDisabled**: Navigation behavior setting (default: false)52- **isNavPersonalizationDisabled**: Personalization setting (default: false)53- **isNavTabPersistenceDisabled**: Tab persistence setting (default: false)5455## Application Configuration5657### Navigation Type Selection (CRITICAL)58**Decision Criteria for navType:**5960**Choose "Standard" (DEFAULT) for:**61- General business applications and most workflows62- Single-record focus or linear navigation patterns63- Standard tab-based navigation is sufficient6465**Choose "Console" ONLY when workflow requires:**66- Managing multiple related records simultaneously in split-view67- Multi-tab workspace for handling complex, interconnected data68- Contextual information from multiple sources visible at once69- Examples: customer service operations, support desks, call centers7071**When in doubt:** Default to "Standard" for most general business use cases7273### Navigation Settings74- **isNavAutoTempTabsDisabled**: Controls automatic temporary tab creation75- **isNavPersonalizationDisabled**: Controls user personalization features76- **isNavTabPersistenceDisabled**: Controls tab persistence across sessions7778### Tab Management79- **tabs**: Array of tab names to include in the application80- **formFactors**: Device-specific configurations (Large for desktop, Small for mobile)8182### Utility Bar83- **utilityBar**: Reference to Lightning utility bar (appears at bottom of Lightning Experience)8485### Branding (HIGHLY RECOMMENDED - DO NOT SKIP)86**IMPORTANT**: Provide branding configuration to create a professional, visually distinct application identity.8788- **brand.headerColor**: Header bar color in hex format (e.g., "#0070D2") - RECOMMENDED89- **brand.shouldOverrideOrgTheme**: Override organization theme (true/false) - Default: false90- **brand.footerColor**: Footer color in hex format9192### Action Overrides (CRITICAL - DO NOT SKIP)93**IMPORTANT**: Action overrides MUST be created for every custom object tab that has a record page generated by flexipage expert.9495- **actionOverrides.actionName**: Action to override ("View" or "Tab")96- **actionOverrides.content**: Page/component name (FlexiPage, Visualforce, Lightning component)97 - For "View" action: Reference record pages generated by flexipage expert98 - For "Tab" action: Reference home/app pages generated by flexipage expert99- **actionOverrides.formFactor**: Device type ("Large" or "Small")100- **actionOverrides.type**: Override type ("Default", "Visualforce", "Flexipage", "LightningComponent", "Scontrol")101 - Recommended: Use "Flexipage" for Lightning record/home pages generated by flexipage expert102- **actionOverrides.pageOrSobjectType**: Object API name the override applies to103- **actionOverrides.comment**: Optional description (max 1000 characters)104 - Auto-generated comment: "Action override created by Lightning App Builder during activation."105- **actionOverrides.skipRecordTypeSelect**: Skip record type selection (default: false)106107### Profile Action Overrides108- **profileActionOverrides.actionName**: Action to override ("View" or "Tab")109- **profileActionOverrides.content**: Page/component name110 - For "View" action: Reference profile-specific record pages generated by flexipage expert111 - For "Tab" action: Reference profile-specific home pages generated by flexipage expert112 - Can reference same or different FlexiPages than actionOverrides for profile-specific experiences113- **profileActionOverrides.formFactor**: Device type ("Large" or "Small")114- **profileActionOverrides.pageOrSobjectType**: Object API name115- **profileActionOverrides.type**: Override type116 - Recommended: Use "Flexipage" for Lightning pages generated by flexipage expert117- **profileActionOverrides.profile**: Profile API name (e.g., "Admin", "Standard User")118 - Enables different page layouts for different user profiles119120## Device Support121122### Desktop Configuration123- **formFactor**: "Large"124- **tabs**: Full list of application tabs125126### Phone Configuration127- **formFactor**: "Small"128- **tabs**: Mobile-optimized tab selection129130### Tablet Configuration131- **formFactor**: "Medium"132- **tabs**: Tablet-appropriate tab selection133134## User Experience Features135136### Navigation Behavior137- **Auto Temporary Tabs**: Can be enabled/disabled138- **Personalization**: User customization options139- **Tab Persistence**: Remember user's tab selections140141### Accessibility142- **Keyboard Navigation**: Full keyboard support143- **Screen Reader**: Compatible with assistive technologies144- **High Contrast**: Support for high contrast modes145146## Integration Points147- **Custom Tabs**: Include custom object and web tabs148- **Standard Tabs**: Include standard Salesforce tabs149- **Lightning Pages**: Integrate with Lightning page layouts150- **Components**: Include custom Lightning components151## Best Practices152- **Always use Lightning UI**: Set `uiType` to "Lightning" for modern apps153- **Choose appropriate navigation**: CRITICAL - Analyze requirements carefully for `navType` selection154 - Use "Standard" (DEFAULT) for general business applications155 - Use "Console" ONLY when workflow requires multi-tab workspace, split-view, or managing multiple related records simultaneously156 - Examples for Console: customer service, call centers, support operations157 - Default to "Standard" for most general business use cases158- **Include Standard Tabs**: Add common Salesforce tabs (Home, Accounts, Contacts, etc.)159- **Use clear, descriptive application names**160- **Group related functionality logically**161- **Consider different user roles and needs**162- **Test across different device types**163- **Ensure proper permissions and access control**164- **Provide meaningful descriptions for users**165- **Follow consistent naming conventions**166- **Always configure branding**: Set headerColor to create professional application identity167- **Use accessible brand colors**: Ensure hex colors have sufficient contrast (WCAG AA compliant)168- **Configure utility bars**: Add useful quick-access tools for users169- **Leverage action overrides**: Customize page layouts for specific objects using FlexiPages from flexipage expert170- **Use profile overrides**: Provide role-specific experiences by referencing different flexipage expert generated pages per profile171172## Enhancement Rules173- **uiType**: Always set to "Lightning" for modern app experience174- **navType**: CRITICAL DECISION - Analyze user requirements carefully175 - Set to "Standard" (DEFAULT) for general business applications176 - Set to "Console" ONLY when workflow requires:177 - Managing multiple related records simultaneously with split-view capability178 - Multi-tab workspace for handling complex, interconnected data179 - Contextual information from multiple sources visible at once180 - Console examples: customer service operations, call centers, support desks181 - When in doubt between Standard and Console, choose "Standard" for most business use cases182- **formFactors**: Always set to ["LARGE"] for desktop Lightning Experience183- **Standard Tabs**: Automatically add Home, Accounts, Contacts, Opportunities, Leads, Cases184- **Navigation Settings**: Set all navigation flags to false for best user experience185- **Branding**: ALWAYS include brand configuration for professional application identity186 - MANDATORY: Set brand.headerColor to appropriate color (e.g., "#0070D2" for Salesforce Blue)187 - Set brand.shouldOverrideOrgTheme based on requirements188- **Action Overrides**: ALWAYS create action overrides when custom record pages exist189 - MANDATORY: Add actionOverrides for "View" action pointing to flexipage expert generated record pages190 - Use "Flexipage" type and reference the exact FlexiPage name191 - Set formFactor to "Large" for desktop192 - Include pageOrSobjectType with the object API name193- **Profile Action Overrides**: Reference flexipage expert generated pages for role-based customization194- **Form Factors**: Use "Large" for desktop, "Small" for mobile in overrides195196## CRITICAL Verification Checklist (MUST VERIFY)197- [ ] All tabs are included in the application198- [ ] **navType IS CORRECTLY SET** - Verify Console vs Standard selection199- [ ] Default to "Standard" for most general business applications200- [ ] Set to "Console" ONLY if workflow requires managing multiple records simultaneously, split-view, or multi-tab workspace201- [ ] If requirements are general/ambiguous → navType should be "Standard"202- [ ] **BRANDING IS CONFIGURED** - This is HIGHLY RECOMMENDED for professional applications203- [ ] brand.headerColor is set with valid hex color (e.g., "#0070D2")204- [ ] brand.shouldOverrideOrgTheme is set (default: false)205- [ ] **ACTION OVERRIDES ARE CREATED** - This is MANDATORY for every custom object with a record page206- [ ] Action overrides are defined for EACH custom object tab pointing to the correct record page207- [ ] actionOverrides.content matches the exact FlexiPage name generated by flexipage expert208- [ ] actionOverrides.pageOrSobjectType is set to the correct object API name209- [ ] actionOverrides.type is set to "Flexipage"210- [ ] actionOverrides.actionName is set to "View"211- [ ] actionOverrides.formFactor is set to "Large"212- [ ] All required fields are populated (fullName, label, uiType, navType, formFactors)