Helical Insight is an Open Source Business Intelligence (BI) tool which supports NuoDB database. In this article we will cover in detail, how you can connect, analyze, share and use other features of Helical Insight with NuoDB Database.

Following are the steps to be performed at file system of Helical Insight (hi-repository/System/Admin) when the database is configured for the first time :

  1. JDBC Driver Configuration
  2. Dialect Configuration
  3. Database Function List Configuration


Post configuration process involves report creation. Following are the steps to create report with Helical Insight using SQLite Database:

  1. Datasource Creation
  2. Metadata Creation
  3. Adhoc Reports


JDBC Driver Configuration

JDBC driver configuration is required through which a database connection can be established with Helical Insight Application. Following are the steps to configure JDBC Driver :

  • Download latest OpenEdge JDBC Driver.
  • Once you have downloaded the driver, you need to put that driver in a “Drivers” Folder of Helical Insight Application.
    C:\Helical Insight\hi-repository\System\Drivers 

    and then immediately it will start appearing in the drop down list of Datasource. Click here for more details


Dialect Configuration

Dialect is used for generating SQL query as per the database selected. In Helical Insight Application, following are the steps to configure dialect :

  1. Go to hi-repository/System/Admin.

  2. sqlDialects.properties file

  3. Open “sqlDialects.properties” file in edit mode using text-editor such as notepad, notepad++.
  4. Add the below present line at the end of the file in a new line.
    org.sqlite.JDBC=org.hibernate.dialect.PostgreSQLDialect

    Note: Here, SQLite database does not have separate SQLite dialect and it directly supports PostgreSQL dialect. So, Postgresql dialect is mapped with the SQLite JDBC driver.

  5. Now, save the file.

Note : In case, dialect is not assigned then by default MySQL dialect is assigned to the selected database. In result, a sql query will be generated which may or may not support the selected database.


Database Function List Configuration

While creating Adhoc reports, there are database functions which can be applied on datatypes such as text, numeric, datetime, etc. Now, to view the database functions list following are the files needs to be configured :

  1. .xml file.
  2. javascript / js file.
  3. sqlFunctionsXmlMapping.properties



XML file

This file contains the database functions in the XML format. Using this file, user can modify database functions. The XML file is saved as “databasename.xml” for example, “nuodb.xml” or any name can be assigned. The required file has to be present inside the SqlFunctions folder.

Following are the steps to configure database XML file :

  1. Download the zip file which contains xml and js files.
  2. Now, extract the files and insert the nuodb.xml inside the SqlFunctions folder.

    Folder Path :
  3. hi-repository/System/Admin/SqlFunctions


javascript /js file

Javascript file contains code used for defining the query syntax for the respective database. The JS file name must be same as the name assigned to the xml file of the respective database. The filename is case sensitive.

Following are the steps to configure JS file :

  1. Download the zip file which contains xml and js files.
  2. Now, extract the files and insert the nuodb.js inside the SqlFunctions folder.

    Folder Path :

    hi-repository/System/Admin/SqlFunctions



sqlFunctionsXmlMapping.properties file
This file is used for configuring the xml file with the respective database. Following are the steps to configure :

  1. Open Admin folder present inside the helical insight repository.
  2. Folder Path :

    hi-repository/System/Admin
  3. Open sqlFunctionsXmlMapping.properties file in edit mode using text-editor like notepad++, etc
  4. Insert the code com.nuodb.jdbc.Driver=nuodb in a new line.
  5. Now, save the file.

Note : In the above code, the name “nuodb” should match with the name assigned to xml file (nuodb.xml) and js file (nuodb.js) .

nuodb mapping


database funtion list
Database Functions List

Create Datasource


This process involves establishing a connection between Helical Insight application and NuoDB database.

There are 2 methods available for creating a Datasource in Helical Insight:

  1. Front End Approach
  2. Back End Approach

