close

Filter

Connector for Salesforce Commerce Cloud Manual / Version 2010

Table Of Contents

9. Commerce Adapter Properties

sfcc.cache.capacities
Type java.util.Map<java.lang.String,java.lang.Long>
Default  
Description

Number of cache entries per cache key, until cache eviction takes place.

Example: sfcc.cache.capacities.product=50000

sfcc.cache.enabled
Type java.lang.Boolean
Default true
Description

Enable or disable caching.

sfcc.cache.timeout-seconds
Type java.util.Map<java.lang.String,java.lang.Long>
Default  
Description

TTL in seconds until certain cache entries are invalidated.

Example: sfcc.cache.timeout-seconds.product=300

sfcc.default-locale
Type java.util.Locale
Default  
Description

The default locale for accessing the commerce system if no locale parameter was passed into request.

sfcc.host
Type java.lang.String
Default shop.demandware.net
Description

The full qualified hostname of the SFCC instance.

sfcc.link.category-page-link-template
Type java.lang.String
Default  
Description

Link template for links to product detail pages (PDPs).

Used to link to PDPs in the CoreMedia CMS. Template string is usually post processed on the commerce side.

sfcc.link.cm-ajax-link-template
Type java.lang.String
Default  
Description

Link template for AJAX URLs.

For example used to include personalized contents/fragments. Template String is usually post processed on the commerce side.

sfcc.link.cm-content-link-template
Type java.lang.String
Default  
Description

Link template for links to CoreMedia content.

Template string is usually post processed on the commerce side.

sfcc.link.product-page-link-template
Type java.lang.String
Default  
Description

Link template for links to product detail pages (PDPs).

Used to link to PDPs in the CoreMedia CMS. Template string is usually post processed on the commerce side.

sfcc.link.shop-page-link-template
Type java.lang.String
Default  
Description

Link template for links to shop pages.

Shop pages are represented with "Augmented Pages" in the CoreMedia CMS. Template string is usually post processed on the commerce side.

sfcc.link.storefront-url
Type java.lang.String
Default  
Description

Base URL of the commerce storefront

sfcc.link.storefront-url-for
Type java.util.Map<java.lang.String,java.lang.String>
Default  
Description

Storefront URLs, which are used to build storefront links to shop pages and resources for different environments. The structure of the Map should be: key=environment, value=url. The environment is the hardcoded name of the entity param which must be configured on the CM App side e.g. `commerce.hub.data.customEntityParams.environment=US|DE``

IMPORTANT! The keys used here, must match those used on the CM App side via metadata.custom-entity-param-names={environment}

Use this property if the adapter needs to distinguish environments. In this case it is required to set the above mentioned custom entity param.

Examples:

sfcc.link.storefront-url-for.us=https://sandbox-us.demandware.net/on/demandware.store/
sfcc.link.storefront-url-for.us=https://sandbox-de.demandware.net/on/demandware.store/
sfcc.oauth.client-id
Type java.lang.String
Default  
Description

ClientID used for all Data and Shop REST API Calls to the Salesforce Commerce System. Used to set permissions for the ClientID on Shop and Data API - for example, which resources the ClientID is allowed to access

sfcc.oauth.client-password
Type java.lang.String
Default  
Description

Password used together with the clientId.

sfcc.oauth.host
Type java.lang.String
Default account.demandware.com
Description

Host name of central SFCC endpoint for authentication.

No need to customize.

sfcc.oauth.path
Type java.lang.String
Default /dw/oauth2/access_token
Description

Path to retrieve access token.

sfcc.oauth.protocol
Type java.lang.String
Default https
Description

Protocol used to request access token.

sfcc.ocapi.data.customer-groups.count
Type java.lang.Integer
Default  
Description

Optional count for retrieving only a subset of all customer groups. If not set, the default behaviour of the salesforce Data API will apply.

sfcc.ocapi.host
Type java.lang.String
Default sandbox.demandware.net
Description

Host name (FQDN) of your SFCC Instance.

sfcc.ocapi.http-client.accept-cookies
Type java.lang.Boolean
Default false
Description

Setting if cookies should be accepted.

sfcc.ocapi.http-client.connection-pool-size
Type java.lang.Integer
Default 20
Description

Defines the overal connection limit for a connection pool.

sfcc.ocapi.http-client.connection-request-timeout-ms
Type java.lang.Integer
Default 60000
Description

Http Client Configuration for Rest communication with SFCC OCAPI Services.

sfcc.ocapi.http-client.connection-timeout-ms
Type java.lang.Integer
Default 60000
Description

Http Client Configuration for Rest communication with SFCC OCAPI Services.

sfcc.ocapi.http-client.max-connections-per-route
Type java.lang.Integer
Default 2
Description

Defines a connection limit per one HTTP route.

sfcc.ocapi.http-client.network-address-cache-ttl-ms
Type java.lang.Integer
Default 30000
Description

Http Client Configuration for Rest communication with SFCC OCAPI Services.

sfcc.ocapi.http-client.socket-timeout-ms
Type java.lang.Integer
Default 60000
Description

Http Client Configuration for Rest communication with SFCC OCAPI Services.

sfcc.ocapi.http-client.trust-all-ssl-certificates
Type java.lang.Boolean
Default true
Description

Setting if client should trust all ssl certificates.

sfcc.ocapi.protocol
Type java.lang.String
Default https
Description

Protocol used for OCAPI REST communication.

sfcc.ocapi.sandbox
Type java.lang.Boolean
Default false
Description

Set to true if integrating with a sandbox instance. Adjust base paths for REST API requests

On sandbox instances the base paths must be prefixed with '/s/{siteId}' see: https://documentation.demandware.com/DOC2/topic/com.demandware.dochelp/OCAPI/16.4/usage/UrlSchema.html

sfcc.ocapi.version
Type java.lang.String
Default v18_8
Description

Version of Rest Service used.

URI path variant of {@link SfccConfigurationProperties#SFCC_VENDOR_VERSION}

sfcc.vendor-version
Type java.lang.String
Default 18.8
Description

REST API Version used for REST communication with the commerce system.

metadata.additional-metadata
Type java.util.Map<java.lang.String,java.lang.String>
Default  
Description

Map of additional metadata.

Can be used as customization hook. All properties starting with "metadata.additional-metadata.*" are transmitted to the generic client on the CMS side.

metadata.custom-entity-param-names
Type java.util.Collection<java.lang.String>
Default  
Description

List of parameter names, which values need to be transmitted with every entity request from the CMS side.

metadata.replacement-tokens
Type java.util.Map<java.lang.String,java.lang.String>
Default  
Description

Map of key value pairs.

Used as replacement map for example for link building in the generic client on the CMS side.

metadata.supports-multi-catalog
Type java.lang.Boolean
Default false
Description

Flag if commerce adapter implementation supports multiple catalogs.

metadata.vendor
Type java.lang.String
Default  
Description

Name of the vendor.

Used to identify the connected vendor on the CMS side.

Table 9.1. SFCC Commerce Adapter related Properties


Search Results

Table Of Contents