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

MOSC Banner

custom toolbar PR

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

Hi,

I'd like to have a custom Toolbar PR for a customer facing application, while maintaining the out-of-the-box toolbar renderer for employee applications. So I tried the code below but it doesn't work at all, it seems..

custom ToolbarRenderer

if( typeof( SiebelAppFacade.CustomToolbarRenderer ) === "undefined" ){

 

    SiebelJS.Namespace( "SiebelAppFacade.CustomToolbarRenderer" );

  

    define("siebel/custom/customtoolbarrenderer", [], function () {

  

        SiebelAppFacade.CustomToolbarRenderer = ( function(){

      

            function CustomToolbarRenderer( pm ){

                SiebelAppFacade.CustomToolbarRenderer.superclass.constructor.call( this, pm );

            }

            SiebelJS.Extend( CustomToolbarRenderer, SiebelAppFacade.ToolbarRenderer );

            CustomToolbarRenderer.prototype.Init = function () {

                SiebelAppFacade.CustomToolbarRenderer.superclass.Init.call(this);

            };

            CustomToolbarRenderer.prototype.ShowUI = function () {

                SiebelAppFacade.CustomToolbarRenderer.superclass.ShowUI.call(this);

                $(".siebui-toolbar-enable").children().remove();

                $(".siebui-toolbar-enable").each(function (){$(this).text($(this).attr("title"))});

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