简体   繁体   中英

Hyperlinks in Skype for business - On Premise

We are trying to use skype for business as a frontend for chatbot. The conversations will have hyperlinks in them which should generate some events when clicked.

Is there any way that can be handled in an on-click event, as of now when we click any hyperlink it is opened in a webbrowser.

Is there anyway to handle this in UCMA-5.0 SDK?

No, that is not possible, as the "click" event occurs inside the Skype for Business client (so it happens on the client side) and there is nothing sent by the Skype for Business client when a user clicks on a link in an instant message. There is nothing that could potentially be received on the UCMA-server side to determine that the user clicked on a certain link.

But you could, depending on your needs:

  • detect the fact that the user clicked on the link by implementing something in the page that will be opened by the browser

  • implement a "contextual data" channel that would open a CWE ( https://docs.microsoft.com/en-us/lync/desktop/lync-conversation-window-extension ) and you could implement your buttons and the related logic inside the CWE, and send the user input back using contextual data

  • propose to the user to "Press 1 for this, Press 2 for that,..."

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