10.07.2015 Views

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

9.5 Building an interactive <strong>Web</strong> siteSo now we know where the files are and what is in each of them, we can startbuilding our interactive <strong>Web</strong> site. Let us go back to the original goals of oursample project:► How to provide customized/branded ST Links experience for visitors► Allowing an internal agent to see who is on the <strong>Web</strong> site► Allowing an internal agent to see which page the visitor is on► Allowing an internal agent to interact with the visitor on the <strong>Web</strong> site►Let internal agents looking at visitors on the page see that they are alreadychatting with another agentTo make it easier to follow as we build this sample, we are going to call theinternal person the "Agent" and the external visitor the "Customer"; in real life,the Customer could also be an internal user. As we will be modifying the UI forboth the Agent and Customer to do different things, it is a good idea to haveseparate directories to manage them. So we are going to take the standardSTLinks directory:\<strong>Lotus</strong>\Domino\Data\domino\html\sametime\stlinksand copy it and its contents twice to the new directories:C:\<strong>Lotus</strong>\Domino\Data\domino\html\sametime\agentstlinksC:\<strong>Lotus</strong>\Domino\Data\domino\html\sametime\customerstlinksFor the changes we want to make to the agent side, we will edit the contents ofthe agentstlinks directory, and for customer changes, we will change thecustomerstlinks directory.When loading Sametime Links in a <strong>Web</strong> page, we can now load the page that wewant, so for customer facing pages, our Sametime Links code in the headerwould be:Where is the URL of the directory where the ST Links run-timefiles are:http:///sametime/customerstlinksFor Agent pages, the header would be the same, but the codebase would be:http:///sametime/agentstlinks244 <strong>Lotus</strong> <strong>Instant</strong> <strong>Messaging</strong>/<strong>Web</strong> <strong>Conferencing</strong> (Sametime): Building Sametime-Enabled Applications

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!