By the end of this page you will be able to:
Table of Contents |
---|
maxLevel | 1 |
---|
exclude | Run analysis* |
---|
|
Create a new datasource
- From the model toolbar, drag a
Insert excerpt |
---|
| _datasource |
---|
| _datasource |
---|
nopanel | true |
---|
|
onto the model. - In the new datasource settings form that opens, enter the Name:
CRM
- In the settings toolbar, click .
- PhixFlow adds the new datasource to your model. In the model toolbar, click .
- You will now add more settings to the datasource.
- In the Basic Settings section:
- Enabled: tick
- Database Driver: select
MariaDB
- The Datasource Instances section has its own toolbar. Click . PhixFlow opens the settings for a new datasource instance. Set:
- Name:
Default
- Enabled: tick
- Authorisation Type: Local
- URL:
jdbc:mariadb://localhost/trainingCRM
- Username:
training
CRM
- Password: This is provided by PhixFlow support, contact support@phixflow.com and request your password. XBPOaU493wx3amNAGySU
- Click
Insert excerpt |
---|
| _finish |
---|
| _finish |
---|
nopanel | true |
---|
|
to finish and close the datasource instance settings.
- Back in the datasource settings, click
Insert excerpt |
---|
| _finish |
---|
| _finish |
---|
nopanel | true |
---|
|
to finish and close.
Create a database collector from the datasource schema browser
- In your model, hover your mouse pointer over the
Insert excerpt |
---|
| _datasource |
---|
| _datasource |
---|
nopanel | true |
---|
|
icon. In the popup toolbar, click Insert excerpt |
---|
| _table_database |
---|
| _table_database |
---|
nopanel | true |
---|
|
- In the list of tables that PhixFlow opens, scroll down to the
SOURCE_CUSTOMER_PHONE_NUMBERS
table name.- To have a look at the data in this table, double-click its name.
- You can see there are columns for ##CUSTOMER_REF and ##PHONE_NUMBER.
- Close this data form
- Right-click
SOURCE_CUSTOMER_PHONE_NUMBERS
and in the popup menu, select Create a Collector. PhixFlow adds a new Insert excerpt |
---|
| _database_collector |
---|
| _database_collector |
---|
nopanel | true |
---|
|
to your model, which reads data from the table SOURCE_CUSTOMER_PHONE_NUMBERS. - Double-click on the new database collector to open its settings.
- In the Basic Settings section → Statement Expression field, you can see that PhixFlow has added a database query.
- Close the database collector settings.
- In the model, click .
Create a table automatically from a database collector
- Hover your mouse pointer over the
Insert excerpt |
---|
| _database_collector |
---|
| _database_collector |
---|
nopanel | true |
---|
|
. - In the popup toolbar, click
Insert excerpt |
---|
| _table_with_attributes |
---|
| _table_with_attributes |
---|
nopanel | true |
---|
|
. PhixFlow adds the new table to your model. - In the model window, click .
Run analysis and view the table data
- To run analysis on your new table hover your mouse pointer over the new table, and in the popup toolbar, click
Insert excerpt |
---|
| _run_analysis |
---|
| _run_analysis |
---|
nopanel | true |
---|
|
. - To view the data you just loaded, hover over the table and click
Insert excerpt |
---|
| _view_show |
---|
| _view_show |
---|
nopanel | true |
---|
|
. In the drop-down list, select Insert excerpt |
---|
| _view_default |
---|
| _view_default |
---|
nopanel | true |
---|
|
.