Installation


Extract pim.zip to the root of the 'D:' drive.


--Database Creation

1.	Open SQL server Enterprise Manager.
2.	Create a database called pim on the SQL server.
3.	Choose Tools > Query Analyzer.
4.	Open createAll_27_June.sql in the root directory of the PIM application
5.	Ensure that the active database in the Query Analyzer drop-down box is the pim database.
6.	Run the SQL script to create the database tables.
7.	Open the database in Enterprise Manager to ensure that the database tables exist in the pim database.


--ColdFusion Server Configuration

1.	On the ColdFusion server, create a datasource called pim that points to the database on the SQL server.
2.	Create a ColdFusion mapping called pim that points to d:\pim.
3.	Create a virtual directory on the Web server that points to the d:\pim\webroot directory.
4.	Ensure that the ColdFusion MX Application Server service is set to log on using a user account that has an account on the Microsoft Exchange server.


--Exchange Configuration

1.	Open Microsoft Outlook on the ColdFusion server.
2.	Ensure that it is logged on to the Exchange server and that the public folders are available.
3.	Right-click on the Contacts folder in the public folders.
4.	Choose Properties.
5.	Choose the Summary tab.
6.	Check if there is an entry in the Folder Contacts list that looks like a Lightweight Directory Access Protocol (LDAP) entry (something like /O=FARSIGHT/OU=FARSIGHT/CN=RECIPIENTS).
7.	Copy the files testExchange.cfm and testOutlook.cfm to a Web-browsable folder on the ColdFusion server. Make sure this file is outside the webroot of the pim application, as it will be used to determine the settings for the Exchange server, and the pim application requires a log-in for all areas.
8.	Browse testExchange.cfm in a Web browser.
9.	Use the information you retrieved in step 6 to test the configuration details for the Exchange server with a user name and password for a valid domain user.
10.	If you get a message telling you the user was authenticated, you can copy these settings to the _config.cfm file in the D:\pim\.
11.	Browse to http://localhost/pim/index.cfm with your Web browser.
12.	Attempt to log in with the same user name and password you used in step 9.
13.	Open testOutlook.cfm in a text editor.
14.	Check the names of the folder hierarchy to the public contacts and calendar folders in Outlook. 
15.	After the comment that starts: You will need to change the names of the folders Change the names of the folders in the code, as instructed by the comment, to match the names of the folders in your hierarchy to the public contacts folder.
16.	Browse testOutlook.cfm to see if you get a list of the first 20 contacts from the public contacts folder. Once youve managed to get this list, you can edit D:\pim\includes\outlook\_config.cfm to reflect the folder names on your system.

--Note: 

If you use a datasource name other than pim, the value of request.dsn will have to be changed in the _config.cfm file in the root directory of the PIM application.
If you use a ColdFusion mapping name other than pim, it will have to be entered in the request.mapping variable in _config.cfm accordingly.
If you use a Web directory name other than pim, you will have to change the value of the request.webroot variable in _config.cfm accordingly.
If you place the pim directory anywhere other than in the root of the D: drive, the request.fsroot variable in _config.cfm will have to be changed accordingly.
