There would have been umpteen number of situations where you might have felt the need for an easier way of debugging profile attributes than logging the values in a script, haven't you?.If yes, then here is a much simpler way and you can do this on the fly.
When the web client is up, replace the URL with the following script:
javascript: alert(theApplication().GetProfileAttr("gNewRecord"));where 'gNewRecord' is a profile attribute.
1. Place the below code in the address bar of the Siebel Application and hit Enter.
javascript:alert(theApplication().GetProfileAttr("Login Name")),results in SADMIN or CCHENG or valid login id.
2. Similarly to set a particular Profile Attribute you can write,
javascript: alert(theApplication().SetProfileAttr("Test", "TestValue"));
3. javascript: alert(var bo = theApplication().ActiveBusObject(););
This will return you the active bus object and assign it to the variable bo.
4. javascript: alert(theApplication().ActiveBusObject().GetBusComp("Contact").GetFieldValue("Last Name"););
This will return you the Contact’s Last Name in that instance. Similarly SetFieldValue on the fly can also be achieved.