ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 33 - MB-820 discussion

Report
Export

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?

A.

Use OeatelnStream method from codeunit 'Temp Blob'.

Answers
A.

Use OeatelnStream method from codeunit 'Temp Blob'.

B.

Use OeatelnStream method for BLOB field of 'TempBlob' table.

Answers
B.

Use OeatelnStream method for BLOB field of 'TempBlob' table.

C.

Use CreatelnStream method for File type variable.

Answers
C.

Use CreatelnStream method for File type variable.

Suggested answer: A

Explanation:

When exporting a file from a client using the DownloadFromStream method in a Business Central online environment, you need to create an InStream data type to send the data. The solution is to use the CreateInStream method from codeunit 'Temp Blob' (A). The Temp Blob codeunit provides temporary storage of BLOBs (Binary Large Objects) and is commonly used for handling files and streams in Business Central. 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. This approach is efficient for file handling and transfer in Business Central, especially in scenarios involving data export or file manipulation.

asked 05/10/2024
Arlind Tereziu
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first