Retrieve Unfiled Public Email Templates Using Salesforce Package.Xml

For retrieving and deploying EmailTemplate then folder name is mandatory.

Example:

to retrieve Salesforce report from Unfiled Public Email Template folder, then use the folder name as unfiled$public:

<?xml version=”1.0″ encoding=”UTF-8″?>
<Package xmlns=”http://soap.sforce.com/2006/04/metadata”>
<types>
<members>unfiled$public/TeatEmailTemplateName</members>
<name>EmailTemplate</name>
</types>
<version>43.0</version>
</Package>

Retrieve Reports from Unfiled Public Report refer below:
http://theblogreaders.com/retrieve-unfiled-public-reports-using-salesforce-package-xml/

Written by 

Salesforce MVP | Lightning Champion | 16x Salesforce Certified | Application Architect | 6x Trailhead Ranger | Techforce Services | Australia

Leave a Reply

Your email address will not be published. Required fields are marked *

*