05_Building Presentation Layer

Embed Size (px)

Citation preview

  • 7/29/2019 05_Building Presentation Layer

    1/21

    Building the Presentation Layer

    of a Re ositor

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.

  • 7/29/2019 05_Building Presentation Layer

    2/21

    Objectives

    After completing this lesson, you should be able to:

    Identify the objects in the Presentation layer of a repository

    Modify the properties of Presentation layer objects

    Build the Presentation layer of a repository

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 2

  • 7/29/2019 05_Building Presentation Layer

    3/21

    Presentation Layer

    Provides a way to present a customized view of a business

    model to users

    Exposes only the data that is meaningful to users

    Organizes the data in a way that aligns with the way users

    think about the data

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 3

    enames a a as necessary or e se o users

  • 7/29/2019 05_Building Presentation Layer

    4/21

    Subject Areas

    Organize and simplify the business model for a set of users:

    A single subject area must be populated with content from

    a single business model . It cannot span business models.

    Multiple subject areas can reference the same business

    model.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 4

    Subject area for

    user group 1

    Subject area for

    user group 2

    Both subject areas

    reference the same

    business model.

  • 7/29/2019 05_Building Presentation Layer

    5/21

    Presentation Tables

    Organize presentation columns into categories that make

    sense to users

    May contain columns from one or more logical tables

    Can be modified independently of logical tables

    Can be created:

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 5

    Automatically by dragging logical tables from the BMM layer Manually in the Presentation layer

    Presentation

    tables

  • 7/29/2019 05_Building Presentation Layer

    6/21

    Presentation Columns

    Define the columns that are used to build analyses in the

    Oracle BI user interface

    Map to logical columns in the BMM layer

    Can be created:

    Automatically by dragging logical tables or columns from the

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 6

    Manually in the Presentation layer

    Presentation

    columns

  • 7/29/2019 05_Building Presentation Layer

    7/21

    Presentation Layer Mappings

    Presentation layer objects map to objects in the Business

    Model and Mapping layer.

    Subject areas map to

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 7

    e us ness mo e .

    Presentation tables may

    map to logical tables.

    Presentation columnsmap to logical columns.

  • 7/29/2019 05_Building Presentation Layer

    8/21

    Defining the User Interface

    in the Presentation Layer

    Presentation layer objects define the interface that users see to

    query data from the data sources.

    Subject area

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 8

    Presentationtable

    Presentation

    column

    Subject area

    Folder

    Column

  • 7/29/2019 05_Building Presentation Layer

    9/21

    Nesting Presentation Tables

    To give the appearance of nested folders:

    1. Prefix the name of the presentation folder to be nested

    with a hyphen and a space.

    2. Place it after the folder in which it nests.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 9

    Folders nested under Facts folder Hyphen and space omitted in UI

  • 7/29/2019 05_Building Presentation Layer

    10/21

    Aliases

    Keep track of changes to Presentation layer objects.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 0

    Prior names

    Add or delete

    aliases.

  • 7/29/2019 05_Building Presentation Layer

    11/21

    ABC Example

    Build the Presentation layer to present users with a customized

    view of ABCs data.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 11

  • 7/29/2019 05_Building Presentation Layer

    12/21

    Implementation Steps

    1. Create a new subject area.

    2. Rename tables.

    3. Reorder tables.

    4. Delete columns.

    5. Rename columns.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 2

    6. Reorder columns.

  • 7/29/2019 05_Building Presentation Layer

    13/21

    1. Create a New Subject Area

    Drag the SupplierSales business model from the Business

    Model and Mapping layer to the Presentation layer to

    automatically create Presentation layer objects.

    Business model becomes

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 3

    subject area.

    Logical tables become

    presentation tables.

    Logical columns become

    presentation columns.

  • 7/29/2019 05_Building Presentation Layer

    14/21

    2. Rename Tables

    To rename tables in the Presentation layer, use any of the

    following methods:

    Use the General tab in the properties dialog box.

    Right-click a table and select Rename.

    Highlight a table to make the name editable, and then

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 4

    en er a new name.

    Use the Rename Wizard.

    Double-click.

    Rename.

  • 7/29/2019 05_Building Presentation Layer

    15/21

    3. Reorder Tables

    To reorder tables, open the Subject Area properties box.

    Then use the Up and Down buttons, or simply drag the tables.

    Double-click.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 5

  • 7/29/2019 05_Building Presentation Layer

    16/21

    4. Delete Columns

    Delete unnecessary columns to simplify the content and make

    it more understandable to users.

    Remove.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 6

    Double-click.

    Select columns.

  • 7/29/2019 05_Building Presentation Layer

    17/21

    5. Rename Columns

    Presentation columns use the logical column name by

    default.

    On the General tab in the column properties dialog box,deselect the Use Logical Column Name check box and

    enter a custom name.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 7

    Custom name

    Deselect to create a custom name.

  • 7/29/2019 05_Building Presentation Layer

    18/21

    6. Reorder Columns

    To reorder columns, open the Presentation Table properties

    box. Then use the Up and Down buttons, or simply drag the

    columns.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 8

    Select and move a column

    or group of columns.

  • 7/29/2019 05_Building Presentation Layer

    19/21

    Considerations

    Subject areas can map to only one business model.

    Multiple subject areas can map to the same business

    model.

    Presentation columns can come from multiple logical

    tables in a business model.

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 1 9

    en e se og ca o umn ame c ec ox s

    selected, presentation columns are automatically renamed

    when the corresponding logical object is renamed.

    Presentation tables cannot have the same names as the

    subject areas. Presentation objects can be modified or deleted without

    affecting corresponding logical objects.

  • 7/29/2019 05_Building Presentation Layer

    20/21

    Design Tips

    Use meaningful names.

    Names cannot contain single quotation marks (); the

    Administration Tool prevents it. Although permitted, avoid using double quotation marks ().

    Keep presentation object names unique:

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 2 0

    presentation tables can lead to inaccurate results.

    Uniqueness allows SQL statements to be shorterbecause qualifiers are unnecessary.

    Group objects in meaningful ways.

    Eliminate unnecessary objects to reduce confusion.

    Use object description fields to convey information to users.

    Keep names short to save space on reports.

  • 7/29/2019 05_Building Presentation Layer

    21/21

    Summary

    In this lesson, you should have learned how to:

    Identify the objects in the Presentation layer of a repository

    Modify the properties of Presentation layer objects

    Build the Presentation layer of a repository

    Copyright 2012, Oracle and/or its affiliates. All rights reserved.5 - 2 1