E-PC: "This content cannot be displayed in a frame." error when trying to open external website (Doc ID 2020102.1)

Last updated on NOVEMBER 18, 2016

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.53 and later
Information in this document applies to any platform.

Symptoms

External website is set to open by pressing a button on a page. The PeopleCode behind the button is as follows:

ViewURL(&URL);

Steps:
---------
1. Create a custom page and add a button
2. Add the Record field PeopleCode (Field Change) and add the following code:

&URL="http://www.oracle.com/index.html"
ViewURL(&URL);

3. Login to PIA and navigate to the page having the button

Error:
--------
"This content cannot be displayed in a frame"

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms