+ Start a Discussion

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


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

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