Vous êtes sur la page 1sur 22
Building the Presentation Layer of a Repository ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 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 ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 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 + Renames data as necessary for the set of users EI EO comsae OFC % %8 Customer # G20. Dot ot ran om te # ED DimCustomer oo ocean # GD Dintine Eig FectSeles Net Weight Shipped ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. Subject Areas Organize and simplify the business model for a set of users: + Asingle 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. Subject area for | ea user group 1 3 = © SuppiierSeles—— 5 @ {2 Customers © £5 Dim Customer berelhnouyiatranenn 6G Products & EE) DimProduct = El Tine = £2 Dintne business model. © £3 Facts » B® FactSdes 2 EE Base Measues Subject area for i FEB Calcuoted Meas usergroup 2 += @ SupplerS.stes OM 2-9 Customers © EB Products © 19 Time @ EM Facts ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. 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: — Automatically by dragging logical tables from the BMM layer — Manually in the Presentation layer iene Presentation tables ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 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 BMM layer — Manually in the Presentation layer Presentation | columns ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Presentation Layer Mappings Presentation layer objects map to objects in the Business Model and Mapping layer. Subject areas map to the business model. EB Om Customer ~ © (@ Saxcess, Presentation tables may Customer map to logical tables. Adsers— a oy i Distt a - © Cotnerkey _ Presentation columns Bi Phone map to logical columns. ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. Defining the User Interface in the Presentation Layer Presentation layer objects define the interface that users see to query data from the data sources. Sales Dishict pete Sales ep — Customer Presentation — Addie column Phone Gy & Zp cove EB Route code ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. 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. EB - Calculated Measures EB - Base Measures Bl - Forecast Measures | Folders nested under Facts folder Hyphen and space omitted in UI ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Aliases Keep track of changes to Presentation layer objects. (eee eae jot) General Aliates | Aliases |x Customer \ ianad Add or delete Prior names | aliases. ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. ABC Example Build the Presentation layer to present users with a customized view of ABC’s data. 2 EE] Customers EB Products @ ES) Time 5 ES Fects Dollars Units Ordered Units Shipped Net Weight Shipped ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Implementation Steps Create a new subject area. Rename tables. Reorder tables. Delete columns. Rename columns. Reorder columns. OnaPrwna ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 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 subject area. Logical tables become © GB FactSales =) Gq Fact-Sales ———— entation tables. Dollars &-(B Sources = ~ Units Ordered Dalers Units Shipped Units Ordered — Logical columns become Net Weight Shipped Units Shipped presentation columns. Net Weight Shipped ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. 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 enter a new name. + Use the Rename Wizard. ae rons es =o [Generar] cotsnns | Hierarchies | acs Meme [Faas —— Rename. emission Double-click. ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. 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. i List) Seer nee] ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. 4. Delete Columns Delete unnecessary columns to simplify the content and make it more understandable to users. General Cohunns | Hietachies | Alaces | Remove. Units Ordered Units Shipped ORACLE Copyright © 2012, Oracie and/or its affiliates. All rights reserved. 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. Revenue Jatases | || Custom name Nome: [levee = S~SCSCSC~S*CSC*é mi [Bluse Locical Column Name Units Ordered Urits Shipped | Deselect to Net Weight Shipped — ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. te a custom name. 6. Reorder Columns To reorder columns, open the Presentation Table properties box. Then use the Up and Down buttons, or simply drag the columns. Es oe | a. owes neo EB Products EE Tine e Le Aaeri Name Cohen Units Ordered "Supplies "Fat Soles" Units Shipped panes a Net Weight Shipped 77 [Net Weight Shipped "SupplierSales" "Fact Salee""Net Weght Shipped’ Select and move @ column ‘or group of columns. ORACLE Copyright © 2012, Oracie andlor its affiliates. All rights reserved. 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. + When the Use Logical Column Name check box is 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. ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 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: — Giving presentation columns the same names as presentation tables can lead to inaccurate results. — Uniqueness allows SQL statements to be shorter because 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. ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. 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 ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Practice 5-1 Overview: Creating the Presentation Layer This practice covers the following topics: * Creating Presentation layer objects + Customizing Presentation layer objects ORACLE Copyright © 2012, Oracle and/or its affiliates. All rights reserved.

Vous aimerez peut-être aussi