OCLOperators Download
This page was created by Charles on 2024-09-11. Last edited by Edgar on 2025-01-20.
Triggers a download of arbitrary byte array to a client under a file name and file type. This method is available within the context a of ViewModel.
OCL Expression
selfVM.Download(<file name>, <file data>)
Arguments
file name:
String
Name to be assigned to the download file including the file extension. For example, for open document text document. add '.odt' in the file name.
file data:
Blob | byte[]
Byte array of the file content to be downloaded.
Return Type
Blob