The atg.endeca.configuration.ApplicationConfiguration class provides a central place for configuring various global settings, including language configuration options and application naming. The Guided Search integration includes a component of this class, /atg/endeca/ApplicationConfiguration. The following are key properties of this component:

locales

An array of the locales to generate records for.

defaultLanguageForApplications

The two-letter code for the default language for the application. This should be set only if there is a single MDEX for all languages being indexed. By default the value of this property is null.

baseApplicationName

The base string used in constructing the EAC application names. The default setting is ATG. You can override the default when you use CIM to configure your Oracle Commerce Platform environment.

keyToApplicationName

A map of application keys to application names. You can use this property to override the default application naming convention discussed in Determining the Number of EAC Applications to Create. For example, if an environment supports English, Spanish, and German, and there is a separate EAC application for each language, you can specify the application names like this:

keyToApplicationName=\
  en=MyEnglishApp,\
  es=MySpanishApp,\
  de=MyGermanApp

The application keys in this case are the two-letter language codes. An array of the keys is stored in the read-only applicationKeys property.

If there is a single application, the key is default. You can specify the application name like this:

keyToApplicationName=\
  default=MyApp
defaultApplicationKey

The application key to use if the current application cannot otherwise be determined. If there is a separate application for each language, the first key listed in the applicationKeys property is the default, unless you change the default by explicitly setting the defaultApplicationKey property to a different key.

If there is only one EAC application, you do not need to set this property; it will automatically be set to default.

workbenchHostName

The fully qualified host name, including the domain, of the machine running the Oracle Commerce Workbench. You can specify this setting when you use CIM to configure your Oracle Commerce Platform environment.

workbenchPort

The port number for accessing the Oracle Commerce Workbench. The default setting is 8006. You can override this default when you use CIM to configure your Oracle Commerce Platform environment.

recordIdName

The output name used in records for the $docId property. Set by default to record.id. The value of this property is used as the unique identifier for a record.

recordSourceName

The output name used in records for the $repository.repositoryName property. Set by default to record.source. The value of this property identifies the name of the source repository.

recordTypeName

The output name used in records for the $itemDescriptor.itemDescriptorName property. Set by default to record.type. The value of this property identifies the repository item type used to generate the record.


Copyright © 1997, 2015 Oracle and/or its affiliates. All rights reserved. Legal Notices