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

MOSC Banner

Set field read only on pick applet (QueryMode)

edited May 28, 2020 10:58PM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 6 commentsAnswered

Hi,

I'm using Siebel 8.1.1.11 (OpenUI).

I have a customer requirement to set a field (list column) read only after setting a checkbox field to true. There is four problem with this requirement:

  • It's a List Pick Applet
  • Its open on Query Mode (Auto Query Mode applet property)
  • It's a applet based on a VBC
  • Open on product configurator

I tried using  Applet_ChangeFieldValue Event on browser script to set the field read only using this code:

function Applet_ChangeFieldValue (field, value)

{

      if (field == "FieldName" && value == "Y") {

          applet.GetControl("ControlName").SetProperty("ReadOnly", true);

      } else  {

         applet.GetControl("ControlName").SetProperty("ReadOnly", false);

      }

}

But it didn't work. Then I saw in bookshelf:

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