In order to be able to preview and edit site content from within Business Control Center using the Visual Merchandising feature, you must configure the host and URL information used to access the site.
This step is required for Business Control Center preview only.
Copy these files in the
CommerceAccelerator/Applications/B2CStore/src/main/config/atg/dynamo/service/preview
directory:CategoryPagePath.properties
CategoryPageURL.properties
HomePagePath.properties
HomePageURL.properties
Localhost.properties
ProductDetailPagePath.properties
ProductDetailPageURL.properties
Paste the copied files to the
CommerceAccelerator/Applications/
application-name
/src/main/config/atg/dynamo/service/preview
directory.Three of the files you pasted require modifications to change the context root specified in the preview paths. Modify those files to insert your application module’s context root.
In
HomePagePath.properties
:defaultPath=/
context-root
/home
In
ProductDetailPagePath.properties
:defaultPath=/
context-root
/product?productId=$id
In
CategoryPagePath.properties
:defaultPath=/
context-root
/browse?categoryId=$id