Configuration Guidelines > Configuring the User Interface > Template Files >

Before Modifying Templates Files

Although modifying templates for employee applications such as Siebel Sales and Siebel Call Center is typically not necessary, it is common to need to modify Web templates for customer and partner applications. For example, you may want to add a corporate logo to every page seen by your customers or partners.

When modifying Web templates, consider the following:

Before you modify Siebel Web templates, consider how you might configure objects definitions in Siebel Tools or use other means to meet your user interface requirements. For example:

If you must modify or create Web templates, try to keep the number to a minimum; the fewer, the better. Here are some general guidelines to help achieve this goal. The following list is ordered by the amount of effort that will be required to upgrade to a future release—the first item will require the least effort and the last item will require the most effort.

For a complete description of each standard template, see Siebel Tools Reference.

About Embedding JavaScript in Web Templates

It is not necessary to embed client-side JavaScript in Web templates. Instead, you can write client-side JavaScript in Siebel Tools using Browser Script. Browser Script allows you to interact with browser objects, such as form fields, and interact with Siebel objects, such as business components and business services. The advantage of using Browser Script is that, because it is developed in Siebel Tools, changes are stored in the Siebel Repository. And since Browser Script is not hardcoded into a template, applets with Browser Scripts can share the same template.

For more information about Browser Scripting, see Siebel Tools Reference and Siebel eScript Language Reference.

The general recommendation is to avoid embedding any client-side JavaScript in Web templates. Doing so not only limits the reusability of Web templates, but may also adversely affect Siebel employee applications that run in the High Interactivity Framework, which uses client-side JavaScript extensively.

 Configuration Guidelines 
 Published: 18 April 2003