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.4---5
6## When to Use This Skill
7
8Use this skill when you need to:
9- Create Lightning applications
10- Organize tabs and features into focused apps
11- Configure application navigation and branding
12- Set up custom page layouts for objects
13- Troubleshoot deployment errors related to custom applications
14# CustomApplication (Lightning App) Metadata Specification
15
16## Overview
17
18Custom applications (Lightning Apps) that group tabs and functionality to provide a focused user experience for specific business processes. Always configured for Lightning Experience.
19
20## Purpose
21- Organize related functionality into focused applications
22- Group tabs and components for specific user roles
23- Provide tailored user experiences
24- Control access to specific features and data
25- Use Standard navigation for general business applications or Console navigation for specialized service/support workflows requiring multi-tab workspaces
26- Create professional, branded application identity with custom colors and branding
27- Override standard actions with custom Lightning pages for enhanced user experience
28- Enable profile-specific experiences through profile action overrides
29
30## Required Properties
31
32### Core Application Properties
33- **fullName**: API name of the application
34- **label**: Display name of the application
35- **uiType**: Always "Lightning" for modern apps
36- **navType**: CRITICAL - Choose based on user requirements and workflow patterns
37 - "Standard": DEFAULT for general business applications (e.g., sales, marketing, operations)
38 - "Console": ONLY when workflow requires managing multiple records simultaneously with split-view or multi-tab workspace (e.g., customer service, call centers, support operations)
39- **formFactors**: Array of form factors (["LARGE"] for desktop, ["SMALL"] for mobile, or both)
40
41### Optional Properties
42- **description**: Brief description of the application's purpose
43- **tabs**: Array of tab names to include
44- **utilityBar**: API name of the Utility Bar configuration
45- **brand**: HIGHLY RECOMMENDED - Branding configuration object (headerColor, shouldOverrideOrgTheme, footerColor)
46- **actionOverrides**: REQUIRED when custom record pages exist - Action override configuration (actionName, content, formFactor, type, pageOrSobjectType)
47- **profileActionOverrides**: Profile-specific action overrides (actionName, content, formFactor, pageOrSobjectType, type, profile)
48- **isNavAutoTempTabsDisabled**: Navigation behavior setting (default: false)
49- **isNavPersonalizationDisabled**: Personalization setting (default: false)
50- **isNavTabPersistenceDisabled**: Tab persistence setting (default: false)
51
52## Application Configuration
53
54### Navigation Type Selection (CRITICAL)
55**Decision Criteria for navType:**
56
57**Choose "Standard" (DEFAULT) for:**
58- General business applications and most workflows
59- Single-record focus or linear navigation patterns
60- Standard tab-based navigation is sufficient
61
62**Choose "Console" ONLY when workflow requires:**
63- Managing multiple related records simultaneously in split-view
64- Multi-tab workspace for handling complex, interconnected data
65- Contextual information from multiple sources visible at once
66- Examples: customer service operations, support desks, call centers
67
68**When in doubt:** Default to "Standard" for most general business use cases
69
70### Navigation Settings
71- **isNavAutoTempTabsDisabled**: Controls automatic temporary tab creation
72- **isNavPersonalizationDisabled**: Controls user personalization features
73- **isNavTabPersistenceDisabled**: Controls tab persistence across sessions
74
75### Tab Management
76- **tabs**: Array of tab names to include in the application
77- **formFactors**: Device-specific configurations (Large for desktop, Small for mobile)
78
79### Utility Bar
80- **utilityBar**: Reference to Lightning utility bar (appears at bottom of Lightning Experience)
81
82### Branding (HIGHLY RECOMMENDED - DO NOT SKIP)
83**IMPORTANT**: Provide branding configuration to create a professional, visually distinct application identity.
84
85- **brand.headerColor**: Header bar color in hex format (e.g., "#0070D2") - RECOMMENDED
86- **brand.shouldOverrideOrgTheme**: Override organization theme (true/false) - Default: false
87- **brand.footerColor**: Footer color in hex format
88
89### Action Overrides (CRITICAL - DO NOT SKIP)
90**IMPORTANT**: Action overrides MUST be created for every custom object tab that has a record page generated by flexipage expert.
91
92- **actionOverrides.actionName**: Action to override ("View" or "Tab")
93- **actionOverrides.content**: Page/component name (FlexiPage, Visualforce, Lightning component)
94 - For "View" action: Reference record pages generated by flexipage expert
95 - For "Tab" action: Reference home/app pages generated by flexipage expert
96- **actionOverrides.formFactor**: Device type ("Large" or "Small")
97- **actionOverrides.type**: Override type ("Default", "Visualforce", "Flexipage", "LightningComponent", "Scontrol")
98 - Recommended: Use "Flexipage" for Lightning record/home pages generated by flexipage expert
99- **actionOverrides.pageOrSobjectType**: Object API name the override applies to
100- **actionOverrides.comment**: Optional description (max 1000 characters)
101 - Auto-generated comment: "Action override created by Lightning App Builder during activation."
102- **actionOverrides.skipRecordTypeSelect**: Skip record type selection (default: false)
103
104### Profile Action Overrides
105- **profileActionOverrides.actionName**: Action to override ("View" or "Tab")
106- **profileActionOverrides.content**: Page/component name
107 - For "View" action: Reference profile-specific record pages generated by flexipage expert
108 - For "Tab" action: Reference profile-specific home pages generated by flexipage expert
109 - Can reference same or different FlexiPages than actionOverrides for profile-specific experiences
110- **profileActionOverrides.formFactor**: Device type ("Large" or "Small")
111- **profileActionOverrides.pageOrSobjectType**: Object API name
112- **profileActionOverrides.type**: Override type
113 - Recommended: Use "Flexipage" for Lightning pages generated by flexipage expert
114- **profileActionOverrides.profile**: Profile API name (e.g., "Admin", "Standard User")
115 - Enables different page layouts for different user profiles
116
117## Device Support
118
119### Desktop Configuration
120- **formFactor**: "Large"
121- **tabs**: Full list of application tabs
122
123### Phone Configuration
124- **formFactor**: "Small"
125- **tabs**: Mobile-optimized tab selection
126
127### Tablet Configuration
128- **formFactor**: "Medium"
129- **tabs**: Tablet-appropriate tab selection
130
131## User Experience Features
132
133### Navigation Behavior
134- **Auto Temporary Tabs**: Can be enabled/disabled
135- **Personalization**: User customization options
136- **Tab Persistence**: Remember user's tab selections
137
138### Accessibility
139- **Keyboard Navigation**: Full keyboard support
140- **Screen Reader**: Compatible with assistive technologies
141- **High Contrast**: Support for high contrast modes
142
143## Integration Points
144- **Custom Tabs**: Include custom object and web tabs
145- **Standard Tabs**: Include standard Salesforce tabs
146- **Lightning Pages**: Integrate with Lightning page layouts
147- **Components**: Include custom Lightning components
148## Best Practices
149- **Always use Lightning UI**: Set `uiType` to "Lightning" for modern apps
150- **Choose appropriate navigation**: CRITICAL - Analyze requirements carefully for `navType` selection
151 - Use "Standard" (DEFAULT) for general business applications
152 - Use "Console" ONLY when workflow requires multi-tab workspace, split-view, or managing multiple related records simultaneously
153 - Examples for Console: customer service, call centers, support operations
154 - Default to "Standard" for most general business use cases
155- **Include Standard Tabs**: Add common Salesforce tabs (Home, Accounts, Contacts, etc.)
156- **Use clear, descriptive application names**
157- **Group related functionality logically**
158- **Consider different user roles and needs**
159- **Test across different device types**
160- **Ensure proper permissions and access control**
161- **Provide meaningful descriptions for users**
162- **Follow consistent naming conventions**
163- **Always configure branding**: Set headerColor to create professional application identity
164- **Use accessible brand colors**: Ensure hex colors have sufficient contrast (WCAG AA compliant)
165- **Configure utility bars**: Add useful quick-access tools for users
166- **Leverage action overrides**: Customize page layouts for specific objects using FlexiPages from flexipage expert
167- **Use profile overrides**: Provide role-specific experiences by referencing different flexipage expert generated pages per profile
168
169## Enhancement Rules
170- **uiType**: Always set to "Lightning" for modern app experience
171- **navType**: CRITICAL DECISION - Analyze user requirements carefully
172 - Set to "Standard" (DEFAULT) for general business applications
173 - Set to "Console" ONLY when workflow requires:
174 - Managing multiple related records simultaneously with split-view capability
175 - Multi-tab workspace for handling complex, interconnected data
176 - Contextual information from multiple sources visible at once
177 - Console examples: customer service operations, call centers, support desks
178 - When in doubt between Standard and Console, choose "Standard" for most business use cases
179- **formFactors**: Always set to ["LARGE"] for desktop Lightning Experience
180- **Standard Tabs**: Automatically add Home, Accounts, Contacts, Opportunities, Leads, Cases
181- **Navigation Settings**: Set all navigation flags to false for best user experience
182- **Branding**: ALWAYS include brand configuration for professional application identity
183 - MANDATORY: Set brand.headerColor to appropriate color (e.g., "#0070D2" for Salesforce Blue)
184 - Set brand.shouldOverrideOrgTheme based on requirements
185- **Action Overrides**: ALWAYS create action overrides when custom record pages exist
186 - MANDATORY: Add actionOverrides for "View" action pointing to flexipage expert generated record pages
187 - Use "Flexipage" type and reference the exact FlexiPage name
188 - Set formFactor to "Large" for desktop
189 - Include pageOrSobjectType with the object API name
190- **Profile Action Overrides**: Reference flexipage expert generated pages for role-based customization
191- **Form Factors**: Use "Large" for desktop, "Small" for mobile in overrides
192
193## CRITICAL Verification Checklist (MUST VERIFY)
194- [ ] All tabs are included in the application
195- [ ] **navType IS CORRECTLY SET** - Verify Console vs Standard selection
196- [ ] Default to "Standard" for most general business applications
197- [ ] Set to "Console" ONLY if workflow requires managing multiple records simultaneously, split-view, or multi-tab workspace
198- [ ] If requirements are general/ambiguous → navType should be "Standard"
199- [ ] **BRANDING IS CONFIGURED** - This is HIGHLY RECOMMENDED for professional applications
200- [ ] brand.headerColor is set with valid hex color (e.g., "#0070D2")
201- [ ] brand.shouldOverrideOrgTheme is set (default: false)
202- [ ] **ACTION OVERRIDES ARE CREATED** - This is MANDATORY for every custom object with a record page
203- [ ] Action overrides are defined for EACH custom object tab pointing to the correct record page
204- [ ] actionOverrides.content matches the exact FlexiPage name generated by flexipage expert
205- [ ] actionOverrides.pageOrSobjectType is set to the correct object API name
206- [ ] actionOverrides.type is set to "Flexipage"
207- [ ] actionOverrides.actionName is set to "View"
208- [ ] actionOverrides.formFactor is set to "Large"
209- [ ] All required fields are populated (fullName, label, uiType, navType, formFactors)