Skip Navigation
Expand
How can end-users see the most recent answers they viewed?
Answer ID 2018   |   Last Review Date 11/14/2018

How can end-users see the most recent answers they viewed?

Environment:

Customer Portal Version (CP), Recently Viewed Content Section

Resolution:

You can configure your Answers Detail page so that up to 5 answers that an end-user has previously viewed are listed. In order to be listed, the answers must have been viewed in the same session that the end-user is currently in.  This allows your end-users to easily access an earlier answer that may contain additional useful information for their topic of interest.

The method for enabling the previously viewed answers depends on which CP version is enabled for your end-user pages.

Customer Portal v3.3                                                                                                                                     

In CPv3.3, a developer can use the RecentlyViewedContent widget.  To display only published answers, add the content_type attribute and set the value to “answers.”.

<rn:widget path="discussion/RecentlyViewedContent" content_type="answers" />

To disable the Previously Viewed Answers section, remove the widget from the answers/detail.php file.

Note: The CP_COOKIES_ENABLED configuration setting must be enabled for this to work in CP v3.3.


Customer Portal v3.2 and earlier                                                                                                                    

In CP, the PreviousAnswers widget is included by default in the answers/detail.php file. This allows up to 5 previously viewed answers to display at the bottom of the Answers Detail page. 

To modify the maximum number of previous answers to display, add the number attribute to the widget:

<rn:widget path="standard/knowledgebase/PreviousAnswers" number="3" />

To disable the Previously Viewed Answers feature, remove the widget from the answers/detail.php file.


For additional information, refer to the 'Configure the Recently Viewed section' section in the Online Help User Guide documentation.  To access Oracle B2C Service manuals and documentation online, refer to the Documentation for Oracle B2C Service Products.