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
Mahmood Syed 6Mahmood Syed 6 

unable to deploy dashboard using changesets/eclipse/mavensmate/ant

Hello Experts,

I am having really hard time trying to deploy a custom dashboard using changeset, eclipse, mavensmate or ant migration tool

Changesets: tried adding dashboard, dashboard folder, all underlying reports for the dashboard, report folder - the changeset would not even upload to the destination org.

Eclipse: I can only see the dashboard folder, but not the dashboard itself - tried refreshing the meta data many times, tried updating the eclipse version still no luck.
Tried deploying it deployed only the folder, I knew it would not work as I could not see any meta-data for the dashobard itself.

Maventsmate: this is the error message I get:
An object 'EEN_KPIs/EEN_KPI_s' of type Dashboard was named in package.xml, but was not found in zipped directory

ANT: tried deploying just adding the dashboards and its folders to the below package.xml - it deployed just the folders not the dashboard

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>EEN_KPIs</members>
        <members>EEN_KPIs/EEN_KPI_s</members>
        <members>EEN_Dashboard</members>
        <members>EEN_Dashboard/EEN_Dashboards</members>
        <name>Dashboard</name>
    </types>       
    <version>38.0</version>
</Package>

Any help would be greatly appreciated.

Many Thanks
Mahmood