My Oracle Support Banner

E-PC: ViewContentURL Not Working For UNC Network Shared Paths (Doc ID 2234745.1)

Last updated on NOVEMBER 23, 2019

Applies to:

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


ViewContentURL no longer works with UNC network shared paths in 8.55.  Per PeopleBooks, it's supposed to be work, and an example is even provided in PeopleBooks:

The JavaScript window open method uses the backslash (\) as a quote for the next character. You must use double backslashes for the ViewContentURL function to work a JavaScript. Note the four backslashes in the beginning of the following code example:

However, calling code like the sample code in PeopleBooks leads to the UNC path not being opened, and instead ViewContentURL thinks it's a component.

For example, calling code:
ViewContentURL("\\\\hostname\\SHARED_FOLDER\\test.txt", True);

The URL the browser tries to open ends up being:

And that is an invalid URL.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.