My Oracle Support Banner

The application is not rendering the javascript code on the homepage (Doc ID 804993.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version 7.8.2.9 SIA [19238] to 8.1.1.3 SIA[21219] [Release V7 to V8]
Information in this document applies to any platform.
""Checked for Relevance on 20-Feb-2010""
""CHECKED FOR RELEVANCE ON 13-SEP-2013""

Symptoms

Statement of what the issue is
After upgrade from 7.8.2.3 to 7.8.2.11, personalization with script tag stopped to work.

EXPECTED BEHAVIOR
-----------------------
Expect to retrieve the Validate Version from a file.

ACTUAL BEHAVIOR
-----------------------
It is displaying the entire code instead of the value.

STEPS
-----------------------
By following these steps the issue can be reproduced:
1.Setup the personalization
2. Navigate to Home Applet

ADDITIONAL INFOR
------------------------
o The loss of functionality
Stopped to work after upgrade

o Environment information like < Siebel 7.8.2.6 >
Dev 7.8.2.11

o Where it happened
Salutation applet

o How to configure
Create a new Personalization in Site Map -> Personalization Administration -> Rule set -> Under “Rule” list applet select “Version” -> Under “More Info” list applet go to “Include Expression” to view the javascript.


"<span style='color:3300CC; font: italic;'>Validation Version: <script language='Javascript'> var oFileSysObj; var oFile; var strVersion = '"+ LookupValue("AZ_VALIDATION_VERSION", "AZ_VALIDATION_VERSION") +"'; var strFilePath = 'C:\\Program Files\\sea782\\client\\BIN\\AZ_validation_version.txt'; if ('" + GetProfileAttr('Me.IsStandaloneWebClient') + "' == 'TRUE') { oFileSysObj = new ActiveXObject('Scripting.FileSystemObject'); if (oFileSysObj && oFileSysObj.FileExists(strFilePath)) { oFile = oFileSysObj.OpenTextFile(strFilePath, 1); strVersion = oFile.ReadAll(); } } document.write(strVersion); oFile = null; oFileSysObj = null; </script></span>"

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
Cause
Solution
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.