Method 1 : Front End Approach

  1. Login to Helical Insight Application.  ( For default credentials, click here )
  2. Click on “Home” button and select “Adhoc” from the list.
  3. On entering Adhoc Page, click on “Create” button in Datasources
  4. Select the “DataSource Type” from the given list. In this case, “Managed Datasource” will be used.
  5. Now, enter the following details as shown in the below image :
  6. NuoDB Managed Datasoure Creation



    Datasource Details :

    Datesource Name : NuoDB Datasource  ( user-defined name )
    
    Driver : com.nuodb.jdbc.Driver   ( NuoDB JDBC type4 driver )
    
    URL : jdbc:com.nuodb://localhost:48004/sample_db
    
    JDBC URL Format:
    jdbc:com.nuodb://<server>:<port48004>/<databasename>
    
    Username : domain
    Password : serverpass
    



    Here, username and password will be the user and password created during nuoDB database server installation.




    Note: If NuoDB JDBC type 4 Driver is not present in the driver dropdown list of adhoc, then it can be added externally. Following are the steps to update driver list :

    • Download latest OpenEdge JDBC Driver.
    • Once you have downloaded the driver, you need to put that driver in a “Drivers” Folder of Helical Insight Application
      C:\Helical Insight\hi-repository\System\Drivers 

      and then immediately it will start appearing in the drop down list of Datasource.


  7. Now, click on “Test connection” to validate the filled details.
  8. If the entered details are correct then “The test connection is established” notification is shown.
  9. Click on “Save Datasource” to confirm.
  10. Then, next step involves creation of metadata. After saving datasource, from the same page click on “Metadata” (at the top right )
  11. Then, click on “Create”.

Further steps will be covered in “Create Metadata” step.


Method 2 : Back End Approach

  1. Go to “hi-repository” folder where Helical Insight Application is installed and then open the folder.
  2. C:\Helical Insight\hi-repository
  3. Create a New Folder with any name, say “NuoDB”, inside “hi-repository” folder.
  4. NuoDB-folder-hirepository


  5. Now, open a text-editor like notepad, notepad++ , and so on.
  6. Then enter the following details as given below :

  7. <EFWD>
          <DataSources>
              <Connection id="1" name="NuoDB EFWD" type="sql.jdbc">
                     <Driver>org.nuodb.jdbc.Driver</Driver>
                     <Url>jdbc:com.nuodb://localhost:48004/</Url>
                     <User>domain</User>
                     <Pass>server</Pass>
               </Connection>
          </DataSources>
    </EFWD>
    
    • Connection ID : User can assign any ID (numeric only)
    • name : Name of the Datasource to be shown in the Datasource list
    • Url : For creating a URL, use the following NuoDB JDBC URL format
    JDBC URL format: 
    jdbc:com.nuodb://<server>:<port48004>/<databasename>

    Database username and password is configured during the installation or can be created externally by creating a new database.


  8. After entering the details, save the file as “filename.efwd

    Note: Saved file has to be present inside the “NuoDB” folder of “hi-repository“.

  9. Now, the NuoDB Database connection has been established. ( if entered details are correct )
  10. Then, next step involves creation on metadata.
  11. Now, login to Helical Insight Application using any web browser.
  12. Click on “Home” button and select “Adhoc” from the list.
  13. Then, Click on “Metadata” Tab and then select “Create”.

Further steps will be covered in “Create Metadata” step.


Create Metadata

For creating a metadata it is mandatory to have established datasource connection which is explained in create datasource.

  1. On clicking “Create” from “Metadata” tab, “Datasource Type” selection page is displayed.
  2. Select the “DataSource Type” from the given list.

    • For Method 1 : Select DataSource Type: Managed Datasource
    • For Method 2 : Select DataSource Type: Plain JDBC Datasource


  3. Click on the Datasource Name using which metadata will be created.
    • For Method 1 : Datasource Name “NuoDB Datasource” is used. Any name can be assigned during configuration.


    NuoDB-managed-datasource-list
     

    • For Method 2 : Datasource Name “NuoDB EFWD” is used. Any name can be assigned during configuration.



    NuoDB-efwd-datasource-list

  4. Now , a metadata page appears where various operations can be performed such as table/column aliasing, defining joins, creating views and apply table/column/data security conditions.
  5. Click on “Save” to create metadata.
  6. After clicking “Save” button, a window will appear known as File Browser. Using File Browser, a metadata file is saved in the file-repository of Helical Insight.
  7. Then, click on “Save Metadata” to confirm.
  8. Now, metadata file is ready for creating Adhoc Reports.


Adhoc Reports :

Learn how to create Adhoc Report, click here




For further assistance, kindly contact us on support@helicalinsight.com or post your queries at forum.helicalinsight.com

Leave a Reply

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered