Professional Documents
Culture Documents
User manual
www.dbsoftlab.com
Active Business Intelligence Portal User Manual
Contents
Contents....................................................................................................................................... 2
1. Introduction ............................................................................................................................. 4
2. Requirements........................................................................................................................... 4
Active BI Portal Manager........................................................................................................ 4
Windows Based Server ........................................................................................................... 5
Unix/Linux Based Server ........................................................................................................ 5
3. Key features............................................................................................................................. 6
4. Active Business Intelligence Portal Architecture.................................................................... 8
5. Installation ............................................................................................................................... 9
6. Options .................................................................................................................................. 10
7. User Interface ........................................................................................................................ 12
Main window......................................................................................................................... 12
Outlook Bar ........................................................................................................................... 13
8. Connections. .......................................................................................................................... 14
Why it is necessary to have two different connections. ........................................................ 15
Understanding PHP DSN ...................................................................................................... 15
9. Menus .................................................................................................................................... 17
Creating new Menu ............................................................................................................... 18
Creating new Menu Item....................................................................................................... 19
Speeding up Menu creation................................................................................................... 20
10. Lookups ............................................................................................................................... 20
10. Lookups ............................................................................................................................... 21
SQL Builder .......................................................................................................................... 23
11. Links .................................................................................................................................... 24
12. Users .................................................................................................................................... 25
13. Groups ................................................................................................................................. 28
Access Rights. ....................................................................................................................... 30
14. SQL ..................................................................................................................................... 32
Screen Overview ................................................................................................................... 32
SQL Toolbar.......................................................................................................................... 33
Side toolbar............................................................................................................................ 33
15. Web Pages ........................................................................................................................... 34
Screen Overview ................................................................................................................... 34
Creating a New Web Page Using Wizard ............................................................................. 35
Toolbar Functions.................................................................................................................. 38
18. Reports................................................................................................................................. 39
Screen Overview ................................................................................................................... 39
Creating a New Report Page Using Wizard .......................................................................... 40
Report Structure .................................................................................................................... 46
Editing HTML Manually....................................................................................................... 47
Report HTML Example......................................................................................................... 48
Report Parameters page HTML Example ............................................................................. 49
Linking Reports together....................................................................................................... 50
Linking Reports using Wizard .............................................................................................. 51
19. Web Forms .......................................................................................................................... 53
Screen Overview ................................................................................................................... 53
Creating a New Web Form Using Wizard ............................................................................ 54
DB Software Laboratory
2 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
3 of 70
Active Business Intelligence Portal User Manual
1. Introduction
2. Requirements
Active Business Intelligence Portal consists of two parts Active BI Portal Manager which
works on Windows only and server part which is collection of PHP scripts and can be run on
Windows, UNIX or Linux.
Below is the list of Software that must be installed before the installation of Active Business
Intelligence Portal:
DB Software Laboratory
4 of 70
Active Business Intelligence Portal User Manual
Note:
Depending on the Requirements you may or may not need to have all components installed
DB Software Laboratory
5 of 70
Active Business Intelligence Portal User Manual
3. Key features
When running on Windows Active Business Intelligence Portal can use any ODBC source or
PHP Database extensions to report on such as
• MS Access
• Oracle
• MS Sql Server
• Interbase/Firebird
• MySQL
• PostgreSQL
• Users
• Groups
• Access Rights
• Menus
• Lookups
• Source Database Connections
• Links
• HTML Pages
• Reports
• Forms
DB Software Laboratory
6 of 70
Active Business Intelligence Portal User Manual
• MS Access
• Oracle
• MS Sql Server
• Interbase/Firebird
• MySQL
• PostgreSQL
Note:
Once installation is completed you may find all the scripts in C:\Program Files\DB Software
Laboratory\Active Business Intelligence Portal folder.
DB Software Laboratory
7 of 70
Active Business Intelligence Portal User Manual
Web Server
IIS/Apache
Web Pages
Reports
Web Forms
Any Links
Database Menus
ODBC
End Users
Data Sources
Portal
Manager
DB Software Laboratory
8 of 70
Active Business Intelligence Portal User Manual
5. Installation
Repository creation
http://uk2.php.net/install
http://www.go-pear.org/manual/en/installation.php
http://www.apachefriends.org/en/xampp.html
Default Repository is MS Access if you want to use different repository you must create it first
using wizard provided. Once repository is created open config.php file find a line starting with
$dsn= and enter appropriate connection string for the repository. For more information read
Understanding PHP DSN on page 15.
Note:
6. Options
To change Active Business Intelligence Portal settings click System menu-> File-> Options.
Dialog box will appear.
Change Connection
properties
Delete Connection
Create new
Connection
DB Software Laboratory
10 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
11 of 70
Active Business Intelligence Portal User Manual
7. User Interface
Main window
System Menu
DB Software Laboratory
12 of 70
Active Business Intelligence Portal User Manual
Outlook Bar
Active Business Intelligence Portal uses Outlook bar to provide the user with an easy access to
the main functions of application.
DB Software Laboratory
13 of 70
Active Business Intelligence Portal User Manual
8. Connections.
In order to generate Reports and Web Forms Active Business Intelligence Portal must be able
to connect various Data sources.
DB Software Laboratory
14 of 70
Active Business Intelligence Portal User Manual
• Click Test to ensure the details you have provided are correct
• Fill in PHP Dsn appropriate for the data source
• Click OK to close the Connection Properties Window
Description
To connect to a database through PEAR::DB, you have to create a valid DSN - data source
name. This DSN consists in the following parts:
With an up-to-date version of DB, you can use a second DSN format
phptype(syntax)://user:pass@protocol(proto_opts)/database
mysql://user@unix(/path/to/socket)/pear
pgsql://user:pass@word@tcp(localhost:5555)/pear
Note:
User may change connection or directory properties at any time by double clicking on it.
DB Software Laboratory
16 of 70
Active Business Intelligence Portal User Manual
9. Menus
Every Portal user has a menu assigned. List of items accessible by the user is defined by its
access rights. Every menu consists of a root folder subfolders and items such as links, html
pages, reports and web forms.
Menu
List of Menus
DB Software Laboratory
17 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
18 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
19 of 70
Active Business Intelligence Portal User Manual
It is also possible to use drug and drop for menu design and creation.
List of folders
List of documents
DB Software Laboratory
20 of 70
Active Business Intelligence Portal User Manual
10. Lookups
Lookup is an object which represents list of values. Lookups are used for web forms and
parameters pages design.
Lookup
Lookup in Active Business Intelligence Portal is an SQL statement with two fields’ code and
description. First field is code second is description.
Select cities.CityId,
cities.City from cities
Order by 2
• To create a new Lookup click Outlook bar Lookups and than click Add.
• Dialog box will appear
• Fill in Lookup Name you are about to create.
• Select appropriate connection from the drop down box
• Click on SQL tab
• Type in SQL text or use SQL builder to design it
• Click OK to finish creation of a Lookup.
DB Software Laboratory
21 of 70
Active Business Intelligence Portal User Manual
SQL Builder
DB Software Laboratory
22 of 70
Active Business Intelligence Portal User Manual
SQL Builder
Sql Builder screen provides user with a quick way of editing/creating sql select statements.
DB Software Laboratory
23 of 70
Active Business Intelligence Portal User Manual
11. Links
Link is an object which represents URL link to an external web site or document.
• To create a new Link click Outlook bar Links and than click Add.
• Dialog box will appear
• Fill in Link Name you are about to create.
• Fill in URL
• Click OK to finish creation of a Link.
DB Software Laboratory
24 of 70
Active Business Intelligence Portal User Manual
12. Users
Active Business Intelligence Portal uses roles based security model. Every portal user must be
a member at list one of the users groups and have menu assigned. Combination of group
access rights and user group membership defines list of documents user can get access to.
• To create a new User click Outlook bar Users and than click Add.
• Dialog box will appear
• Fill in User Name you are about to create.
• Specify if user login is disabled
• Fill in user password and confirm password
• Select a User Menu from drop down box
• Click Advanced tab and fill in additional information about user
DB Software Laboratory
25 of 70
Active Business Intelligence Portal User Manual
Note:
All Fields on Advanced tab are not mandatory.
DB Software Laboratory
26 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
27 of 70
Active Business Intelligence Portal User Manual
13. Groups
Active Business Intelligence Portal uses roles based security model. Every portal user must be
a member at list one of the users groups and have menu assigned. Combination of group
access rights and user group membership defines list of documents user can get access to.
• To create a new Group click Outlook bar -> Groups and than click Add.
• Dialog box will appear
• Fill in Group Name you are about to create
• Click OK to finish creation of an Group
DB Software Laboratory
28 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
29 of 70
Active Business Intelligence Portal User Manual
Access Rights.
Access rights tabs defines list of objects available for group members.
Permission Comment
No Access Blocks access to the objects regardless of group membership
View Group members can view the objects
Insert Group members can insert records using the Web form object
Update Group members can update records using the Web form object
Delete Group members can delete records using the Web form object
Hint:
To add several objects hold ctrl or shift key and select objects using mouse.
DB Software Laboratory
30 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
31 of 70
Active Business Intelligence Portal User Manual
14. SQL
Screen Overview
DB Software Laboratory
32 of 70
Active Business Intelligence Portal User Manual
SQL Toolbar
1 2 3 4
Side toolbar
DB Software Laboratory
33 of 70
Active Business Intelligence Portal User Manual
Screen Overview
Toolbar
List of Documents
Editor
HTML Editor
Status bar
DB Software Laboratory
34 of 70
Active Business Intelligence Portal User Manual
• To create a new Web Page click Outlook bar -> Web Pages and than click Add.
DB Software Laboratory
35 of 70
Active Business Intelligence Portal User Manual
• Fill in Comments
• Click next to continue
DB Software Laboratory
36 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
37 of 70
Active Business Intelligence Portal User Manual
Toolbar Functions
1 2 3 4 5 6 7 8 9 10 11 12
13 14 15 16 17 18 19 20 21 22 23 24 25 26
27 28 29 30 31
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
DB Software Laboratory
38 of 70
Active Business Intelligence Portal User Manual
18. Reports.
Screen Overview
Toolbar
DB Software Laboratory
39 of 70
Active Business Intelligence Portal User Manual
Select countries.Country,
cities.City,
customers.CompanyName,
customers.ContactName,
Sum (sales. Amount) As Sales
From countries,cities,customers,sales,months
where
countries.CountryId = cities.CountryId and
cities.CityId = customers.CityId and
customers.CustomerID = sales.CustomerID and
months.MonthId = sales.MonthID and
months.Month=:Month Parameters must start with ‘:’
• To create a new Report click Outlook bar -> Reports and than click Add.
DB Software Laboratory
40 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
41 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
42 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
43 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
44 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
45 of 70
Active Business Intelligence Portal User Manual
Report Structure
DB Software Laboratory
46 of 70
Active Business Intelligence Portal User Manual
Reports
Parameters Page
DB Software Laboratory
47 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
48 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
49 of 70
Active Business Intelligence Portal User Manual
Example below demonstrates ability of Active Business Intelligence Portal link reports
together. First report represents list of sales by county. When user clicks on Country name it
will bring sales by city for specific country, clicking on city name will bring customers sales
for that city.
DB Software Laboratory
50 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
51 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
52 of 70
Active Business Intelligence Portal User Manual
Screen Overview
List of available fields Toolbar
DB Software Laboratory
53 of 70
Active Business Intelligence Portal User Manual
• To create a new Web Form click Outlook bar -> Forms and than click Add.
• Wizard Screen will appear
• Click next to continue
DB Software Laboratory
54 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
55 of 70
Active Business Intelligence Portal User Manual
• Select fields which are part of primary key for table they will be used for SQL
generation later
• Fill in/Update fields’ Labels
• Select appropriate formats
• Select Lookups for fields if necessary
• Click next to continue
DB Software Laboratory
56 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
57 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
58 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
59 of 70
Active Business Intelligence Portal User Manual
• Fill in comments
• Click next to continue
DB Software Laboratory
60 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
61 of 70
Active Business Intelligence Portal User Manual
Editing Data
DB Software Laboratory
62 of 70
Active Business Intelligence Portal User Manual
Form Page
Parameters Page
DB Software Laboratory
63 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
64 of 70
Active Business Intelligence Portal User Manual
DB Software Laboratory
65 of 70
Active Business Intelligence Portal User Manual
There are several ways to import export data from Active Business Intelligence Portal
User may Export entire Repository by clicking tools-> Export Repository. Format is
transportable between different databases. For example user may Export Repository from
testing environment such as MS access an import it into Live environment which is Oracle.
User may also import HTML documents from a directory. In this case file names will became
HTML Document name in Active Business Intelligence Portal Repository. This feather makes
it easier to load previously created HTML pages. It is also possible to save all Documents into
specified directory. This works with Reports and Web Forms as well. It will create separate
files for Report HTML Page, Parameters HTML page etc. and for all sql scripts.
DB Software Laboratory
66 of 70
Active Business Intelligence Portal User Manual
Should you require any support please send the following information to
support@dbsoftlab.com
1. Version number
2. Example of data
3. Script to create table
4. Database version
5. Operation system version
6. Repository
7. Description of the problem
DB Software Laboratory
67 of 70
Active Business Intelligence Portal User Manual
This End-User License Agreement ("EULA") is a legal agreement between you (either
an individual or a single entity) and DB Software Laboratory for the SOFTWARE
PRODUCT identified above, which includes computer software and may include
associated media, printed materials, and "online" or electronic documentation. By
installing, copying, or otherwise using the SOFTWARE PRODUCT, you agree to be
bound by the terms of this EULA. If you do not agree to the terms of this EULA, you
may be subject to civil liability if you install and use this SOFTWARE PRODUCT.
Once SOFTWARE PRODUCT is installed you may use it for 30 days. After evaluation
period ends, you have to purchase a license or stop using the SOFTWARE
PRODUCT.
DB Software Laboratory
68 of 70
Active Business Intelligence Portal User Manual
LICENSING
1. A single computer usage license. The user purchases one license to use the
SOFTWARE PRODUCT on one computer.
2. A SITE usage license. The user purchases a single usage license, authorising the
use of SOFTWARE PRODUCT, by the purchaser, the purchaser's
employees or accredited agents, on an unlimited number of computers at the same
physical site location. This site location would normally be defined as a single
building, but could be considered to be a number of buildings within the same,
general, geographical location, such as an industrial estate or small town.
The SOFTWARE PRODUCT is licensed as a single product. Its component parts may
not be separated for use on more than one computer.
You may permanently transfer all of your rights under this EULA, provided the
recipient agrees to the terms of this EULA.
SEVERABILITY
In the event of invalidity of any provision of this license, the parties agree that such
invalidity shall not affect the validity of the remaining portions of this license.
COPYRIGHT
MISCELLANEOUS
Should you have any questions concerning this EULA, or if you desire to contact the
author of this Software for any reason, please contact DB Software Laboratory (see
contact information at the top of this EULA).
DB Software Laboratory
69 of 70
Active Business Intelligence Portal User Manual
LIMITED WARRANTY
ENTIRE AGREEMENT
This is the entire agreement between you and DB Software Laboratory which
supersedes any prior agreement or understanding, whether written or oral, relating to
the subject matter of this license.
DB Software Laboratory
70 of 70