Open Alvaro237 opened 5 years ago
Hi @Alvaro237,
Your missing part of the template relating to SuiteCRM version, could you confirm this for me?
Hi @Alvaro237,
Your missing part of the template relating to SuiteCRM version, could you confirm this for me?
Hi @Mac-Rae
I edited the first post including the version of SuiteCRM which it is 7.11.8
Regards
Issue
Custom documentation module not upload attached file when is in quickcreate view
Expected Behavior
Upload the file
Actual Behavior
When I save the record the fields data are recorded correctly but the file is not uploaded (neither in the database record nor upload folder)
Steps to Reproduce
$module_name = 'INSA_Documentacion'; $object_name = 'INSA_Documentacion'; $_module_name = 'insa_documentacion'; $popupMeta = array( 'moduleMain' => $module_name, 'varName' => $object_name, 'orderBy' => $_module_name . '.name', 'whereClauses' => array( 'name' => $_module_name . '.name', ), 'searchInputs' => array($_module_name . '_number', 'name', 'priority', 'status'), /'create' => array ( 'formBase' => 'INSA_DocumentacionFormBase.php', 'formBaseClass' => 'INSA_DocumentacionFormBase', 'getFormBodyParams' => array( 0 => '', 1 => '', 2 => 'INSA_DocumentacionSave', ), 'createButton' => $mod_strings['LNK_NEW_RECORD'], ),/ );
<?php
require_once('include/SugarObjects/forms/FormBase.php');`
class INSA_DocumentacionFormBase extends FormBase {
var $moduleName = 'INSA_Documentacion'; var $objectName = 'INSA_Documentacion';
}