The file name containing the main Sugar Dashlet code must match the Sugar Dashlet’s class name. For example, the Sugar Dashlet class JotPadDashlet will be found in the file /Home/Dashlets/JotPadDashlet/JotPadDashlet.php. The JotPadDashlet Dashlet is a sample Sugar Dashlet released originally in Sugar 4.5. It serves as a useful example from which to begin your development efforts.
The naming convention for the metadata file is className.meta.php, where className is the name of your Sugar Dashlet, and it must appear in the same directory as the Sugar Dashlet code. For JotPadDashlet the meta file is stored in /Dashletsmodules/Home/Dashlets/JotPadDashlet/JotPadDashlet.meta.php.Language files have a similar naming convention: className.locale.lang.php (e.g., /Dashletsmodules/Home/Dashlets/JotPadDashlet/JotpadDashlet.en_us.lang.php )
Copyright 2004-2008 SugarCRM Inc.
Product License