23ess_editing and compiling object definitions
TRANSCRIPT
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
1/26
Module 23: Editing andCompiling Object Definitions
Essentials (Siebel 7.7)
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
2/26
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
3/26
Module 23: Editing and Compiling Object Definitions 3 of 26
Editing Object Definitions
Select the object definition to edit using the Object Explorer and
Object List Editor Make sure that project has been lockedEdit the property
Type in a valuePick a value from a picklist (if provided)
Type in a value Select a valueIndicates project locked
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
4/26
Module 23: Editing and Compiling Object Definitions 4 of 26
Creating a New Object Definition
Select the desired object type in the Object Explorer
Create a new record in the Object List Editor Select a project from picklistCreate a unique name Assign values to remaining fields
Locked projects only
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
5/26
Module 23: Editing and Compiling Object Definitions 5 of 26
Changed Flag
Indicates records that have been modified since the Changed
DateIs set whenever a record is editedIs cleared by resetting the Changed Date value
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
6/26
Module 23: Editing and Compiling Object Definitions 6 of 26
Validating Object Definitions
Determines correctness of selected object definitions in the
repositoryIncludes all child object definitions for the selected parentdefinitions
Is based on a set of Siebel-defined rules
Error
Warning User canenable/disable a
Siebel-defined rule
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
7/26Module 23: Editing and Compiling Object Definitions 7 of 26
Validating Object Definitions Continued
Select object definition to validate
Right-click and select ValidateClick Start in the Validate window
Violations appear in Errors list
windowClick to access
Validate Optionswindow
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
8/26Module 23: Editing and Compiling Object Definitions 8 of 26
Archive Files
Contain object definitions exported from a repository
Available for importing into other repositoriesHave .sif extension by defaultAre used to share object definitions in multiple repositorydevelopmentAre used to back up object definitionsCan be version-controlled using source control systems
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
9/26Module 23: Editing and Compiling Object Definitions 9 of 26
Exporting Object Definitions
Top-level object definitions can be exported to an archive file
Includes all child object definitions for selected parent definitionTo export object definitions
Select the object definition or definitionsSelect Tools > Add to ArchiveSelect an existing (or create a new) archive fileClick Save in the Export to Archive File window
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
10/26Module 23: Editing and Compiling Object Definitions 10 of 26
Exporting Projects
Projects can also be archived to .sif files
Select the project (or projects) to be archivedSelect Tools > Add to ArchiveSelect an existing (or create a new) archive fileClick Save in the Export to Archive File window
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
11/26Module 23: Editing and Compiling Object Definitions 11 of 26
Importing Object Definitions
Object definitions in an archive file can be imported into thelocal repository on the developer workstation
Appear in the current active repository
To import object definitionsSelect Tools > Import from ArchiveSelect the archive fileIndicate how to resolve conflicting object definitions
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
12/26Module 23: Editing and Compiling Object Definitions 12 of 26
Resolve Import Conflicts
Set the default conflict resolution
Adjust individual resolutions by right-clicking them in the Objectdifferences list
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
13/26Module 23: Editing and Compiling Object Definitions 13 of 26
Compare Objects
Displays differences between selected object definition andanother one:
In current local repositoryIn archive fileIn repository on server
Allows developers to reconcile differences while comparingobjects
Delete individual child object definitionsCopy individual child object definitions in either direction
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
14/26Module 23: Editing and Compiling Object Definitions 14 of 26
Compare Objects Continued
To compare object definition to one in archive or repository
Select object definition to be comparedSelect Tools > Compare ObjectsSelect type of comparisonSelect the archive or repository
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
15/26Module 23: Editing and Compiling Object Definitions 15 of 26
Compare Objects Continued
Examine the differences in the Compare Objects window
Definitions withdifference highlighted
Differences displayed
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
16/26Module 23: Editing and Compiling Object Definitions 16 of 26
Compare Objects 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 supportedCopy selected control
Delete selected control
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
17/26Module 23: Editing and Compiling Object Definitions 17 of 26
Source Code Control Integration
Automate integration with source code control for repositorydata
Check archive
into codemanagement
system
Creates archivewhen projectchecked in
ODBC to server and local
databases
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
18/26Module 23: Editing and Compiling Object Definitions 18 of 26
Backing Up the Development Database
Developers can back up local work by:
Using archive files to back up repository dataChecking in projects into the server in order to back up repositorydataCopying the local database file (.dbf) in order to back up the entiredatabase
. sif Add to archive
Check in
Windowscopy/paste
Server
RepositoryData
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
19/26Module 23: Editing and Compiling Object Definitions 19 of 26
Compiling
Compile to produce an .srf file to test the configuration
Reads object definitions from repository and creates a flat filerepresentation to be accessed by siebel.exe at run time
Compile into .srf file located in the objects directory of the clientapplication
Database
ConfiguredApplication
.srf
Application
Object Manager
Tools
ApplicationRepositoryData
Compiling
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
20/26Module 23: Editing and Compiling Object Definitions 20 of 26
Compile Options
Developers can compile:
ProjectsIndividual object definitions
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
21/26Module 23: Editing and Compiling Object Definitions 21 of 26
Compile Projects
When starting and at milestones, compile All Projects togenerate a new .srf fileSubsequently, compile only Selected Projects or LockedProjects for an incremental compileTo compile projects:
Select Tools > CompileProjectsSelect project or projects
Compile intoclient directory
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
22/26Module 23: Editing and Compiling Object Definitions 22 of 26
Compile Objects
Top-level object definitions can be compiled individually
Compiles all child object definitions for the selected parentTo compile individual object definitions:
Select the object definition or definitionsRight-click and select Compile Selected Objects
Useful for unit testing a single changed objectOtherwise, Compile Locked Projects
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
23/26Module 23: Editing and Compiling Object Definitions 23 of 26
Configuration File
Copy the default .cfg file for the application being customized
Edit it to refer to the new .srf fileCopy .cfg file
Change Repository Fileto refer to new .srf file
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
24/26
Module 23: Editing and Compiling Object Definitions 24 of 26
Rapid Unit Testing
Run-time behavior whenuser compiles SRF
If Web client is running:At end of compile, browser
window refreshesUser is brought back toview displayed immediatelybefore compile
If Web client is not running:
If user checked auto-start,Web client is started usingdebug settingIf user did not check auto-start, standard applicationhome page opens
Allows developers to test changes in a local instance of theMobile Web Client
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
25/26
Module 23: Editing and Compiling Object Definitions 25 of 26
Summary
This module showed you how to:Create new and edit existing object definitionsValidate edited object definitionsArchive object definitions and projectsBack up the local database
Compile object definitions into a repository file
-
8/7/2019 23ESS_Editing and Compiling Object Definitions
26/26
Lab
In the lab you will:Practice editing and validating object definitions in Siebel ToolsExplore the use of diff and archive options in Siebel ToolsCompile a custom .srf file