To run and test this application, the custom category that is used to store the location information for users must be defined in Office Communications Server. This is accomplished by running a stored procedure on the Microsoft SQL Server database used by Office Communications Server to define the new category.
Various tools can be used to access the database, such as the command-line SQLCMD tool, but these details are not covered in this book. After the database is accessed, the stored procedure is invoked with the name of the new category as the input parameter. For example, the commands to the SQLCMD tool are as follows.
use rtc exec RtcRegisterCategoryDef N'GPSLocation'
where rtc is the name of the database, RtcRegisterCategoryDef ...