Professional Documents
Culture Documents
By
Rambabu K
Designing with Framework Manager
Objectives
Table of Contents
• In a Framework Manager project, you will interact with the following objects:
– Model
– Namespace
– Folder
– Query subject
– Query item
– Relationship diagram
– Parameter map
– Package
• Design
– Know your data and the structure of your data sources.
– Work with report authors to understand business reporting requirements.
– Identify project structure.
• Create
– Create a project.
– Import the required metadata.
• Organize
– Organize objects to create a physical view of the metadata.
• Administer
– Specify query processing type.
– Define function sets.
• Clean Up
– Examine and modify object properties.
– Examine, modify, and create relationships.
– Edit SQL.
Project Info
Object Explorer
Object Diagram
Query subject that does not contain any query items set to Fact
Create a Project
Define Languages
Specify a design language for the project when you first create it.
Add languages any time after the project is created.
• You can restrict the function sets available in the expression editor so that it
lists only the vendors that you want.
Set properties
Verify and test
query subjects
Create folders &
rename objects
Question
Answer
1..1 1..1
Product Product_Forecast Product Product_Forecast
0..n 1..n
Overrides
38 © Virtusa Corporation ● Confidential
Designing with Framework Manager
• Relationship
A 1..1
1..n B
1..1 1..1
1..n
1..n
C
1..n 1..n
Orders Orders
1..n 1..n
Query Subjects
Query Items
41 © Virtusa Corporation ● Confidential
Designing with Framework Manager
Modify and Test Query Subjects
• After you import or create a data source subject, or create a model query
subject, you can:
– Edit the SQL (data source query subjects only)
– Change the query items referenced
– Create calculations
– Add filters
– Insert a macro
• After you import a stored procedure query subject, you can edit the name,
data source, and arguments.
• You can test query subjects as you create or modify them to see the data they
retrieve.
• You can quickly and easily alter the SQL of a data source query subject to meet
your needs.
• Query items represent data columns in a data source, or are calculations based
on data columns in a data source.
• Each query item has properties that can be modified to suite your reporting
needs.
• You can reuse existing model metadata to quickly create new query subjects.
• You can merge the following objects:
– Model and data source query subjects
– Query items, filters, and calculations
– Relationships
– Shortcuts
Query Subject
A_B
47 © Virtusa Corporation ● Confidential
Designing with Framework Manager
Create a Stored Procedure Query Subject
• You must test the stored procedure query subject after you create it in order to
generate the projected query items.
Create Calculations
• Create calculations to provide report authors values that they regularly use.
• Calculations can use:
Planned Revenue Calculation
– Query items
– Parameters [gosales].[ORDER_DETAILS].[QUANTITY]
– Functions
*
cs CS
cs–cz CS
da DA
da–dk DA
de DE
de–at DE
de–ch DE
Create a Macro
• Macros are fragments of code that you can insert within definitions and
properties of model objects.
Macro
Select
PRODUCT_LINE.PRODUCT_LINE_CODE,
PRODUCT_LINE.PRODUCT_LINE_#$[Locale Map]{$runLocale}# as Product_Line
from
[GO Sales.GO Sales.dbo].PRODUCT_LINE
Question
Answer
Objectives
• The presentation layer provides report authors with a meaningful view of the
metadata.
Presentation Layer
Physical Layer
• Model query subjects reuse query items from data source query subjects and
other model query subjects.
• They are useful in creating meaningful views of the metadata to the report
author.
• Model query subjects allow for further customization of the metadata to meet
specific requirements without affecting the underlying query subject.
Examine Filters
Stand–Alone Filters
61 © Virtusa Corporation ● Confidential
Embedded Filter
Designing with Framework Manager
Summary
Question
Answer
Objectives
Examine Packages
Edit Governors
• You can set limits to the data retrieved in a query subject test or the report
design mode by setting governors.
• When you set governors, all packages subsequently published will reflect the
new settings.
Package
Model
• You must add languages to the project before you can add them to a package.
• The package function list is used to specify which data source functions you
would like to make available to report authors.
• If you have updated a package, you can analyze the effects of the changes you
made before deploying the new package to report authors.
• When you publish a package, you can choose to save either to the ReportNet
server or to a network location.
Cognos Connection
File System
• When you publish a package, you can select how many versions of the model
you want to retain on the Cognos ReportNet server.
Question
Answer
True or false?
Governors validate SQL syntax for query subjects.
Answer
False.
Governors control SQL generation and thereby can control data
retrieval limits.
Objectives
ReportNet Security
• You can:
– create groups and roles specific to a Cognos application
– repackage users, groups, and roles from the authentication providers
– avoid having to set up application specific authentication information in the
authentication providers
• Use is optional.
• When you apply security in Framework Manager, you control access for selected
users, groups, and roles. To do this, you can:
– specify package access (metadata security)
– give visibility rights to objects (object-based security)
– define security filters (data security)
• Specify which users, groups, and roles have access to the package and deny
access for all other users, groups, and roles.
• Specify which users, groups, and roles have visibility rights to the object and
deny access for all other users, groups, and roles.
• Give administrative access to packages for users who are required to:
– Republish packages
– Perform impact analysis
Question
a) Report Studio
b) Cognos Configuration
c) Directory tool in Cognos Connection
d) Framework Manager
e) Configuration Manager
Answer
b) Cognos Configuration
d) Framework Manager
Question
You create a segment so that you can create a backup of your project.
True or False?
Answer
False.
You create a segment so that you can:
organize a project according to business rules or
organizational requirements
distribute the responsibility for modeling
share and reuse project information
Recursive Relationship
Can now be edited
Specify Determinants
Dimension Dimension
1 2
1..1 1..1
1..n 1..n
Fact Table
1..n 1..n
1..1 1..1
Dimension Dimension
4 3
Product
Dimension
1..1 1..1
1..n 1..n
Sales Inventory
Fact Levels Fact
1..n 1..n
1..1 1..1
Time
Dimension
Product Product
Dimension Dimension
1..1 1..1
Time Time
Dimension Dimension
Summary
Question
Answer
Question
True or false?
Answer
False.
A conformed dimension has relationships with more
than one fact table.
www.virtusa.com
For more information, please contact: SalesInquiries@virtusa.com
"Virtusa" is a trademark of the company and a registered trademark in the EU and In India.
"Productization" is a service mark of the company and a registered service mark in the United States.
107
© 2007©Virtusa
Virtusa Corporation
Corporation ● Confidential
● Confidential All Rights Reserved
"vRule" is a service mark of the company.