Documents

Upload / download of files including versioning 

 Note that a class is added to the page while uploading ressources:  uploadInProgress 

 In case you want to prevent the user presing update, the buttons can be hided with this CSS 

 .uploadInProgress .tsUpdateButtons { display: none; } 

 Properties 

 

 Type: Files 

 Groupable: No 

 Show in lists: Yes 

 Searchable: Yes 

 

 User interface 

 Field in show mode 

 

 Field in edit mode 

 

 Reacting to uploads 

 The platform sends out custom triggers on upload start, finish and failure. To react to these, use the following example 

 $(".custom-file-input").on("TS_UploadStart", () => {

 // React

})

$(".custom-file-input").on("TS_UploadFinished", () => {

 // React

})

$(".custom-file-input").on("TS_UploadFailed", () => {

 // React

}) 

 Configuration 

 [INSERT IMAGE] 

 [Description of configs] 

 Developer info 

 

 FeltTypeID: 50 

 SQL datatype: INT(11) 

 Class name: FieldFiles