+ 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