Monday, March 16, 2020

Custom Metadata Retrieve and Deploy

Some of error while uploading CustomMetadata record. Version 47

3.  package.xml (Sync_Mapping__mdt.Quote_Related_Framework) -- Error: An object
'Sync_Mapping__mdt.Quote_Related_Framework' of type CustomMetadata was named in
package.xml, but was not found in zipped directory
4.  package.xml (Sync_Mapping__mdt.Quote_Levy) -- Error: An object 'Sync_Mapping
__mdt.Quote_Levy' of type CustomMetadata was named in package.xml, but was not f
ound in zipped directory

Can be fixed using this :
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Sync_Mapping.Bid_Related_Framework</members>
        <members>Sync_Mapping.Bid_Levy</members>
        <members>Sync_Mapping.Quote_Related_Framework</members>
        <members>Sync_Mapping.Quote_Levy</members>
        <name>CustomMetadata</name>
    </types>
 <types>
        <members>Sync_Mapping__mdt</members>
        <name>CustomObject</name>
    </types>
    <version>47.0</version>
</Package>

No comments:

Post a Comment