Bookshelf Home | Contents | Index | PDF |
Configuring Siebel Business Applications > About Siebel Web Templates and Siebel Tags > About Siebel Web Templates > Overview of Siebel Web TemplatesA Siebel web template includes a preset format that Siebel CRM reuses each time it requires a particular layout. This configuration allows Siebel CRM to use only a single template rather than multiple files every time it requires a particular layout. For more information, see Siebel Web Template. A Web browser uses HTML to define the layout and format of a page. Siebel web templates provide this HTML layout to the Siebel Web Engine when it displays Siebel objects in the Siebel client. The templates contain markup tags, such as HTML, WML, and XML, that Siebel CRM intersperses with Siebel tags. Siebel CRM prefixes these tags with the following text: A Siebel web template includes empty placeholders that contain no data. To enter data and user interface elements into a template, Siebel CRM associates views, applets, controls, and other objects with each template. These objects are defined in the Siebel repository. Siebel CRM maps each object to an empty placeholder in the template. For example, assume a view maps to three applets. You associate a view web template with the view, and then map each applet to a placeholder in that template. How Siebel CRM Displays a Wireless ApplicationSiebel CRM displays a wireless application in the same way that it displays an application that is not wireless except for the fact that the markup language in the templates use WML or XML code. This topic describes configuration for Web (HTML) applications, but many of the concepts that this chapter describes are generic across markup languages. Types of Siebel Web TemplatesSiebel CRM uses the following types of Siebel web templates:
Siebel CRM can contain other pages that do not contain any Siebel tags. For example, you might include an About This Application help page. This page is not a template. Development Environment You Use to Create HTML OutputFigure 30 describes the development environment you can use to create HTML output. The Siebel Web Engine uses templates, repository definitions, and HTML to create HTML output. Explanation of CalloutsYou use the development environment to do the following:
If a Siebel client requests a view, then the Siebel Web Engine does the following:
Siebel Web Template ReuseYou can share a Siebel Web template among many objects in the Siebel repository. A template includes placeholders that do not contain data, so Siebel CRM can map any number of repository objects to a placeholder. This configuration allows you to modify only one template to apply style or structural modifications to numerous user interface elements. A typical Siebel application contains approximately 5 to 50 templates. These templates form the basis for several hundred views and applets. For example, Siebel CRM can share a template that defines the layout and format of a predefined list applet among all the list applet definitions that reside in the Siebel repository. If a placeholder is not mapped, then the Siebel Web Engine ignores it. It also ignores the HTML that exists between the Siebel tags that define the placeholder. For example, if the template contains the layout for a list applet that is 10 columns wide but only two of the columns are mapped, then the Siebel Web Engine ignores the other eight unmapped columns. This configuration improves efficiency and performance. Flexibility of UseSiebel CRM comes with many predefined applet web templates and view web templates that you can modify. To support your business processes, it might not be necessary for you to modify any of the applet web templates and view web templates. In some situations, especially with customer and partner applications, you can modify predefined templates to reflect the look and feel that your company requires. You can create entirely new templates. A Siebel Web template file can include another Siebel Web template. Siebel CRM uses this configuration to improve efficiency. For example, to separate how Siebel CRM handles an applet title from how it handles the applet body, you can create a template file that includes the title in the applet template. This configuration allows you to define an applet layout one time, and then combine it with multiple different title layouts. A Siebel Web template must use valid HTML. It is recommended that you do not add JavaScript beyond what the Siebel Web Engine already creates. If it is necessary to add JavaScript, then you must use Siebel Tools to define browser script. You can use Siebel Tools or an external editor to modify a template. For more information, see Using Siebel Tools. Support for Multiple Browser TypesThe layout and style of HTML Web pages is dynamic. This configuration allows Siebel CRM to simultaneously support multiple browser types and versions. A Siebel web template supports conditional branching. Siebel CRM evaluates conditions according to the results that a business service returns. |
Configuring Siebel Business Applications | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |