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

MOSC Banner

Siebel Open UI adding custom control to Form Applet

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

Hi,

I would like to add custom Text Control to a form applet, just like the one in bookshelf for list column:

XXXAppletPM.prototype.Setup = function (propSet) {

var mycontrol = SiebelApp.S_App.GetAppletControlInstance("UP_ARROW",

consts.get("SWE_CTRL_LABEL"), "Up", "40");

this.Get("GetListOfColumns")["UP_ARROW"] = mycontrol;

SiebelAppFacade.XXXAppletPM.superclass.Setup.call(this, propSet);

};

My code is as follows:

AccountPM.prototype.Setup = function (propSet) {

  var mycontrol = SiebelApp.S_App.GetAppletControlInstance (

  "Client_Select",

  consts.get("SWE_CTRL_TEXT"),

  "Address",

  "250");

  this.Get("GetControls")["Client_Select"] = mycontrol;

  // Setup is called each time the object is initialised.

  // Add code here that should happen before default processing

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