Javascript file with Alert not Executed From WebCenter Portal
(Doc ID 2917803.1)
Last updated on MARCH 27, 2023
Applies to:
Oracle WebCenter Portal - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
Javascript file with Alert is not executed from WebCenter Portal.
Other Javascript files can be executed without issue.
STEPS
The issue can be reproduced with the following steps:
- Create a Javascript file that calls an alert.
e.g.:
myFunction.js
- Upload the html file to WebCenter Portal.
-
Go to the Documents page of the portal where the Javascript file was uploaded.
-
Upload the TestAlert.html file.
-
Select the TestAlert.html file and click "Get Link" to get the document links.
-
Note down the file additional link.
It should look like this:
http://<HOST>:<PORT>/webcenter/content/conn/WebCenterSpaces-ucm/path/Enterprise Libraries/PortalTest/TestAlert.html
-
- Open a new browser window and enter the html document URL. Notice the alert does not work.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |