Advanced Search
Search Results
58 total results found
Log di Processo
La modalità di visione dei log è cambiata nelle varie release di VTENEXT e viene riassunta come segue. VTENEXT 16.09: Log consultabile tramite accesso al filesystem nella cartella logs/ProcessEngine VTENEXT 18.X: In Impostazioni → Business Process Manager ...
Include custom php/js/css files
In order to include your custom code (that will be included in every page) you need to register the new file with this call: SDK::setUtil($src); $src : the php file path and the file name to be included To remove the customization: SDK::unsetUtil($src); $...
Javascript overrides and extensions
Some commonly used Javascript functions can be replaced or extended to change their behavior. To do this, simply create a function that has the same name as the function to be modified with the addition of "_override" or "_extension" and the same parameters. T...
Standard PHP replacement
You can replace the standard php files of the modules, such as DetailView.php, EditView.php and so on through the method: SDK::setFile($module, $file, $newfile); $module : the name of the module$file : the value of the "action" parameter to be compared$newfi...
Inclusion of other files
To associate files or folders to a module, so that they are imported automatically, the following methods are available: SDK::setExtraSrc($module, $src); $module : the name of the module$src : the path of the file or folder to be associated To delete the as...
Custom Uitypes
You can add new types to the existing ones and manage them completely without changing other code. The procedure for creating a new one is: Create a new custom field with the new type (nnn) Create the files:a. nnn.php in modules/SDK/examplesb. nnn.js in mo...
Smarty Custom Templates
You can create your own templates, which replace the standard ones (such as EditView.tpl and so on). The new template is used if $_REQUEST values of the page meet the requirements. The registration of a new template is done through the method: SDK::setSmartyT...
Popup
Two actions are available for managing popup. You can insert a php script before the query is made to load the data. In addition, it is possible to insert another php script before the data is shown, so you can edit this data or the result when the popup is cl...
Presave
You can enter your own script when you press the "Save" button in EditView mode. To register a script use the method: SDK::setPreSave($module, $src); $module : the name of the module$src : the path of php file To remove the customization: SDK::unsetPreSave...
Advanced query
You can modify the query executed to load the data in ListView, RelatedList and Popup mode in order to limit or extend the visibility of the data. This does not affect Administrator users, who have access to all data. In addition, the module must be set as Pri...
Page Header
You can customize the user icon, the settings icon or the blue bars at the top of the pages of VTE to incorporate new features. To do this, simply extend the method setCustomVars of class VTEPageHeader as follows: SDK::setClass('VTEPageHeader', 'NewPageHeader...
Translations
Translations can be customized for each language and module installed. To modify or insert a new translation use the method: SDK::setLanguageEntry($module, $langid, $label, $newlabel); $module : the module name that contains the string$langid : the code of t...
Fields Visibility
You can change the visibility of the various fields (value of $readonly) and other variables in the different modes (ListView, EditView, and so on) via SDK. To register a new "view" use the method: SDK::addView($module, $src, $mode, $success); $module : the ...
Home Blocks
New blocks can be added to the home of VTE via SDK. The blocks cannot be deleted from the interface. The method for creating a new block is: SDK::setHomeIframe($size, $url, $title, $userid = null, $useframe = true); $size : the horizontal size of the block (...
Custom Buttons
Buttons can be added under the main menu. To insert a new button use the following method: SDK::setMenuButton($type, $title, $onclick, $image='', $module='', $action='', $condition = ''); $type : the type of button, it can be 'fixed' or 'contextual'; in the ...
Transitions Manager
You can change the selection options for the picklists managed by the transitions manager, as well as add messages to the "State manager" block to the right of the record detail. To register this functionality use the method: SDK::setTransition($module, $fiel...
PdfMaker Custom Functions
Custom functions can be added in the PDFMaker module. To insert one use: SDK::setPDFCustomFunction($label, $name, $params); $label: the label of the function (it is translated into the PDFMaker module)$name: the name of the function$params: array with the na...
Custom Folders and Reports
Custom folders can be created using the following API. SDK::setReportFolder($name, $description); $name : the name of the folder$description : the description of the folder The created folder will be on the reports page. It will be visible to all users and ...
Turbolift Counter
When changing the standard extraction criteria of a related list, for example using another method or redefining it by extending the class that contains it, the counter of the number of the linked records visible in the Turbolift (the right column with the lis...
Process log
The way of viewing the logs has changed in the various vtenext releases and is summarized as follows. vtenext 16.09: Logs can be consulted by accessing the filesystem in the folder logs/ProcessEngine vtenext 18.X: In Settings → Business Process Manager → P...