In vscode, I want to retrieve dashboards so that I can include in version control and deploy to another org. What is the syntax? I've tried using DeveloperName, replacing spaces with underscores, not replacing spaces with underscores etc.
Report: "HHN Reports/Resource Requests Last 7 Days"
<types>
<members>RRM_Reports/Resource_Requests_Last_7_Days</members>
<name>Report</name>
</types>
dashboard: "HHN Dashboards/Resource Requests"
<types>
<members>HHN_Dashboards/Resource_Requests</members>
<name>Dashboard</name>
</types>
Error:
Entity of type 'Dashboard' named 'HHN_Dashboards/Resource_Requests' cannot be found
Is there a standard Dashboard/Report syntax for package.xml? ie. replace spaces with underscores OR use the Dashboard/Report DeveloperName? I haven't found a clear explanation yet.
Metadata API received improper input. Please ensure file name and capitalization is correct. Load of metadata from db failed for metadata of type:Dashboard and file name:HHNDashboards/SzpKhetkvorZgTnNMpNJMFjLAVzBcu.