Password settings for SugarCRM / SuiteCRM

SugarCRM, SuiteCRM Navin Rakhonde
SugarCRM / SuiteCRM comes with password generation settings by default, and it is not configurable from admin panel. You can change it by modify config_override.php file. // Showing default values, change it as per your need // System generated password true/false $sugar_config['passwordsetting']['SystemGeneratedPasswordON'] = true; // Sent email to user with system…
Read More

Adding custom fields in edit and detail view through manifest

SugarCRM, SuiteCRM Navin Rakhonde
Greetings from TechCRM!! Creating your own plug-in for SugarCRM? Have custom fields in SugarCRM's existing/OOB modules? Yes manifest has a directive which does this job! 'layoutfields' => array( array( 'additional_fields' => array( 'Contacts' => '<field_name>' ), ), array( 'additional_fields' => array( 'Accounts' => '<field_name>' ), ), array( 'additional_fields' => array(…
Read More

Custom button in detailview SugarCRM / SuiteCRM

SugarCRM, SuiteCRM Navin Rakhonde
It will be done by below steps only! Lets do this, STEP 1 : Add smarty variable in custom/modules/<desired_module>/metadata/detailveiwdefs.php as following, 'buttons' => array ( 5 => array ( 'customCode' => '{$mail_to_members}', ), ), Step 2 : We can assign the values to smarty variable in custom/modules/<desired_module>/views/view.detail.php and can use…
Read More

How to add JavaScript file in editview or detailview for any module in SugarCRM / SuiteCRM

SugarCRM, SuiteCRM Navin Rakhonde
It will be done by below steps only! Lets do this, STEP 1 : Add a reference to the JavaScript file which will be needed for event binding. Path for Edit View: custom/modules/<desired_module>/metadata/editviewdefs.php <?php $viewdefs['<desired_module>']['EditView']['templateMeta']['includes'] = array ( array ( 'file' => 'custom/modules/<desired_module>/js/editview.js', ), ); ?> Path for Detail View: custom/modules/<desired_module>/metadata/detailviewdefs.php <?php $viewdefs['<desired_module>']['DetialView']['templateMeta']['includes']…
Read More