GetControlId Method

The GetControlId method gets the control ID of a toggle applet. It uses the following syntax:

GetControlId() 

For example, the following code gets the control ID of the toggle applet that Siebel Open UI currently displays in the client. This code resides in the applet.js file:

return this.GetToggleApplet().GetControlId(); 

You can add the following code to the physical renderer:

var ToggleEl = this.GetPM().ExecuteMethod("GetControlId"); 

For information about where you add this code, see Adding Code to the Physical Renderer.