08 ustf

32
Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files- 1 These training materials are confidential to Siebel. They may not be used to train anyone other than Accenture employees who have attended Siebel training. If the materials are marked "Restricted Use Allowed" you may use the information to help clients who are evaluating vendors, one of which must be Siebel and you may use the information to help clients which are implementing Siebel. If they are not so marked, then the information may only be used to help clients who are implementing Siebel. In either case, you can not; (a) use the materials if you are involved developing or are likely to be involved in developing a product competitive to Siebel (b)use the materials for a client who is a competitor of Siebel; or (c) provide the materials to any third party, whether it is a client or otherwise. If you are going to be discussing Siebel with a client and using these training materials as the basis of information you provide to the client, you must also make sure Accenture has a nondisclosure agreement in place with the client (as part of a Consulting Services Agreement

Upload: alvaro-alcocer-sotil

Post on 22-Nov-2014

259 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files- 1

These training materials are confidential to Siebel. They may not be used to train anyone other than Accenture employees who have attended Siebel training.

If the materials are marked "Restricted Use Allowed" you may use the information to help clients who are evaluating vendors, one of which must be Siebel and you may use the information to help clients which are implementing Siebel.

If they are not so marked, then the information may only be used to help clients who are implementing Siebel.

In either case, you can not;(a) use the materials if you are involved developing or are likely to be involved in developing a product competitive to Siebel

(b)use the materials for a client who is a competitor of Siebel; or(c) provide the materials to any third party, whether it is a client or otherwise.

If you are going to be discussing Siebel with a client and using these training materials as the basis of information you provide to the client, you must also make sure Accenture has a nondisclosure agreement in place with the client (as part of a

Consulting Services Agreement or otherwise).

Page 2: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files- 2

Please adjust volume to hear audio.Audio will play automatically for

each slide upon advance.You may replay audio by clicking on

the speaker icon in the upper right hand corner of each slide.

Page 3: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files- 3

Understanding Siebel Template Files

Page 4: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 4

Module Objectives

This module will accomplish the following:

• Describe the role of Siebel Web Template Files

• Describe the role of Siebel Tags in Template Files

• Describe the types of Templates Siebel uses

• Describe how to register, associate, and bind a template file

Page 5: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 5

Physical User Interface

Architectural Layers

Page 6: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 6

UI Templates and Style Sheets

• UI Layout and Style comes from Templates and Style Sheets

Page 7: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 7

Display Object Architecture

Page 8: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 8

Using Web Templates

• Steps to Set Up and use Web Templates

Page 9: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 9

Siebel Template Files

• Are reusable blueprints for HTML pages Have .swt extension

• Define layout and formatting of objects created in Siebel Tools such as: Views

Applets

Controls

• Graphical element in an application that can display data

Return to Knowledge Check

Page 10: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 10

Siebel Template Files (cont’d)

• Can include other template files (swe:include tag) Enables modularization of the template files

Permits efficient reuse of files Minimizes maintenance and development effort

Page 11: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 11

Siebel Template Files (cont’d)

• Are stored as separate files outside the Siebel repository Located in the WEBTEMPL directory in a Siebel installation

Have .swt extension

• Are edited using a text or HTML editor of your choice

Page 12: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 12

Types of Templates

• Web Page Templates are those associated with the Application Object definition such as: Login Page

Error Page

Container Page

• View Templates contain placeholders that reference applets

• Applet Templates contain placeholders that reference controls Types of Applet modes are:

• Base

• Edit

• Edit List

• New

• Query

Return to Knowledge Check

Page 13: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 13

Template Contents

• HTML Tags:

Format the look of a Web Page

• Siebel Tags:

Position Siebel-specific information

• Client-Side Scripting

Enables certain kind of browser functionality

Generally browser script is added through tools rather than made part of the template

Return to Knowledge Check

Page 14: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 14

Web Template Explorer

• Use the Web Template Explorer in Siebel Tools to: Identify the template files included in a template file

Examine the contents of a template file

Invoke an editor to modify the template file

• Invoke by selecting ViewWindowsWeb Templates Window

Page 15: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 15

HTML Tags Example

• HTML Table Tags create a List Applet

Page 16: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 16

Siebel Tags

• Are a part of a Siebel developed library of tags

• Are placeholders for Siebel-specific content

• Cause the SWE to find an item in the repository to put in place of the tag such as:

Web page items

View bars

• All Siebel Tags must begin with swe:

Applets

Controls

Page 17: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 17

Siebel Tags

• Serve as placeholders for applet or control object definitions

Do not contain specific references to names of applets or controls

Page 18: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 18

Mapping Placeholders

• Not all placeholders in a template file need to be mapped HTML source is generated only for mapped placeholders

• Allows for views with varying number of applets to reference the same view Web template

• Allows for applets with varying number of controls to reference the same applet Web template

Page 19: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 19

Template Library

• A Siebel Web template can be referenced by multiple object definitions Consequence of a template containing placeholders

• Reuse of Templates: Allow for standardization of display from one object to the next

Save the cost of template creation

Simplify application-wide modification and update

Page 20: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 20

Reusing Templates

Page 21: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 21

Registering

Page 22: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 22

Template Registration

• Creates an object defined in Tools that points to the name of the physical file

• Standard templates are registered

• Register template files in tools using the Web Template Object Registration only needs to occur once

Page 23: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 23

Associating

Page 24: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 24

Associate the Object to the Template

• Association establishes the relationship in Tools between the applet and the Web Template Object The same applet will often have multiple associations as web

templates are used for specific purposes

• Display (Base)

• Edit

• Query

Page 25: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 25

Binding

Page 26: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 26

Bind a Control to a Placeholder

• The process of binding a specific control in the applet to a placeholder in the template SWE uses binding information to replace the Siebel placeholder

with an item in the repository

Bind using wizards or manually (drag and drop)

Page 27: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 27

The Binding Process

• Results in: Populating a HTML page with an object in the repository and with

the object’s corresponding data in the database

Displaying predefined text, like a label in place of a tag

Displaying a link or button enabling user interaction

Discarding a tag if no corresponding binding exists

Page 28: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 28

Binding (cont’d)

• Web Template Items contain the binding specification for the object

• Every object definition in Tools that has Binding information has item at the end of its name View Web Template Item: Child of View Web Template

Applet Web Template Item: Child of Applet Web Template

Web Page Item: Child of Web Page

Page 29: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 29

Summary

Now that you have completed this module, you shouldbe able to:

• Describe the role of Siebel Web Template Files

• Describe the role of Siebel tags in Template Files

• Describe the types of Templates Siebel uses

• Describe how to register, associate, and bind a template file

Page 30: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 30

Knowledge Check

Question Answer

Describe the role of Siebel Web Template Files.

Describe the role of Siebel Tags in Template Files.

Siebel Web Template Files are reusableBlueprints for HTML pages, and define the layout and formatting of objects created in Siebel Tools.

Siebel Tags position the Siebel-specific

Information within the HTML tags so you can control where Siebel content fits with respect to other features of the page.

Take this opportunity to check your knowledge of the concepts presented in this module. Try to answer the questions on the slide. The answer for each question will pop up as you advance the slide. Each answer may link back to the area within the presentation where that concept is presented. At the end of the section referenced you will find a ‘Return to Knowledge Check’ hyperlink, which will take you back to this slide.

Page 31: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 31

Knowledge Check (cont’d)

Question Answer

Describe the types of Templates Siebel uses.

Describe how to register, associate, and bind a template file.

Web page templates: are associated with the Application Object and specify the layout of the whole display.

View Templates: contain placeholders for referencing applets.

Applet Templates: contain placeholders for referencing controls.

Register: creates an object definition that points to the actual physical template file.

Associate: identifies the Web Template used to render a view or applet.

Bind: associates the parts that make an applet with the pieces in the corresponding template file.

Take this opportunity to check your knowledge of the concepts presented in this module. Try to answer the questions on the slide. The answer for each question will pop up as you advance the slide. Each answer may link back to the area within the presentation where that concept is presented. At the end of the section referenced you will find a ‘Return to Knowledge Check’ hyperlink, which will take you back to this slide.

Page 32: 08 ustf

Siebel 2001 Configuration ©Accenture Understanding Siebel Template Files - 32

Lab Activity

• Now is your chance to practice some of the concepts we've just covered.

• Proceed to Lab 1 for this module.