📚 SAP Business One SDK Help

SendFileToBrowser Method
See Also  Example
fileName
Full path of the file.

Description

Sends a file that is stored in the server to a Web browser.

Syntax

Visual Basic
Public Function SendFileToBrowser( _
   ByVal fileName As String _
) As Boolean

Parameters

fileName
Full path of the file.

Remarks

You can use the ClientType property to call these functions in Browser Access mode only. These functions are not supported in Windows desktop mode, and if called, an exception will be thrown.

Example

C#Copy Code
Bool result = SBO_Application.SendFileToBrowser(filePath)

See Also