bo designer 1

Download BO Designer 1

If you can't read please download the document

Post on 13-Nov-2014

121 views

Category:

Documents

5 download

Embed Size (px)

TRANSCRIPT

Business Objects Designer TrainingBy

BO Competency

BO Technical Training BO Technical Training

1

DESIGNER MODULE

BO Technical Training

Agenda

Creation of Universe Connecting to Databases Selecting Tables and columns Creation of classes Creation of objects Joins Data Restriction

BO Technical Training

What is a Universe

A universe is a semantic layer that maps the data structure found in databases (tables, columns, etc) in business terms. A universe can represent any specific business area, process, or department. For example, a universe can relate to a department in a company such as marketing or accounting.

BO Technical Training

Business Objects Designer

BO Technical Training

A typical universe layout...

Objects Classes

Universe Pane

Structure PaneBO Technical Training

Class A class is a logical grouping of objects within a universe. In general, the name of a class reflects a business concept that conveys the category or type of objects. A class can be further divided into subclasses. As a designer, you are free to define hierarchies of classes and subclasses into a model that best reflects the business concepts of your company.

BO Technical Training

Objects An object is the most refined component in a universe. It

maps to data or a derivation of data in the database. Types of objects Dimension Objects Focus of analysis in a query. Maps to one or more columns in a database that are key to a query.

Measure Objects Aggregate functions that map to statistics in a database. Map to fact attributes of a star schema.

Detail Objects Descriptive data about the dimensions. Always attached to a dimension.

BO Technical Training

Five stages in universe development process User Requirements Detailed analysis of the information needs of the users.

Data Analysis Detailed data analysis of the database breaking it down into functional areas that users can relate to.

Design Information from first 2 phases must be amalgamated to create the conceptual design of the Universe, its objects and other components.

BO Technical Training

Development and distribution Create using the Designer module. Test using the User module. Distribute to the users via the repository.

Maintenance Designer is responsible for updating and maintaining Universe and keeping it up to date with any changes in the User Requirements.

BO Technical Training

Creation of the Universe

Define the Parameters Resolve the Loops Insert Tables Create Classes and Objects Make the Joins Set up Hierarchies

BO Technical Training

Creating a Universe To begin creating a new universe: Select File, New

To access the Universe Parameters dialog box for an existing universe: Select File, Parameters or Click on

BO Technical Training

Setting up Parameters : Definition Tab A universe is identified with a user name and a connection to the database A detailed description can also be added

BO Technical Training

What Is a Connection? Definition: A connection is a link from the universe to the Target database. The link is achieved using middleware (for example ODBC). An existing connection may be used or a new connection created for a universe. There are three different types of connections.

BO Technical Training

Different Types of ConnectionPersonalCan only be used on the client

SharedCan be used by more than one user to send queries to the target database from a shared server

SecuredThis connection is used when you wish to distribute the completed universe to the user population via the repository

BO Technical Training

Creating a New Connection1. Click on New. 2. Choose the middleware

3. Identify the driver to be used to access the target database

BO Technical Training

Setting up Universe Parameters

Definition Tab: name, description and connection to the database Summary Tab: author and statistics about the universe Strategies Tab: internal or personal wizards to make creating a universe easier Controls Tab: manages access and control of resources SQL Tab: queries and SQL parameters Links Tab: enables dynamic links with other universes

BO Technical Training

Setting up Parameters : Summary Tab The Summary tab displays general information about the universe

BO Technical Training

Setting up Parameters : Strategies TabProvides automated strategies for: Creating objects Setting joins The Table browser listing

BO Technical Training

Universe Strategies

A strategy is a script that reads structural information from a database or a flat file. DESIGNER uses strategies as an aid for creating the components of the universe - objects, tables and joins. In DESIGNER, strategies are of 2 types Built-in Strategies External Strategies

BO Technical Training

Built-in StrategiesBuilt-in strategies are pre-decided strategies that are available with any installation of Business Objects. DESIGNER uses the following built-in strategies for creating the components of universes: the Objects Creation strategy, which tells DESIGNER how to define classes and objects automatically from the databases tables and columns the Joins Creation strategy, which tells DESIGNER how to define joins automatically from the databases tables and columns the Table Browser strategy, which tells DESIGNER how to read the table and column structures from the databases data dictionary

BO Technical Training

Built-in Strategies To enable automatic creation, the following must be checked.

BO Technical Training

External StrategiesExternal Strategies enable designers to specify their own strategy for creating the universe components. External strategy files are declared in the STG section of .PRM files and are specific to RDBMSes. Use of external strategies To insert Objects - Insert --> Candidate Objects To insert Joins - Tools --> Detect Joins To insert Tables - Insert --> Tables

BO Technical Training

Setting up Parameters : Controls Tab These allow you to limit the size of results and restrict the time allowed for executing queries

The Supervisor can change these parameters for specific groups or users

BO Technical Training

Setting up Parameters : SQL Tab SQL parameters are used to define the limits of the SQL that may be generated by the universe The Supervisor can change these parameters for specific groups and users

BO Technical Training

Setting up Parameters : Links Tab Enables dynamic links with other universes

BO Technical Training

Saving a Universe Save the universe using a maximum of eight characters with up to three characters as an extension This makes it possible to distribute the universe across different kinds of computers

Choose File, Save or click By default the universe is saved in the folder: c:\Program Files\Business Objects\BusinessObjects 5.0\universe

BO Technical Training

Adding Tables Use the Table browser: Double-click on the background of the Structure

Click on Choose Insert, Tables from the menu

The Table browser displays all the tables and views of the database You can select multiple tables using the Shift key or Ctrl key

BO Technical Training

28

Customizing Table Insertion Select Tools, Options then click on the Database tab From here you can select and deselect options related to table insertion You can set internal strategies to: automatically extract joins detect cardinalities create objects when inserting tables

BO Technical Training

Creating classesManual Creation Use Insert > class from the menu. An Edit Properties box appears. Enter class description. OR Use to create a class

BO Technical Training

Automatic creation Select a table in the structure pane. Drag it to the universe pane. A class is created in the universe pane with the same name as the table name. Objects are also created automatically in the class corresponding to the fields in the table.

BO Technical Training

Creating objectsManual Creation Select the class where object is to be created. Use Insert--> Object from the menu. An Edit Properties box appears. Enter object details.

Automatic creation Select a column from a table in the structure pane. Drag it to the universe pane. An object is created under the nearest class to the point where you drop the column. Default object name is column name with underscores replaced with spaces.

BO Technical Training

Object PropertiesThree property pages DefinitionName Data type Description SELECT statement WHERE clause

BO Technical Training

Properties Qualification Associated List of Values

BO Technical Training

Aggregate projection Applicable only to measures. Defines how the measure will be aggregated when projected from a micro-cube.

BO Technical Training

Advanced Security User rights on Objects Date Formats

BO Technical Training

Joins

BO Technical Training

JoinsWHAT THEY ARE - Relationship between 2 or more tables that help restrict the result set of a query run against those tables. WHY USE - they limit the occurrence of a Cartesian product, a situation in which all possible combinations between each row of each table are retrieved.

BO Technical Training

Types of Joins Equi-Join Table 1.Column A = Table 2.Column B Resulting data set limited to values common in Column A & B.

Outer-Join Table 1 OUTER JOIN Table 2 on Co