Skip to main content
Bumped by Community user
Source Link
Jay Rizzi
  • 475
  • 1
  • 5
  • 17

SFDX deploy , item not found in zipped directory

I am trying to use SFDX in visual studio code to deploy only changes , and not the entire source

I have changed flexipages, custommetadata and Layout

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>ucinn_ascendv2__Related_List_Setting.RelatedList_ContactReportRelation_Outbou</members>
        <members>ucinn_ascendv2__Related_List_Setting.ucinn_ascendv2__RelatedList_ContactReportRelation</members>
        <name>CustomMetadata</name>
    </types>
    <types>
        <members>Household_Profile_Picture_Collapsible_Sidebar1</members>
        <members>ND_Constituent_Record_Page</members>
        <members>ND_Prospect_Case_Record_Page</members>
        <name>FlexiPage</name>
    </types>
    <types>
        <members>Wealth_Asset__c-Wealth Asset Layout</members>
        <name>Layout</name>
    </types>
    <version>58.0</version>
</Package>

when I execute the command "deploy source in manifest to org" all 6 items error in salesforce deployment status, each giving the following error:

An object 'whatever' of type CustomMetadata was named in package.xml, but was not found in zipped directory

Im at a loss as to why, if my package xml had all types, this wouldnt error, and if i individually deploy a single class, no error, but these items will not deploy