How to get the file creation date in the mobile application when downloading it from the gallery or from the file system?
Here is my code:
onFileTypePickerItemTap: function(el, index, target, record) {
var source = record.get("Source");
switch (source) {
case Terrasoft.Configuration.FilesAndLinksDetailFileSources.Gallery:
Terrasoft.Camera.captureFromGallery({
success: this.onCameraCapture,
failure: this.onFail,
scope: this
});
break;
...
}
}
},
onCameraCapture: function(fileName, url) {
Terrasoft.Mask.show({message: Terrasoft.LocalizableStrings.UploadingFile});
if(fileName && url) {
this.saveFile(fileName, url);
} else {
Terrasoft.Mask.hide();
}
}
Like