Lightning migration moves an org's users from Salesforce Classic to Lightning Experience. Many orgs completed the switch long ago, but plenty still have users who switch back to Classic, pages built in Visualforce, JavaScript buttons, and page layouts designed for the Classic interface. Finishing the migration means finding what still depends on Classic, rebuilding or replacing those pieces, and making sure each user sees the right Lightning pages.
What Holds a Migration Back
- JavaScript buttons and links, which Lightning Experience does not support.
- Visualforce pages and overrides that need testing or replacement in Lightning.
- Classic-only features such as older portals and s-controls.
- Layouts and page assignments that were never designed for Lightning record pages.
- User habits, such as users switching back to Classic for specific tasks.
How to Approach the Migration
- Assess readiness. Inventory Visualforce pages, overrides, buttons, and Classic apps, and run Salesforce's Lightning Experience Readiness Check.
- Replace incompatible features, such as JavaScript buttons with quick actions or flows.
- Design Lightning record pages and assign them by app, profile, and record type.
- Review page layouts and fields shown on Lightning pages.
- Roll out by group and remove the option to switch back to Classic when users are ready.
How Snapshot Helps
- Lightning Security Report: traces action overrides to explain which page opens for each app, profile, and record type, connecting Visualforce, Lightning, or Flexipage content with org defaults, app defaults, and assignments. Summary matrices compare desktop and mobile assignments, and the Editing Palette adds, edits, duplicates, or removes assignments for deployment.
- Fields Vs Page Layouts Report: shows which layouts and dynamic Lightning pages include each field and with which setting.
- Forgotten Assets Report: finds unassigned layouts and apps that no profile or permission set can see.
Results describe configured page selection, not page usage or user behavior.
Metadata Types Involved
-
FlexiPage: Lightning record, app, and Home pages. -
Layout: page layouts used inside Lightning record pages. -
CustomApplication: Lightning apps and their page assignments; theuiTypeof an app cannot be changed in place. -
ApexPage: Visualforce pages that may need testing or replacement.
Common Questions
Do JavaScript buttons work in Lightning Experience?
No. Replace JavaScript buttons with quick actions, flows, or Lightning components.
Can a Classic app be converted into a Lightning app?
Not by changing the app type in place. Create a Lightning app, or upgrade the app through Setup, and reassign the app's pages and navigation items.
Why does a user see a different Lightning page than other users?
Lightning record pages can be assigned by app, profile, record type, and form factor. Trace the assignments for that user's combination.