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
Abhishek Thakur 17Abhishek Thakur 17 

Dashboards deployment

Hi 

I would like to know if we can deploy the dashboard from one production org to another production org. 
VinayVinay (Salesforce Developers) 
Hi Abhishek,

You can try below metadata.
 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>MyDBFolder/MyDBName</members>
        <name>Dashboard</name>
    </types>
    <types>
        <members>MyDocumentFolder/MyDocumentName</members>
        <name>Document</name>
    </types>
    <types>
        <members>unfiled$public/MarketingProductInquiryResponse</members>
        <members>unfiled$public/SalesNewCustomerEmail</members>
        <name>EmailTemplate</name>
    </types>
    <types>
        <members>MyReportFolder/MyReportName</members>
        <name>Report</name>
    </types>
    <version>55.0</version>
</Package>

https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_dashboard.htm
https://jayakrishnasfdc.wordpress.com/2019/07/14/move-bulk-reports-dashboards-using-meta-data-api/

Please mark as Best Answer if above information was helpful.

Thanks,
Abhishek Thakur 17Abhishek Thakur 17
Let's say I have 5 User A B C D E and each user have 1 dashboards. When I deploy to new org will it assign the dashboard to same users again?
Salesforce TechieSalesforce Techie
use change sets to deploy-
https://thesalesforcetutorial.blogspot.com/2022/09/change-sets-insalesforce.html