##### File

# Settings

Use the Settings window to set overall system settings. Each of the options for this window is described below. The system settings will typically be the inputs when the system is set up. No other changes should be necessary.

## General Tab

When you select Settings from the File menu, the General settings tab is the active tab.

### Image Directory

The Image Directory is the subdirectory where images are stored and accessed under the location where the generated web application is deployed. When you select an image, it is automatically copied to this location.

### Style Sheet Directory

A style sheet is an external document that contains a list of properties and rules that tell the browser how to display HTML tags. The Style Sheet Directory is the subdirectory where style sheets are stored and accessed under the location where the generated web application is deployed. When you select a style sheet, it is automatically copied to this location.

### Default Page Layout

The Default Page Layout allows you to set a background for pages. The default layout is used when there is no specific page layout selected for a page in the page editor.

### Default Process Flow

This field sets the default process flow to run when one is not specified when launching the Agent Scripting generated web application.

### Automatically Create Actions for New Interfaces

When checked, this option causes the system to automatically create an action that will execute the corresponding interface that was created. If this option is not checked, you will need to manually create an action to execute the interface.

## Advanced Tab

The following controls appear on the Advanced settings tab:

### Integrate with Genesys Agent Interaction

This option allows you to have scripts integrate with the Genesys Agent Interaction Layer. It is enabled for those Project Books created with the base toolkit ”Genesys Agent Interaction Toolkit”. If a script is integrated with the Genesys Agent Interaction Layer then the URL must contain the input parameters for the agent’s Place and ID. If a script is launched for a Genesys Interaction then the URL must contain the input parameter for the T-Server Interaction ID. If a script is launched for a Genesys Outbound request then the URL must contain the input parameter for the Outbound Record Handle ID.

When the script is launched it automatically queries the Genesys Agent Interaction Layer for the information associated with the Agent, Interaction and Outbound IDs. The pre-defined fields supplied by the toolkit are then populated with the information. The ID for either the T-Server Interaction or the Outbound Record Handle is also used to identify the script data and the page stack information that are automatically saved in memory. If the script is re-launched with the same T-Server Interaction ID or Outbound Record Handle ID, then the script data previously saved in memory is reloaded on the pages along with the page stack.

Note: With this option set, you can only compile for the JSP environment.

### Script Reporting

This dropdown list enables you to choose the type of reporting you want to have:

- Disabled: No reporting is provided.

- Enabled: Reporting data will be collected for fields and pages marked for reporting. Data will be stored in a database defined by configuration parameters G_System_DB_Connection_String and G_System_DB_Provider.

- Genesys Reporting: (available only when the Integrate with Genesys Agent Interaction checkbox is selected). Reporting data will be collected for fields and pages marked for reporting. Data will be attached as Interaction Data on the Genesys Interaction.

### Default XML URL

Genesys Agent Scripting comes with several prepackaged XML servers for you to use in the scripts. These servers allow you to, among other things, generate PDF files, send e-mails, and store and retrieve XML documents. This setting lets you choose a configuration field that contains the location of these XML servers.

### Save Page Navigation when Saving Session

This option allows you to have the script state information transferred along with collected data. This option is useful if you want to transfer the navigation from one session to another along with collected information.

### Use POST Method with Forms

Beginning with release 7.2.0, Agent Scripting uses only the POST method. The checkbox Use POST Method with Forms has been removed.

Previously, you had to specify the POST method to prevent Agent Scripting from using the GET method for submitting forms.

### Maximum references to display

When the Visio diagrams are built they show references to other objects outside the default flow. Complex diagrams can take a significant amount of time to draw.

This number is used to tell Genesys Agent Scripting the maximum number of references to display. When you exceed this number, the title of the diagram is changed to show that it has been exceeded.

## Collaborate Tab

This tab is only active if you have converted the project book to collaborate mode.

### Server Location

This field contains the directory in which the collaboration server code is located.

### Server URL

The Server URL is the address of the Genesys Agent Scripting Collaboration server.

### Automatically Lock Pages

This setting only becomes active in collaborate mode. Use it to turn off the automatic locking of pages in collaborate mode for a Project Book. You can then view a page without checking it out.