Skip to main content

2 posts tagged with "Lightning Pages & Layouts"

Page layouts, FlexiPages, and Lightning page assignments

View All Tags

Deploy FlexiPage Assignments in Salesforce: What Moves Between Orgs (and What Doesn't)

· 7 min read
Alina Hubaidullina
Salesforce Consultant

You build a Lightning page — a FlexiPage — assign it as the record page for an object, deploy it to the next org, and it doesn't show up. The page is there; the assignment isn't. Or you try to move the assignment and the deploy hard-fails instead. The behavior looks random until you see the cause: Salesforce stores a Lightning page assignment separately from the page, across two different metadata types depending on how the page is scoped. Nearly every assignment does deploy through the Metadata API — org defaults on the object, app/profile/record-type activations on the Custom App — as long as you deploy it from the right container; the one exception is a record-type-specific assignment with no app or profile, which has no metadata field to carry it.

Fix the FlexiPage 'Component Instance Doesn't Have an Identifier' Deploy Error

· 5 min read
Alina Hubaidullina
Salesforce Consultant

You deploy a Lightning record page that's worked for months, and the target org rejects it:

The 'component_xxx' component instance doesn't have an identifier specified.

Same FlexiPage, same components. It saves fine in the source org's Lightning App Builder — but the moment you push the retrieved XML to another org, the deploy fails. The cause is the API version the page was retrieved at: component identifiers became required from API v53.0 (Winter '22) on, so a FlexiPage pulled at an older version simply comes down without them, and a newer org rejects it on arrival.