Remove Default Dashboard from Account Listview Sidepanel

Hi Guys,

I am using Sugar 8.0.3 and trying to remove default dahboard ("Account List Dashboard") from Accounts module Sidepanel.  I have deleted the database entry from dashboards table, but its getting re-created automatically when i refresh the page.

Any idea to remove the default dashboard?

Actual Result:

Expected Result:

Thanks in advance.

Regards,

Selva

  • Hi Selvamuthukumar Rajulu,

    It is the default dashboard comes out of the box for Accounts module. If you want to remove it, you need to empty the metadata content of the dashboard layout under Accounts module. Follow the below steps:

    1. Copy modules/Accounts/clients/base/layouts/list-dashboard/list-dashboard.php to custom/modules/Accounts/clients/base/layouts/list-dashboard/list-dashboard.php

    2. Open the file and empty the metadata array

    <?php

    //override layout metadata to remove list view dashboard for Accounts module
    $viewdefs['Accounts']['base']['layout']['list-dashboard'] = array(
        //no default dashboard
        'metadata' => array(),
        ),
        'name' => 'LBL_DEFAULT_DASHBOARD_TITLE',
    );

    3. Save the file and perform Quick Repair and Rebuild from the Admin -> Repair section

    4. Now delete the dashboard from the Accounts list view and it will not get created again

    Let us know if this helps.

    Regards.

  • Hi hats,

    It works perfect.  Thank you so much for your help.

    Regards,

    Selva