##### File > Convert to Collaborate Mode (or Collaborate)

# Convert to Collaborate Mode

To gain access to the administrator functions in Genesys Agent Scripting, you must first convert a Project Book to Collaborate mode.

The Convert to Collaborate option opens a wizard for converting a Genesys Agent Scripting Project Book to a multi-user Project Book.

1. Make a backup copy of the Project Book you wish to convert it to collaborate mode.

Once converted to collaborate mode, a Project Book cannot be restored to single user mode.

2. Select File > Convert to Collaborate Mode.

3. In the Convert to Collaborate dialog box, click Next to continue.

4. If the Server Language, Server Location, and Server URL are known, then enter the information in their respective fields.

The Server Language field specifies whether you will be using ASP or JSP collaboration mode.

The Server Location field should contain the directory in which the Genesys Agent Scripting Collaboration Server resides.

The Server URL field is the location of the Genesys Agent Scripting Collaboration Server.

5. If a server does not exist, click Find Server.

This will bring up the standard windows dialog box. Select the directory in which the server should reside.

For IIS, it is recommended that the server directory be a subdirectory under C:\Inetpub\wwwroot. For JSP web servers, the folder should be a subdirectory of that web server.

In order to use the JSP version of the collaboration server, there are a few additional steps that need to occur.

6. This version requires a mySQL database to be created.

7. Then, the file SQL_WWC_NEW-6-0-0.sql in C:\Program Files\GCTI\Genesys Agent Scripting\Collaborate jsp Web Folder\ must be run against the database created in Step 1.

8. Once the server directory has been set up, the file WWCConfig.inc.jsp in the server directory must be modified to contain the proper database connection information to connect to the database created in Step 1.

An example of the database connection information:

<%

String config_jdbc_class = "com.mysql.jdbc.Driver";

String config_jdbc_connect_str =

"jdbc:mysql://localhost:3306/wwc?user=root";

%>

If a new server is being created, Genesys Agent Scripting will generate a UserID and Password.

9. To continue, the user must be able to connect to the administrative server. Click Test to communicate with the server.

If unsuccessful, the message Unable to connect to server will appear. Click OK, check the Server Location and Server URL, make sure that the file com.mysql.jdbc.Driver appears in the <TOMCAT>\shared\lib directory, and click Test again.

Note: If com.mysql.jdbc.Driver is not present, you must install this driver and then restart Tomcat before proceeding.

If successful, the Next button will be enabled.

10. Click Next to continue.

The UserID is a Genesys Agent Scripting UserID. It is assigned through the Genesys Agent Scripting Administration Module.

The Password is a Genesys Agent Scripting Password. It is assigned through the Genesys Agent Scripting Administration Module.

11. To continue, the user must have a valid UserID and Password. Once the values have been input, click Login to connect to the server.

If the login attempt is unsuccessful, the message Unsuccessful Login will appear. Click OK, check the UserID and Password, and click Login again.

If successful, click Next to continue at the next dialog box. This dialog box is used to create the initial starting point for the multi-user Project Book.

12. Click Check In to create the multi-user Project Book.

13. Click Finish to return to Genesys Agent Scripting. The Project Book now supports multiple users.

Once the Project Book has been converted to multi-user, the Convert to Collaborate Mode menu option will disappear from the File menu.