cancel
Showing results for 
Search instead for 
Did you mean: 

How to open Outlook / Skype Lync application using SAPUI5 app?

Sanurag18
Explorer
0 Kudos

Hi all,

My requirement is to open the Outlook / Skype Lync application, if i am clicking on the Mail or Chat button.

If possible please tell me the steps or any link.

Thanks,

Sanurag

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor
0 Kudos

You can use url helper control to trigger mail or call some number

https://ui5.sap.com/#/sample/sap.m.sample.UrlHelper/preview

For Skype ther is no such control I think, you can actually call window.location directly..check below:

https://stackoverflow.com/questions/39221495/trigger-skype-for-business-desktop-application-from-bro...

BR,

Mahesh

Sanurag18
Explorer
0 Kudos

Thank you for the reply Mahesh.

I used the below code then it opens the default App i.e. Mail (Trusted Microsoft Store App).

sap.m.URLHelper.triggerEmail

To make the Outlook app default, for that I have to change the Windows system setting which I don't want to. So other than that if there's anything else please let me know.

maheshpalavalli
Active Contributor

It seems you don't have any other option there except using default app

https://stackoverflow.com/questions/3754478/can-we-specify-a-particular-email-client-while-using-hre...

BR,

Mahesh

former_member560141
Participant
0 Kudos

If the app has a url scheme, you can use that as a normal link, you can also pass variables to the app.

appUrlScheme://?param=something (Something like this i think)

ms-outlook:// (I think outlook url scheme is this)

Sanurag18
Explorer

Hi Mahesh, I checked that link and I think it is better to use the default app rather than calling particular app. Cause if Outlook is not present in the Windows then it will do nothing.

Thank you for the reply Mahesh and Nicholas.

maheshpalavalli
Active Contributor
0 Kudos

Hi Sanurag Dharme,

you can close this thread if it answers your question.

https://blogs.sap.com/2017/08/15/what-to-do-with-my-answered-questions/

BR,

Mahesh

Answers (0)