Configure the Functionality

Define what functionality you require by specifying the required extensions, and performing other configuration tasks.

SAP Commerce Cloud is composed of component extensions. Each extension offers specific additional functionality, and may be dependent on other extensions to provide a module of features such as the Customer Service Module, or SmartEdit. You can also include your own custom extensions.

Setting the Administrator Password Manually

For security reasons, SAP Commerce Cloud comes with no default password for the Administrator user. Set this password in the local.properties file before you build or initialize the system for the first time.

Context

Carry out these steps only if you are installing SAP Commerce Cloud manually. For the correct procedure when you are installing using a recipe, see Setting the Administrator Password with a Recipe.

Procedure

  1. Navigate to hybris/config and open the local.properties file for editing
  2. Add the Administrator password with the initialpassword.admin property. or the y_initialpassword_admin environment variable.
    initialpassword.admin=<yourSecurePass>
  3. Save the file.

Next Steps

When you initialize the system for the first time, the password is loaded into the database. You can change it later using the Backoffice Administration Cockpit. Delete the password from local.properties after you initialize the system to protect it against unauthorized access.

Adding Required Extensions

Define which extensions you require by adding them to the localextensions.xml file. You can add either existing extensions that ship with SAP Commerce Cloud, or your own custom extensions.

Context

Only the core Platform extensions load by default. Any other functionality you require must be configured explicitly by including the desired extensions in localextensions.xml. You must always rebuild the installation whenever you change this file.

Procedure

  1. Go to /hybris/config and open the localextensions.xml file for editing.
  2. Add the list of extensions you wish to include within the <extensions> tag, similar to the following, then save the file.
    <hybrisconfig xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:noNamespaceSchemaLocation='../bin/platform/resources/schemas/extensions.xsd'>
    						<extensions>
    						<path dir='${HYBRIS_BIN_DIR}' autoload='false' />
    						<extension name='adaptivesearchsolr' />
    						<extension name='adaptivesearchbackoffice' />
    						<extension name='adaptivesearchsamplesaddon' />
    						<extension name='adaptivesearchwebservices' />
    						<extension name='commerceservicesbackoffice' />
    						<extension name='solrfacetsearchbackoffice' />
    						<extension name='solrserver' />
    						<extension name='yacceleratorbackoffice' />
    						<extension name='yacceleratorinitialdata' />
    						<extension name='yacceleratorfulfilmentprocess' />
    						<extension name='yacceleratorstorefront' />
    						<extension name='ycommercewebservices' />
    						<extension name='ycommercewebservicestest' />
    						<extension name='electronicsstore' />
    						<extension name='apparelstore' />
    						...
    						</extensions>
    						</hybrisconfig>
    					

    See the module documentation for the features you wish to include, along with the module dependency diagrams, to understand which extensions to add for your desired configuration.

  3. If you wish to configure the behaviour of the extensions, add configuration parameters to the local.properties file, which is also in the config directory.
  4. Build SAP Commerce Cloud now, or if you have additional configurations to perform, proceed with those before performing the build.