Retrieve Unfiled Public Reports using Salesforce Package.xml

For retrieving and deploying Report then folder name is mandatory.

Example:

to retrieve Salesforce report from Unfiled Public Reports 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/Case_Created_by_Today</members>
<name>Report</name>
</types>
<version>43.0</version>
</Package>

Retrive Report from Different folders then specify the folder name and followed the reports like below:

<?xml version=”1.0″ encoding=”UTF-8″?>
<Package xmlns=”http://soap.sforce.com/2006/04/metadata”>
<types>
<members>ExtraReports</members> <! – Report Folder ->
<members>ExtraReports/AnyOccupation</members> <! – Report from ExtraReports->
<members>unfiled$public/SampleReport</members> <! – Report from Unfiled Public Reports ->
<name>Report</name>
</types>
<version>43.0</version>
</Package>

 

(56)

Written by 

I am Sakthivel Madesh, a certified Salesforce Developer & Administrator working on Salesforce Technology since 2011. I am currently working in IBM Austraila as Sr. Salesforce Developer. I have worked on multiple technologies Like PHP, Java, Salesforce, I am very passionate about Salesforce and to earn 12x Salesforce Certification. I love Trailhead for learning Salesforce Skill and Become a Trailhead Ranger too. I Love to Learn & Share my Salesforce knowledge to Salesforce Learners/Beginner using My Blog and Salesforce Community.

Leave a Reply