简体   繁体   中英

open lync chat window in javascript

I found the same question I'm about to ask on stackoverflow, but the answer didn't help as the link didn't deal with javascript as far as I can tell. Is it possible to open a new Lync conversation from a webpage?

In a nutshell, I want to programmatically open a Lync chat window using javascript. I've done this with a simple link:

<a href="sip:person@domain.com">IM</a>

Clicking the link would open the window as expected. I'm looking for a way to duplicate that behavior in javascript:

function doImDeveloper() {
    //Javascript to open a Lync window
}

This is in an internal environment. I want people at my company to be able to click a button and have it launch a Lync conversation with me. Any help would be appreciated.

这适合我。

window.location = "sip:person@domain.com"​

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM