Skip Navigation
Opening Answers in Customer Portal
Answer ID 4227   |   Last Review Date 12/18/2018

How do I configure answers to pop up in a new window in Customer Portal?


Customer Portal pages, Answers
Oracle B2C Service


You may prefer to open answers in a new separate browser window to keep your customers on your site. You can accomplish this by specifying Target links for the Summary column in the report that is used on your answers/list.php page. If you are currently using standard report "Answers–Complex Expression Search Default " (report ID 176) on the answer/list.php page, you will first need to create a custom report so that you can edit the report. Then you must replace the standard report in the /views/pages/answers/list.php file with the custom report you created.

To copy the standard Answers report:

  1. Log in to Oracle B2C Service.  
  2. Click Analytics.
  3. Double-click Reports Explorer.
  4. Click Find in the Navigation group on the ribbon.
  5. Select ID in the Find Using drop-down menu.
  6. Select the Equal To radio button.
  7. Type 176 in the field.
  8. Click Find. The Answers–Complex Expression Search Default report displays in the right column.
  9. Right-click the report and select Copy. The Copy Answers window opens.
  10. Type a name for the custom report you are going to create in the Name field, for example, Custom Answers.
  11. Click OK.

In order for answers to open in a new window, you need to set the Target field to "_blank".  The target attribute specifies where to open the link.  _blank opens the linked document in a new window or tab.

To set the Target field to "_blank":

  1. Open customer answer report (used on answers/list.php page) in Edit mode.  
  2. Right-click Summary column 
  3. Select Edit Format
  4. Click the URL tab
  5. Click Advanced URL Definition link
  6. In the Target field type _blank
  7. Click Okay
  8. Save the report

Column Formatting options, select URL tab

For basic instructions on how to create a custom report refer to Answer ID 2509: Creating a basic custom report

To configure this option in a non customer portal site refer to Answer ID 2459: Different answer types - HTML, URL and Attachment

Notify Me
The page will refresh upon submission. Any pending input will be lost.