0

I trying to deploy my package while validating changes salesforce given this error "Lightning Page Property 'itemInstances' not valid in version 47.0" do you guys have any insight for these king of errors. Please share if you got any solution for these. Thanks in advance.

4

2 Answers 2

0

As per documentation itemInstances is available in API 49.0 or later. Try using 49 version.

 <?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>New Opportunity Page</fullName>
    <types>
      -------
      -------
    </types>
    <version>49.0</version>
</Package>

Thanks,

1
  • I try this but still got the same error
    – Punit
    Oct 1, 2020 at 10:01
0

If you're using the Metadata API to deploy, you need to update your package.xml to indicate version 49.0

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
 
   your types here...

   <version>49.0</version>
</Package>
1
  • I try this but still got the same error, just for a fix I used <version>46.0</version> in package XML file.
    – Punit
    Oct 1, 2020 at 10:02

Not the answer you're looking for? Browse other questions tagged .