Consider a scenario where Sametime chat is already running. It is possible open chat with another person from another program? Can you please tell me the procedure?

Thanks a lot, Omkar

有帮助吗?

解决方案

I think what you're asking is possible, but your question isn't clear. Perhaps you can expand on what your final goal is. Sametime has data channels, IM channels and all sorts, and lots of things are possible with the different toolkits.

Most likely from your question, you can do this using the web connect API, which is documented in the sametime SDK. It would involve making a HTTP request from your application that wants to launch a chat window to the HTTP server that is running within the Sametime client.

其他提示

I am extending carl's answer so please give credit to Carl.

  1. Install IBM Sametime 8.5 or above SDK
  2. Goto Notes\framework\rcp and open plugin_customization.ini Set com.ibm.collaboration.realtime.webapi/startWebContainer=true
  3. Restart the Lotus notes and sametime
  4. Write this C# program

    var request = WebRequest.Create("http://localhost:59449/stwebapi/chat?userId=kt816") as HttpWebRequest;

    request.GetResponse();

Let me know it any quesions

Please read this document. In it, I found this:

 <HEAD>  
      <TITLE>Sametime Links Sample Page</TITLE>  
      <LINK REL=STYLESHEET  HREF="http://sametime.acme.com/sametime/stlinks/stlinks.css" TYPE="text/css">  
      <SCRIPT src="http://sametime.acme.com/sametime/stlinks/stlinks.js">  </SCRIPT>
      <SCRIPT> setSTLinksURL("http://sametime.acme.com/sametime/stlinks");</SCRIPT
 </HEAD>

Which you can add this body:

<body>
<script>writeSTLinksApplet("","",false); </script>
<Script>writeSametimeLink("<username>", "Click here to IM Name!", true)</Script>
</body>
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top