Module 23 Working With Objects
Module 23 Working With Objects
0 Essentials
1 of 22
Module Objectives
To understand the fundamental activities that occur during
3 of 22
4 of 22
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
5 of 22
6 of 22
inactive
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
8 of 22
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
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
11 of 22
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
12 of 22
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
13 of 22
Import Conflicts
Set the default conflict resolution
14 of 22
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.
15 of 22
No difference highlighted
Differences Specified
16 of 22
17 of 22
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
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:
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
21 of 22
Lab
In this lab you will:
22 of 22