Skip to content

Lightning page region not used

Detection

  • RegExp: Error (.*) The facet (\S+) is defined by a component in the FlexiPage but not actually used
  • RegExp: Error (.*) Facet (\S+) is not used anywhere in the Lightning page definition

Examples

  • Error Account_Record_Page The facet Facet-1a2b3c is defined by a component in the FlexiPage but not actually used

Resolution

Lightning page {1} holds region {2} that no component uses anymore, often after a merge.
- Remove the <flexiPageRegions> block named {2} from {1}, or put it back in the component property that used it
- Or open {1} in Lightning App Builder in your org, save it, retrieve it again with the Metadata Retriever of VS Code, and commit it

Comments