I am trying to deploy a flexipage to a newly created sandbox org and I am getting the following error
Property 'componentInstances' not valid in version 49.0
I have read the following links but still have questions
- Property 'enableLicensing' not valid in version 44.0
- Metadata Deploy and Push fails on Flexipage componentInstances in API 49 (Summer 20)
I don't know the org version right now but I am using version 48.0
in my package.xml
for deploying all my components and have never got a version 49.0
error.
My question is that even if I assume the new sandbox org is version 49.0. But why is it giving this error when I am using version 48.0 specifically in my package.xml ?
What is the use of mentioning version number in package.xml then if it still looks at the org version ?
Thanks
sourceApiVersion
on thesfdx-project.json
file assuming you're using VS Code (tagged as salesforcedx)?sourceApiVersion
is 49.0