Setting up Lifestyle authoring application based on Discover Electronics Authoring Application
In my previous post, I have described the steps that need to be followed to create a new reference application(Lifestyle) based on the Discover-Electronics reference application. Having made any changes to the pages in lifestyle app in experience we would want to see how the page looks before promoting the content. That's where the preview application comes into pic. Clicking the preview button in the experience manager against each page designed in the experience manager opens up a new window depicting how the page looks with the changed configurations.
By default, when we create an Endeca application using discover-data, the preview settings are defines as below:
3. Navigate to ENDECA_TOOLS_CONF sub directory C:\Endeca\ToolsAndFrameworks\3.1.1\server\workspace\conf\Standalone\localhost, copy the
In my previous post, I have described the steps that need to be followed to create a new reference application(Lifestyle) based on the Discover-Electronics reference application. Having made any changes to the pages in lifestyle app in experience we would want to see how the page looks before promoting the content. That's where the preview application comes into pic. Clicking the preview button in the experience manager against each page designed in the experience manager opens up a new window depicting how the page looks with the changed configurations.
By default, when we create an Endeca application using discover-data, the preview settings are defines as below:
- Preview URL - http://localhost:8006/discover-authoring
- Link Service URL - http://localhost:8006/discover-authoring/link.json
Since we are using lifestyle application for application for any page changes, we shall focus on using lifesyle-authoring reference application for preview. Below are the steps to be followed to create a new authoring application based on discover-authoring reference application.
1. Navigate to C:\Endeca\ToolsAndFrameworks\3.1.1\referencedirectory, copy the
discover-electronics-authoring reference application folder, paste it in the same directory and name it as lifestyle-authoring
2. Modify the following properties in assembler.properties file of lifestyle-authoring reference application
C:\Endeca\ToolsAndFrameworks\3.1.1\reference\lifestyle-authoring\WEB-INF\assembler.properties
- workbench.app.name=lifestyle
- workbench.host=localhost
- workbench.port=8006
- workbench.publishing.serverPort=8007
- mdex.host=localhost
- mdex.port=18002
- logserver.host=localhost
- logserver.port=18010
discover-authoring.xml file, paste it in the same directory and rename it to lifestyle-authoring.xml and make the below changes
path="/lifestyle-authoring"
docbase="${catalina.base}/../../reference/lifestyle-authoring"
4. Under the preview settings for the lifestyle application in the experience manager, make the below changes
- Preview URL : http://localhost:8006/lifestyle-authoring
- Link Service URL : http://localhost:8006/lifestyle-authoring/link.json
5. Restart the EndecaToolsService
6. You should now be able to access http://localhost:8006/lifestyle-authoring reference application which is also the preview app that gets loaded when the preview button is used in the experience manager.
Shabari