Getting dropdown options in Javascript

SugarCRM, SuiteCRM Navin Rakhonde
At times, We have ran into requirement of getting drop down options of a field in Javascript in SugarCRM. Here is the code that will get you options as an array. For example, you want to fetch values of case_status_dom, the code will be, var statusOptions = SUGAR.language.languages.app_list_strings['case_status_dom']; alert(statusOptions['Closed']); //…
Read More

Make field Importable Required

SugarCRM, SuiteCRM Navin Rakhonde
How to make importable required in custom field? It will be done by one step only! You need to extend vardefs to make importable required.Let's see how Step 1 : To extend vardefs we need to create a file. custom/Extension/modules/<desired_module>/Ext/Vardefs/<anyname>.php <?php $dictionary["<MODULE_OBJECT_NAME>"]["fields"]["<FIELD_NAME>"]["importable"]='required'; Step 2 : Now go to Admin > Repair…
Read More