troubleshoot-lwc
troubleshoot-lwc copied to clipboard
Deployment (of the flexipages) fails for API-version 53.0
Hi,
with the current version of sfdx the sourceApiVersion in sfdx-project.json is set to "53.0" (Winter'22).
This breaks deployment since the newly introduced required attribute componentInstance.identifier
(https://developer.salesforce.com/docs/atlas.en-us.234.0.api_meta.meta/api_meta/meta_flexipage.htm#ComponentInstance)
is missing.
That seems to be a breaking API-update (without backward compatibility) - rather unusual for Salesforce ...
Possible Workarounds:
- set
"sourceApiVersion": "52.0"insfdx-project.json, - or add an
identifiertag for the componentInstance in all .flexipage-meta.xml files (which would break deployment with API < 53).
BTW: Thanks for the Trailhead-module!