Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Replace function in core-siebel.js file

edited Nov 30, 2018 12:23AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 5 commentsAnswered

We need to replace the following functions in OOTB core-siebel.js file: ForceHistoryEntry and UpdateHistoryState. New code can be found below, this is to set document.title with Application Title.

What is the best approach to replace the functions from OOTB core-siebel.js file?

We updated Manifest Administration to use file from CUSTOM folder under \PUBLIC\SCRIPT\SIEBEL and we inactivated the OOTB entries for core-siebel.js file however custom file does not get downloaded.

New code:

function ForceHistoryEntry(e)

{

var t = history.state,

n = {};

n.hnact = t.data.hnact, n.hex = t.data.hex, n.hnactf = "SiebelApp.contentUpdater.ProcessHistoryInfo( '" + e.iframeOrig + "', '" + e.iframeNow + "', '" + t.data.hnact + "' );", document.title = SiebelApp.Environment.GetAppTitle(), history.pushState(n, t.title, t.url)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center