OCLOperators Download

Triggers a download of arbitrary byte array to a client under a file name and file type. The method is available within the context 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

This page was edited 2 days ago on 09/16/2024. What links here