When you first run the Organization Chart sample application, it obtains data from a Microsoft Exchange Global Address List (GAL) that is specified by settings in your computer's Microsoft® Windows NT® registry. By editing the script code for this sample application, you can make it use a GAL that is hosted on a different server. To do this, follow these steps:
objRenderApp.LoadConfiguration 1, _ "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSExchangeWeb\Parameters"
If Not ReportError( "RenderingApplication.LoadConfiguration from registry") Then
bstrEnterprise= objRenderApp.ConfigParameter("Enterprise")
bstrSite = objRenderApp.ConfigParameter("Site")
bstrServer = objRenderApp.ConfigParameter("Server")
End If
bstrEnterprise = "Your_Enterprise"
bstrSite = "Your_Site"
bstrServer = "Your_Server"
After you change these settings, the Organization Chart sample application will obtain its data from the GAL located on the server called "Your_Server" in the site "Your_Site" within the organization called "Your_Enterprise".