The IBM sametime proxy example 7, embeded chat option not working for you?
Category Sametime Proxy
So this is a pretty simple issue to see, and a simple issue to resolve, but you could easily take hours trying to figure it out. The IBM Sametime Proxy SDK ships with an example for embedding a Sametime chat window in a web page (Example 7), many of you (me included) may try this and find that indeed the chat is embedded, but as soon as the other user responds, it opens up a new chat window. Anyway, the solution is simple, use the Canonical name for the user in the HTML. This video explains it and shows it in action.
So this is a pretty simple issue to see, and a simple issue to resolve, but you could easily take hours trying to figure it out. The IBM Sametime Proxy SDK ships with an example for embedding a Sametime chat window in a web page (Example 7), many of you (me included) may try this and find that indeed the chat is embedded, but as soon as the other user responds, it opens up a new chat window. Anyway, the solution is simple, use the Canonical name for the user in the HTML. This video explains it and shows it in action.
Comments
I am stuck at an earlier stage. How can I embedd a html file on a WAS Server e.g. Sametime Proxy? I dont want to setup a IHS or something like that. I just want to run everything on the same server.
Posted by Mase At 05:01:24 AM On 02/03/2012 | - Website - |
What version of Sametime Proxy are you running this against? I ask because I tried this solution but it still pops up the new window. I'm running 8.5.2 IFR1.
Thanks,
Michael
Posted by Michael Farquhar At 12:31:20 PM On 02/22/2012 | - Website - |
I did this with 8.5.1 and 8.5.2 and 8.5.2 IFR1.
Carl
Posted by Carl Tyler At 12:35:30 PM On 02/22/2012 | - Website - |
Thanks, I did get it to work however I had to use the format "CN=Sametime User1,O=Demo". I'm using ldap so I'm assuming that you were just using the Domino Directory to authenticate against which is the difference between using a slash, vs the comma. But I may be wrong.
Thanks again,
Michael
Posted by Michael Farquhar At 01:55:03 PM On 02/22/2012 | - Website - |
Posted by Carl Tyler At 02:07:39 PM On 02/22/2012 | - Website - |
Posted by Jenny At 11:30:14 AM On 08/02/2012 | - Website - |
chatModel = stproxy.getChatModel("marcus.loy@como-solution.de",chatArgs);
// Create a new chat using the model
-> chat = new sametime.Chat({model: chatModel},document.createElement("div"));
dojo.byId("myChat").appendChild(chat.domNode);
I'm using the sametime proxy of greenhouse.lotus.com for testing
Anybody an idea? All other examples which i tried are working fine
thanks
Marcus
Posted by Marcus At 05:12:39 AM On 08/13/2014 | - Website - |
Can u answer pls - is it possible to make avalable the offline messaging service for mobile and web clients with this tool?
Posted by Andrey At 10:13:03 AM On 03/27/2015 | - Website - |