Skip to Content
avatar image
Former Member

How to create a show dialog pop up for browser client

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
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 27, 2016 at 02:02 AM

    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

    Add comment
    10|10000 characters needed characters exceeded