tutorial spagobi.pdf

April 2, 2018 | Author: Alvaro Ramirez Lopez | Category: Databases, Table (Database), Software, System Software, Areas Of Computer Science


Comments



Description

SpagoBI MetaAlessandra Toninelli 2013/10/11 15:02 .................................................................................................................................................................................................................... 4 Create the first Model ......................................................................... 3 Create a new DBMS connection ...............................................................spagobi_meta .................... 15 Page 2 ..............................................................last modified by Alessandra Toninelli on 2013/10/11 15:02 ............. 8 Create the first Query ..........................................SpagoBI Meta Table of Contents How to install SpagoBI Meta ........................................................................................................................... .RC ) • • • • How to install SpagoBI Meta Create a new DBMS connection Create the first Model Create the first Query Please note that this isn't the final product.)..be/TFmDlMjVqss How to install SpagoBI Meta To install SpagoBI Meta just uncompress the downloaded zip into a directory of your choice.spagobi_meta . or select one already existing.queries. Page 3 . Now locate the "eclipse" directory where you have uncompressed the files and launch the eclipse.last modified by Alessandra Toninelli on 2013/10/11 15:02 .etc. where you want to save the files used by SpagoBI Meta (models.exe file to start SpagoBI Meta. A tutorial video can be found here: http://youtu.SpagoBI Meta Getting Started ( SpagoBI Meta . The first thing to do is to select a workspace. For opening this view select the menu Window > Show View > Other > Data Management > Data Source Explorer.SpagoBI Meta Create a new DBMS connection • To create a new DBMS connection make sure to have opened the "Data Source Explorer" view. Page 4 .spagobi_meta .last modified by Alessandra Toninelli on 2013/10/11 15:02 . spagobi_meta .last modified by Alessandra Toninelli on 2013/10/11 15:02 . Page 5 .SpagoBI Meta • Now inside the Data Source Explorer select "New. your DBMS Connection type (for example MySql) and click next."... the driver JAR location (for MySql download it from http://dev. If you haven't done this before you have to click on the "New driver definition icon".mysql.last modified by Alessandra Toninelli on 2013/10/11 15:02 .SpagoBI Meta • After that you have to specifiy a Driver and Connection details. In this window you have to select the driver version.com/downloads/connector/j/ ) and the connection properties.spagobi_meta . Page 6 . Page 7 .SpagoBI Meta • With the configured driver now you can test and edit the connection to your database. if you get a "Ping succedded" messagge all is working. To test the connection simply press the "Test connection" button.spagobi_meta .last modified by Alessandra Toninelli on 2013/10/11 15:02 . Page 8 . This will ask you a name for your project and a location (by default inside your current workspace. this is the recommended choice).SpagoBI Meta Create the first Model To create your first model proceed with this steps: • First of all.last modified by Alessandra Toninelli on 2013/10/11 15:02 . Select on the menu bar File > New > Project > General > Project. create a new empty project inside the "Project Explorer" View.spagobi_meta . Select on the menu bar File > New > Other > SpagoBI Meta > SpagoBI Model and press next.last modified by Alessandra Toninelli on 2013/10/11 15:02 . right-click on a project icon and select New > Folder. Page 9 . mappings..spagobi_meta .SpagoBI Meta • Optionally create folder inside your project for every type of resources managed by SpagoBI Meta (models. For doing this.) for a better management of your work.. queries. • Now you can create your first SpagoBI Meta Model. spagobi_meta . a logic name and select the location inside your project. Page 10 .sbimodel extension).SpagoBI Meta • Assign a name to your SpagoBI Meta Model file (.last modified by Alessandra Toninelli on 2013/10/11 15:02 . In this window you can see the connection already definied as described in the previous paragraph. You can also select a Catalog and Schema if avaiable for your database and connection. Page 11 .SpagoBI Meta • Next step is the selection of a connection.last modified by Alessandra Toninelli on 2013/10/11 15:02 .spagobi_meta . Make sure to import all the tables that you want to use later in this step.SpagoBI Meta • Now you have to choose the tables to import from your database inside the Physical Model. The Physical Model is like a "snapshot" of your current database tables structure used to create Business objects inside the SpagoBI Model editor. Page 12 .spagobi_meta .last modified by Alessandra Toninelli on 2013/10/11 15:02 . last modified by Alessandra Toninelli on 2013/10/11 15:02 . Page 13 . This will create create Business Classes that have an identical structure (1:1) of your Physical Tables. primary key to business identifiers and columns to attributes.SpagoBI Meta • The last step let you quickly create Business Classes directly from the tables inside the Physical Model.spagobi_meta . with foreigns keys converted to business relationships. Attributes.spagobi_meta .last modified by Alessandra Toninelli on 2013/10/11 15:02 . with the Business Classes. • On the left you have the Business Model representation as a tree.SpagoBI Meta • Now click on Finish and You have created your first SpagoBI Meta Model! Note that after clicking finish the SpagoBI Meta Model editor will be opened. Page 14 . Business Identifier and Business Relationship. • On the right you have the Physical Model with the original structure extracted from your database connection. Create the first Query Once you have created your Business Model. with all the objects that you need.SpagoBI Meta In the Business Model you can change and combine the structure imported from the Physical Model. You can also do this operations via drag&drop directly from the Physical Model to the Business Model. you can query this with the SpagoBI Meta Query Editor.last modified by Alessandra Toninelli on 2013/10/11 15:02 . To create a new Query you can: • Right-click on the Business Model Root in the Business Model Editor and select Create > New Query • Or right-click on a file . For example you can create new relationships through Business Classes. delete or rename Business Attributes and combine Business Classes to create composed Business Classes with inherited attributes.spagobi_meta . set new Business Identifiers. Just select the Business Model root or the Business Model Classes to create something new with the context menus.sbimodel inside your Project Explorer and select Create > New Query Page 15 . spagobi_meta .last modified by Alessandra Toninelli on 2013/10/11 15:02 . Page 16 . you have your Business Model as tree with Business Classes and Business Attributes. • The Result tab: execute the query definied in the Edit Tab and shows the results in a grid with column sort and pagination. edited and executed any time. Remember that to query your model the connection to the original database must be alive. The query file store you query definition and will be opened. Simply drag&drop them to the right panels to compose your query.metaquery) inside your project.SpagoBI Meta This will open a new wizard that let you create a new Query File (. on the left. In the Edit tab. The Query Editor is divided in two tabs (look at the bottom): • The Edit tab: let you define and edit the query structure with a simple drag & drop graphical user interface. You can apply alias name. aggregation functions.spagobi_meta . Page 17 . • Having clause: this is similar to the where clause panel but applies to the group by operations.SpagoBI Meta To the right you can see three panel for: • Select Fields: the fields that will be showed in the results. an operation a write a right operand and combine it with another operand usign boolean connector. ordening.last modified by Alessandra Toninelli on 2013/10/11 15:02 . • Where clause: the filtering options that you want to apply to your interrogation. You can choose a left operand. group by and more. SpagoBI Meta Page 18 .last modified by Alessandra Toninelli on 2013/10/11 15:02 .spagobi_meta .
Copyright © 2024 DOKUMEN.SITE Inc.