Skip to Content
0

How to create a show dialog pop up for browser client

Oct 26, 2016 at 06:54 PM

113

avatar image

I have a created an Sap business add-on that uses a show Dialogue box for the desktop client this works, I would like to have a show dialogue pop up for the Browser Client however the code for desktop does not work for the browser.

I would like something like this:

 If SBO_Application.ClientType = BoClientType.ct_Browser Then
           'Code wanted here
 ElseIf SBO_Application.ClientType = BoClientType.ct_Desktop Then
            Try
                OpenFile.Multiselect = False
                OpenFile.Filter = "All Files (*.*)|*.*"
                OpenFile.InitialDirectory = "C:"
               .......
End If
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Edy Simon Oct 27, 2016 at 02:02 AM
0

Hi Svodesai,

There are 2 methods involving accessing files in the browser client:

SBO_Application.GetFileFromBrowser();

SBO_Application.SendFileToBrowser();

The dialog will be shown without having us to handle.


Regards

Edy

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Thank you Eddy

0