Microsoft
MB-820 · Question #30
A company has a Business Central online environment. You are exporting a file from a client by using the DownloadFromStream method. You need to create an InStream data type to send the data. Which…
The correct answer is A. Use CreateInStream method from codeunit "Temp Blob". By using the CreateInStream method on a Temp Blob, you create an InStream that can then be used with the DownloadFromStream method to send the file data to the client.
Develop by using AL
Question
A company has a Business Central online environment. You are exporting a file from a client by using the DownloadFromStream method. You need to create an InStream data type to send the data. Which solution should you use?
Options
- AUse CreateInStream method from codeunit "Temp Blob".
- BUse CreateInStream method for BLOB field of "TempBlob" table.
- CUse CreateInStream method for File type variable.
How the community answered
(45 responses)- A80% (36)
- B7% (3)
- C13% (6)
Explanation
By using the CreateInStream method on a Temp Blob, you create an InStream that can then be used with the DownloadFromStream method to send the file data to the client.
Topics
#InStream#TempBlob#file download#Business Central online
Community Discussion
No community discussion yet for this question.