Skip to Content

TheBlogReaders.com

Salesforce.com Learn & Share

Retrieve Unfiled Public Reports using Salesforce Package.xml

Be First!
by August 28, 2018 Deployment, SALESFORCE

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>

 

(2)

Previous
Next

Leave a Reply