Endeca applications accessed by ATG should be created using the product catalog-specific deployment template. This template creates pages and content collections based on Oracle Endeca’s Discover reference application. These pages and content collections must be removed and replaced with pages and content collections that are appropriate for the ATG sample query application. This section provides instructions on how to do this.
To delete the existing pages and content collections:
In a browser, go to your Endeca Workbench. If you used the defaults during your Endeca installation, the Workbench URL is:
http://localhost:8006Enter your Workbench username and password (admin/admin are the defaults) and choose your production application from the Application menu. If your environment has separate production applications for each language (for example,
ATGProden,ATGProdes, orATGProdde), choose any one of them. You will have to repeat these procedures for all of your language-specific production applications.Click Experience Manager.
Delete all of the existing pages and content collections. To delete an item, highlight it, click its Actions arrow, and choose Delete. Click Delete again to confirm the removal.
To create a /browse page:
Click the Actions arrow for Pages and choose Add Page.
Enter
browsefor the Name/URL and click Create.Note: Do not change the name of this page. The Assembler integration API relies on the name
browse.Click Select Template. The Select Template window appears.
Select
PageSlotand click OK.Click Save.
To create the content collections for the /browse page:
Click the Actions arrow for Content and choose Add Collection.
Enter
browseCollectionfor the name, choose Page from the Content Type Allowed menu, and click Add.Click New Page.
Click Select Template, choose
TwoColumnPage, and click OK.On the Content Editor tab, click
headerContentto specify the cartridges that will appear in the header area of the two column page.Under Section Settings, click Add. Choose the
SearchBoxand click OK.Click
secondaryContentto add content to the left hand rail of the two column page.Under Section Settings, click Add. Choose
Breadcrumbsand click OK.Under Section Settings, click Add again. Choose
ContentSlotSecondaryand click OK.Click
mainContentto add content to the main portion of the two column page.Under Section Settings, click Add again. Choose
ContentSlotMainand click OK.Click the Activate link, then click Save Changes.
To configure the /browse page to use the browseCollection:
In the Pages listing, click the
browsepage.Click the Content Collection menu and choose
/content/browseCollection, then click Save Changes.
To configure the secondary content on the /browse page:
Click the Actions arrow for Content and choose Add Collection.
Enter
secondaryCollectionfor the name, chooseSecondaryContentfrom the Content Type Allowed menu, and click Add.Click New SecondaryContent.
Click Select Template, choose
GuidedNavigation, and click OK.On the Content Editor tab, click Generate Guided Navigation. The Generate Guided Navigation window appears.
Click Select All, then click Generate Cartridges.
Click the Activate link, then click Save Changes.
Expand the
browseCollectionitem and click New Page.On the Content Editor tab, under
secondaryContent, clickSecondary Content Slot.Click the Content Collection menu and choose
/content/secondaryCollection, then click Save Changes.
To configure the main content on the /browse page:
Click the Actions arrow for Content and choose Add Collection.
Enter
mainCollectionfor the name, chooseMainContentfrom the Content Type Allowed menu, and click Add.Click New MainContent.
Click Select Template, choose
ResultsList, and click OK.Make sure that Relevance Ranking is set to Margin Bias.
Set the Default Sort to Default.
Click the Activate link, then click Save Changes.
Expand the
browseCollectionitem and click New Page.On the Content Editor tab, under
mainContent, clickMain Content Slot.Click the Content Collection menu and choose
/content/mainCollection, then click Save Changes.
To create a /product page:
Click the Actions arrow for Pages and choose Add Page.
Enter
productfor the Name/URL and click Create.Note: Do not change the name of this page. The Assembler integration API relies on the name
productfor the product detail pages.Click Select Template. The Select Template window appears.
Select
PageSlotand click OK.Click Save.
To create the content collections for the /product page:
Click the Actions arrow for Content and choose Add Collection.
Enter
productCollectionfor the name, choose Page from the Content Type Allowed menu, and click Add.Click New Page.
Click Select Template, choose
OneColumnPage, and click OK.On the Content Editor tab, click
headerContentto specify the cartridges that will appear in the header area of the one column page.Under Section Settings, click Add. Choose the
SearchBoxand click OK.Click
mainContentto add content to the main area of the one column page.Under Section Settings, click Add. Choose
ProductDetailand click OK.Click the Activate link, then click Save Changes.
To configure the /product page to use the productCollection:
In the Pages listing, click the
productpage.Click the Content Collection menu and choose
/content/productCollection, then click Save Changes.
To promote your changes to the Endeca application:
In a command prompt or UNIX window, go to the
/controldirectory for the application you just configured, for example,usr/local/Endeca/Apps/ATGProden/controlorC:\Endeca\Apps\ATGProden\control.Run the
promote_content.sh|batscript.
IMPORTANT: For environments that have a separate production application for each language (for example, ATGProden, ATGProdes, or ATGProdde), repeat these procedures for each application.

