You need to sign in to do that
Don't have an account?
Having a Problem deploying EmailFolder Metadata into a Spring21 Sandbox
Hi.
Using SFDX and Unlocked Packages, came to install a package today into a Preview Sandbox but it fails and the failed metadata is to do with EmailFolder. Narrowed down by doing line by line deployment.
The below works in a non-preview sandbox created today but not in a one created before the window. Obviously a change but can't find any notes on it.
Metadata is :
<?xml version="1.0" encoding="UTF-8"?>
<emailFolder xmlns="http://soap.sforce.com/2006/04/metadata">
<accessType>Public</accessType>
<fullName>XXX_CommunityTemplates</fullName>
<publicFolderAccess>ReadOnly</publicFolderAccess>
<name>CommunityTemplates</name>
</emailFolder>
With a V50 Sandbox it didn't seem to matter that I had written emailFolder as the tag.
With V51 it does need to be EmailFolder.
Greetings!
Since you are obeserving the difference because of the release,you can log a case with the salesforce.com support and they will help you further on this one.
Kindly mark it as best answer if it helps so that it can help others in the future.
Warm Regards,
Shirisha Pathuri