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

MOSC Banner

In comments field i want the text to be displayed in lines. with the following code it is displaying

edited Jan 24, 2012 1:32AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 9 commentsAnswered
function Application_Start (CommandLine)

{

TheApplication().SetProfileAttr("NewLine", "/ "+String.fromCharCode(13)+String.fromCharCode(10));

 

var boSP = TheApplication().GetBusObject("System Preferences");

var bcSP = boSP.GetBusComp("System Preferences");

with(bcSP)

            {

                ClearToQuery();

                        ActivateField("Name");

                        ActivateField("Value");

                        SetSearchSpec("Name", " ");

                        ExecuteQuery(ForwardOnly);

                        if(FirstRecord())

                        {

                          var strUrl = GetFieldValue("Value");

                          TheApplication().SetProfileAttr("", strUrl);

                        }

                       

            }

            bcSP = null;

            boSP = null;

            return(ContinueOperation);

}

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