This example explains how to create a ‘details’ page providing more information for each hit. To save time, we will create it by copying another page.
-
Go to the /search page, and from the page editing tools, select Copy.
-
At the prompt, enter
details
as the new page name.
-
On the new details page, select the Feeds view.
-
Drag a CloudView Search feed on the page and call it
cloudview
.
-
For Query, enter
rawurl:${page.params["q"]}
This is to make the query fetch the document that matches the returned URL, as we want to display the details of each hit in the new account page.
-
Select the Design view to customize the display of the details page. For example:
- You can choose to keep only the widgets Image, Spacer, and Result List on this page.
- You can select the metas to display, that is to say the information given by your details page, by going to the Hit metas tab and editing the list of metas to include.
-
Go back to the search page, and click the header of the Result List widget.
-
Configure the hit URL to open the /details page. For Hit URL, enter
details?q=${entry.metas["url"]}
-
Select the Preview to check your configuration changes.
-
Click Apply.