This post is a contribution by Vaibhav Raj Saini who is having 3+ yrs of experience in siebel, sales logix and Java. I am sure his post will be a looping out solution for those who could not find starting point.
Once my (Vaibhav's) colleague who want to enter in siebel asked me how to learn siebel scripting then i told him let see a magic and i wrote a java script in my siebel application address bar and as soon as i hit enter it showed a alert message. you can go through these script and you know what will be the alert message.
javascript:alert(theApplication().GetProfileAttr("ActiveViewName"));
javascript:alert(theApplication().GetProfileAttr("Application Name"));
Then i told him siebel script is just like a java script the only thing you must know is the key word used in siebel for that you have to open siebel bookshelf and have a look at example script.
later on in our discussion i showed him how to write a Hello world script in siebel.
theApplication().alert( "Hello Word");
then how to show a field value in broser script
var msg = theApplication().ActiveBusObject().GetBusComp("Contact").GetFieldValue("Job Title");
theApplication().SWEalert( "" + msg);
and this way he got a start in siebel scripting.
Once my (Vaibhav's) colleague who want to enter in siebel asked me how to learn siebel scripting then i told him let see a magic and i wrote a java script in my siebel application address bar and as soon as i hit enter it showed a alert message. you can go through these script and you know what will be the alert message.
javascript:alert(theApplication().GetProfileAttr("ActiveViewName"));
javascript:alert(theApplication().GetProfileAttr("Application Name"));
Then i told him siebel script is just like a java script the only thing you must know is the key word used in siebel for that you have to open siebel bookshelf and have a look at example script.
later on in our discussion i showed him how to write a Hello world script in siebel.
theApplication().alert( "Hello Word");
then how to show a field value in broser script
var msg = theApplication().ActiveBusObject().GetBusComp("Contact").GetFieldValue("Job Title");
theApplication().SWEalert( "" + msg);
and this way he got a start in siebel scripting.