Enabling preview support for RESTful applications
If you are using REST services and customizing a service client to preview
content, you must modify the HCL Commerce configuration file to enable
<ServicesPreview>
. Enabling services preview allows your service client to
connect to the HCL Commerce server to process BOD and REST service requests and responses
with a preview token.
Services preview support is not enabled.
About this task
Procedure
- Open the HCL Commerce configuration file
-
Within the
<InstanceProperties>
tag, add the following code:<ServicesPreview enable="true"/>
- Republish the HCL Commerce application.