Getting started with developing an LCS Agent

Live Communications Server, LCS, provides a lot of fun stuff that you can do with it, and after all if you have sold it to your customer wouldn't it be cool if you also could build an application that uses the LCS as an interface? I'm going to build a Bot that looks up some customer information when asked for it. Here's the instructions on how to get started:

  1. Take your favorite VPC (W2k3 with LCS and VS2003 installed on it)
    I think I'll build an example later on VS2005 (not a promise)
  2. Download the RoleAgent.msi from the Microsoft web site, you can find it here:

    It could still be located here (but you never know):
  3. Install it (it normally goes into "C:\Program Files\Microsoft Office Live Communications Server Role Agent")
  4. Read the ReadMe.doc file located in the directory.
  5. Download the RTC API V1.3 from here:
  6. Install it (it normally goes into "C:\Program Files\RTC Client API v1.3 SDK")
  7. Run the "C:\Program Files\RTC Client API v1.3 SDK\INSTALLATION\RtcApiSetup.msi"
  8. Follow the instructions in the RoleBot.doc document on how to Create Role Agent Accounts.
  9. Modify the startup function in RoleBot.cs in the following way:
    role1 = new Role();
    role1.LCSServerName = "";
    role1.Transport = RTCConstants.RTCTR.TCP;
    role1.Initialize("Support Questions Group", "", "litwareinc\\supplyquestions", "pass@word1");
  10. Compile the project
  11. Run the generated RoleBot.msi file in "C:\Program Files\Microsoft Office Live Communications Server Role Agent\Samples\Setup1\Debug"
  12. Start the service RTC Role Agent Service
  13. You can now attach to the process and debug it from VS2003 to see what happens when you send messages to your agent
  14. Done!
Comments (0)

Skip to main content