Vous êtes sur la page 1sur 22

Siebel 8.

0 Essentials

Working with Objects

1 of 22

Module 22: Working with Objects

Module Objectives
To understand the fundamental activities that occur during

configuration, which can be stated as:


Understand the process of creating new and editing existing object definitions Validate the modified object definitions and compile them in the Siebel Repository File (SRF) Copy, Delete the object definitions Archive object definitions and projects

Working with Objects

3 of 22

Creating a New Object definition


New object wizards are used to create objects whenever possible

Example: To create a new BC, use the Business Component wizard


New object wizards provides guidance through the process of

configuring a given object


Select the new object from the wizard that needs to be created

Working with Objects

4 of 22

Creating a New Object definition

Alternatively, object definitions for a given object type can be created manually in the Object Explorer
Select the desired object type in the Object Explorer Create a new record in the Object List Editor

Only the Locked projects are available for objects creation


Add a unique name, assign it to a Locked project and assign values to remaining properties as necessary

Pencil indicates the object is Locked or Editable

Working with Objects

5 of 22

Editing Object Definitions


Object definitions can be modified using either the Object List Editor or

the Properties window.


Ensure that the project has been locked

Working with Objects

6 of 22

Copying and Deleting Objects


One method of creating an object is to copy an existing object, rename

and change properties of the copy as necessary


Select an object in the Object List Editor and choose Edit > Copy Record
For deleting an object, select it in the Object List Editor and choose

Edit > Delete Record


Allow Object Locking property set to FALSE for the project of the object that needs to be deleted Deletion does not cascade. For example, deleting a view will not delete its associated applets
Its strongly recommended not to delete an object but instead make it

inactive

Working with Objects

7 of 22

Changed Flag
Indicates records that have been modified since the changed date

Is set whenever a record is edited. The Changed flag indicates only that the record has been touched. A developer may change the value of a property and then undo the change. Is cleared by resetting the changed date value
Changed flag Cascades upwards

When an object is edited or created, the Changed Flag is set for its parent object, if any, and for the parent object of that parent, and likewise up through the hierarchy

Indicates that the BC has been changed (touched) since 11/23/2007

Working with Objects

8 of 22

Validating Object Definitions


Validation is based on a set of rules that ensures configuration

changes done are logically consistent with other objects


Select an object definition in the Object List Editor. Right Click and select Validate. Click Start on the Validate Dialogue Box

Working with Objects

9 of 22

Archiving Projects
Projects can be archived to .sif files

Select the project to be archived Select Tools > Add to Archive Select an existing (or create a new) archive file Click Save in the Export to Archive File dialog box

Individual object definitions can also be archived


Location where the archive file need to be saved

Working with Objects

10 of 22

Archive Files
Archive Files Contain projects or object definitions exported from a repository Available for importing into other repositories Have .sif extension by default Are used to share projects among developers Are used to back up projects Can be version-controlled using source code control systems Recommendations Archiving individual objects Could result with inconsistent object definitions Difficult to recover from a partial or incomplete archive Archive at appropriate intervals Prior to implementing a large amount of work After testing a section of work Several times per day during heavy development

Working with Objects

11 of 22

Generating a Mid-Level Release


All object definitions modified after a certain date can be exported from

Siebel Tools to generate a mid-level release After successful generation, a subdirectory is created in SIEBEL_TOOLS_ROOT\ADM. It contains:
SIF file An XML description of the mid-level release contents A log file.
Select Tools > Generate Mid-Level Release

Working with Objects

12 of 22

Importing Object Definitions


Object definitions in an archive file can be imported into the local

repository on the developer workstation Appear in the current active repository The repository from which the archive file was created and the repository into which you are importing must be the same Siebel release version To import object definitions
Select Tools > Import from Archive Select the archive file Indicate how to resolve conflicting object definitions

Working with Objects

13 of 22

Import Conflicts
Set the default conflict resolution

Adjust individual resolutions by right-clicking them in the Object

differences list before importing the object definition

Working with Objects

14 of 22

Comparing Object Definitions


Displays a side-by-side comparison of any two objects of the same type

Displays a line by-line comparison between the two


Can compare the objects defined

In the current local repository In an archive file In the repository on the server
Select the object definitions to be compared and select Tools > Compare Objects

Use these two buttons to synchronize the object definitions To expand the entire tree in the First Selection and Second Selection explorer controls To collapse the entire tree in the First Selection and Second Selection explorer controls Delete To delete objects after a comparison.

Working with Objects

15 of 22

Comparing Object Definitions Continued


Examine the differences in the Compare Objects window

Definitions with differences highlighted

No difference highlighted

Differences Specified

Working with Objects

16 of 22

Comparing Object Definitions Continued


To compare two object definitions in the developer repository Select two object definitions to be compared (by SHIFT-clicking) Select Tools > Compare Objects > Selected Modifying definitions is supported A child object definition in either parent object definition can be deleted or copied to the other definition

The Control Credit Limit is not available in the second selection

Working with Objects

17 of 22

Source Code Control Integration


Automate integration with source code control for repository data
Creates Archive file when project is checked in

ODBC to Server Database

ODBC to Local Database

Working with Objects

18 of 22

Compiling
Compilation produces an .srf file that reads object definitions from

repository and creates a flat file representation to be accessed by siebel.exe at run time Compile into .srf file located in the objects directory of the client application

Open/ Modify Repository object definitions using Siebel Tools

Working with Objects

19 of 22

Compiling Projects
When starting and at milestones

Use Compile All Projects to generate a new .srf file Compile only selected projects or locked projects for incremental compile Back up the .srf file prior to full compile
To compile projects:

Select Tools > Compile Projects Select project or projects


If user checked auto-start, Web client is started automatically, using debug setting after compilation

Working with Objects

20 of 22

Module Highlights
Project locking is necessary for the object definitions to be created /

edited Validation determines correctness of object definitions Developer can generate archives that contain exported projects Mid-Level Release can be generated using Siebel Tools Compiling creates a flat file (.srf) accessed by the Siebel application at run time Rapid Unit Testing allows developers to test changes using the Developer Web Client To practice using Siebel Tools for editing and validating object definitions

Working with Objects

21 of 22

Lab
In this lab you will:

Practice editing and validating object definitions using Siebel Tools

Working with Objects

22 of 22

Vous aimerez peut-être aussi