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:8006
Enter 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
browse
for 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
PageSlot
and click OK.Click Save.
To create the content collections for the /browse
page:
Click the Actions arrow for Content and choose Add Collection.
Enter
browseCollection
for 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
headerContent
to specify the cartridges that will appear in the header area of the two column page.Under Section Settings, click Add. Choose the
SearchBox
and click OK.Click
secondaryContent
to add content to the left hand rail of the two column page.Under Section Settings, click Add. Choose
Breadcrumbs
and click OK.Under Section Settings, click Add again. Choose
ContentSlotSecondary
and click OK.Click
mainContent
to add content to the main portion of the two column page.Under Section Settings, click Add again. Choose
ContentSlotMain
and 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
browse
page.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
secondaryCollection
for the name, chooseSecondaryContent
from 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
browseCollection
item 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
mainCollection
for the name, chooseMainContent
from 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
browseCollection
item 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
product
for the Name/URL and click Create.Note: Do not change the name of this page. The Assembler integration API relies on the name
product
for the product detail pages.Click Select Template. The Select Template window appears.
Select
PageSlot
and click OK.Click Save.
To create the content collections for the /product
page:
Click the Actions arrow for Content and choose Add Collection.
Enter
productCollection
for 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
headerContent
to specify the cartridges that will appear in the header area of the one column page.Under Section Settings, click Add. Choose the
SearchBox
and click OK.Click
mainContent
to add content to the main area of the one column page.Under Section Settings, click Add. Choose
ProductDetail
and 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
product
page.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
/control
directory for the application you just configured, for example,usr/local/Endeca/Apps/ATGProden/control
orC:\Endeca\Apps\ATGProden\control
.Run the
promote_content.sh|bat
script.
IMPORTANT: For environments that have a separate production application for each language (for example, ATGProden
, ATGProdes
, or ATGProdde
), repeat these procedures for each application.