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

MOSC Banner

Unable to update the toggles based on one of the toggle value in an applet

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

Hi,

I have 4 toggles in an applet. If i selected one of the toggle value to Yes then i need to change remaining 3 toggle values to N immediatly.

I wrote the below code in PM but found that PM/PR isnt invoked when toggle is changed in openui. Could you please let me know where below code needs to be implemented. Any help is appreciated.

function OnFieldChange() {

                   

                    var controls = this.Get("GetControls");

                    var ProductMember = controls["ContactAll "];

                    var value = this.ExecuteMethod("GetFieldValue", ProductMember);

                    if(value == "Y")

                    {

                        this.SetProperty("Publish", "N" );

                        this.SetProperty("Other Product", "N" );

                        this.SetProperty("Connect", "N" );

                    }

                   

}

Regards

Deepu

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