I have created a dashlet with the following files:
- asm-dashboard-new.js
- asm-dashboard-new.php
- manifest.php
- my-current-tasks-new.hbs
- my-tasks-due-new.hbs
I have used the module loader to upload these in a zip file, with manifest.php at the root.
I have also ensured that the folder containing these files is in our file structure on the server for our QA site.
However, when I go to add a new dashlet to a new dashboard I do not see asm-dashboard-new.
Below is the manifest.php file.
<?php
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* support.sugarcrm.com/.../.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative, then do not
* install or use this SugarCRM file.
*
* Copyright (C) SugarCRM Inc. All rights reserved.
*/
// THIS CONTENT IS GENERATED BY MBPackage.php
$manifest = array (
'built_in_version' => '10.0.5',
'acceptable_sugar_versions' => array(
'exact_matches' => array(
'12.0.2',
),
),
'acceptable_sugar_flavors' =>
array (
0 => 'ENT',
1 => 'ULT',
),
'readme' => '',
'key' => 'abk',
'author' => 'coc1',
'description' => 'Newer Area Sales Manager Dashboard',
'icon' => '',
'is_uninstallable' => true,
'name' => 'asm-dasboard-new',
'published_date' => '2024-02-09 18:04:54',
'type' => 'dashboard',
'version' => 1639505094,
'remove_tables' => 'prompt',
);
$installdefs = array (
'id' => 'asm-dashboard-new',
'layoutdefs' =>
array (
),
'relationships' =>
array (
),
'copy' => array(
array(
'from' => '<basepath>/custom/clients/base/views/asm-dashboard-new/asm-dashboard-new.js',
'to' => 'custom/clients/base/views/asm-dashboard-new/asm-dashboard-new.js',
),
array(
'from' => '<basepath>/custom/clients/base/views/asm-dashboard-new/asm-dashboard-new.php',
'to' => 'custom/clients/base/views/asm-dashboard-new/asm-dashboard-new.php',
),
array(
'from' => '<basepath>/custom/clients/base/views/asm-dashboard-new/my-current-tasks-new.hbs',
'to' => 'custom/clients/base/views/asm-dashboard-new/my-current-tasks-new.hbs',
),
array(
'from' => '<basepath>/custom/clients/base/views/asm-dashboard-new/my-tasks-due-new.hbs',
'to' => 'custom/clients/base/views/asm-dashboard-new/my-tasks-due-new.hbs',
),
),
'language' =>
array (
0 =>
array (
'from' => '<basepath>/SugarModules/language/application/en_us.lang.php',
'to_module' => 'application',
'language' => 'en_us',
),
),
'image_dir' => '<basepath>/icons',
);