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

MOSC Banner

Caption 'Saved Queries' Is Not Visible On Open UI Application Home Page (Doc ID 1629954.1)

edited Nov 30, 2018 12:44AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 1 comment

This document says to add this code to a core .js file

Add the following piece of script to <Client>\public\<lang>\<build>\scripts\postload.js

if ( $(".JPEPDQLabel").length == 0) {
  $("[name='s_pdq']").parent().addClass("JPEPDQLabel").prepend("Saved Queries: ");
}


After the addition, your postload.js file looks like this:

if (typeof (SiebelAppFacade.Postload) == "undefined") {
    Namespace('SiebelAppFacade.Postload');

    (function(){
        SiebelApp.EventManager.addListner( "postload", OnPostload, this );
        function OnPostload( ){
            try{
                console.log("Loaded");
                if ( $(".JPEPDQLabel").length == 0) {  
                    $("[name='s_pdq']").parent().addClass("JPEPDQLabel").prepend("Saved Queries: ");
                 }
            }
            catch(error)
            {
                //No-Op
            }
        }
    }());
}

I was able to effect the same by changing line 38 of our custom version of theme-base

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