Internet Explorer Address Bar and Siebel Browser Script

An IE address bar in Siebel can be used for more than just showing the current web address or the current URL. This tip or piece of info was recently discovered by a colleague of mine Tejeshwer AnandBelow are the instructions on how to use it.

  • Open your Siebel Application Client (Thin or Dedicated)
  • Just go the address bar as shown in the picture below.
  • Type the following code in the Address Bar as shown in the picture
     javascript:alert(theApplication().GetProfileAttr("Me.First Name"));
  • Hit Enter Key
  • It will return you the First Name of the person logged it.

I guess now you know what I am trying to say.Using this technique you can do whatever is possible through browser scripts. The reason being browser scripts are nothing but JavaScript code and a corresponding JS file is generated for the object on which you write the browser script. So you can directly write the browser script code in the address bar after JavaScript prompt and it will do just like it does in broswer script.

You can even call a business service through this technique provided your CFG contains the entry for that BS.

For example you can write.
javascript:alert(var bo = theApplication().ActiveBusObject(););
This will return you the active bus object and assign it to variable ‘bo’.

This can be real handy if you want to check, weather a particular Profile Attribute has been successfully SET or NOT or in case you want to SET 😉 a particular Profile Attribute.

To set a particular Profile Attribute you can write
javascript:alert(theApplication().SetProfileAttr("Test",”TestValue”));

Enjoy :)

Contribute