function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
YOANA PopovaYOANA Popova 

visual studio code cannot retrieve reports from report folder

Good day,

I have the following problem. I have created a few reports in my dev org and moved them to a newly created report folder. When I created my branch and retrieved the reports, only the folder was retrieved. There is no option to retrieve the created reports. Could you please give me advice how to do it? 
Mins KMins K
Hi Yoana,
Could you share .xml file used to retreive the reports?
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Yoana,

Did you try to put the reports(as below) in the package.xml and retrive it to the vscode?
 
<types>
  <members>unfiled$public/My_first_unique_report_mas8</members
  <members>JakeMusic/My_second_unique_report_ask98</members>
  <name>Report</name>
</types>

Thanks,
 
YOANA PopovaYOANA Popova
Hi, the problem is that in .xml file I do not see the reports and do not know hot to add them, because I am new in this CI/CD process in Visual Studio Code. Here is the content of the folder 
<?xml version="1.0" encoding="UTF-8"?>
<ReportFolder xmlns="http://soap.sforce.com/2006/04/metadata">
    <folderShares>
        <accessLevel>Manage</accessLevel>
        <sharedTo>barnesfmc@ec4u.com</sharedTo>
        <sharedToType>User</sharedToType>
    </folderShares>
    <name>MS Adoption Reports</name>
</ReportFolder>

As I see, the report are not there. How can I add them?
YOANA PopovaYOANA Popova
and one more thing I do not see package .xml in my project so is there any other way to retrieve the custom reports then?
Troy CenterTroy Center

Used VSCode: packagereport.xml file. Following Code. Retrieve from Source *(including PROD), Deploy to Destination. No change required.

Update the report folder and name, below is the "Unfiled Public" reports folder which is what I needed. 9/6/2022 Works. CLI 7.166.1-12dce37

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <name>Report</name>
        <members>unfiled$public/CPQ_Quote_Audit_AEX</members>
    </types> <version>55.0</version>
</Package>

Troy ~ Seattle