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/previewdirectory:CategoryPagePath.propertiesCategoryPageURL.propertiesHomePagePath.propertiesHomePageURL.propertiesLocalhost.propertiesProductDetailPagePath.propertiesProductDetailPageURL.properties
Paste the copied files to the
CommerceAccelerator/Applications/application-name/src/main/config/atg/dynamo/service/previewdirectory.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/homeIn
ProductDetailPagePath.properties:defaultPath=/context-root/product?productId=$idIn
CategoryPagePath.properties:defaultPath=/context-root/browse?categoryId=$id

