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
sevindusevindu 

Not able to retrieve dashboards using Ant

I created a public dashboard folder and created a dashboard in lightning and tried to retrieve using ant but following error comes

package.xml - Entity of type 'Dashboard' named 'Test/Sales_Operations' cannot be found

<types> 
        <members>Test/Sales_Operations</members>
        <name>Dashboard</name>
    </types>

**Dashboard name is Sales Operation I used "_" in the package.xml

But when I create the dashboard in classic , it is retrieving correctly
sevindusevindu
I had to use workbech and get the dashboard name. Dashboard name comes as folderName/[uniquetext]. I used this in Ant and it worked