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

MOSC Banner

Siebel - dynamically change control properties

edited Aug 20, 2014 12:33AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 4 commentsAnswered ✓

We are using Siebel 8.1.1.7 SIA [21238].   I am looking for a way to dynamically change the color of a text field OR it's label.  (Example... If field is blank, make label RED.   OR, if field X = "Male", make value in field Y BLUE)

Anyone know a way to do this?

I was trying the browser script route but doesn't seem to work.   I am trying it on a basic Contact Form Applet (Applet Form Grid Layout).  Here is sample script I tried. 

function Applet_ChangeRecord ()
{
  var oBusComp = this.BusComp();
  var value = oBusComp.GetFieldValue("Marital Status");

  if (value == "Unknown")
  {
    var label = this.FindControl("Marital Status");

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