Insert excerpt |
---|
| _remote_database_table |
---|
| _remote_database_table |
---|
nopanel | true |
---|
|
s feature in PhixFlow v12.1+.
Overview
Insert excerpt |
---|
| _remote_database_table |
---|
| _remote_database_table |
---|
nopanel | true |
---|
|
s allow tables in external databases to be used in PhixFlow.
They are created in an ERDs ERD and backed by a
Insert excerpt |
---|
| _datasource |
---|
| _datasource |
---|
nopanel | true |
---|
|
.
Any Changes can be made to remote database tables in PhixFlow, such as updating or inserting, and saved in an Actionflow using a
Insert excerpt |
---|
| _action_save |
---|
| _action_save |
---|
nopanel | true |
---|
|
and then any save actions / grids that view them will update / read from / insert into the database that the backing datasource is connected to. The table on the backing datasource this Table represents can be selected from a drop down list when created or entered manually. Remote table attributes can be mapped to column names with a new mapping interface.Use these trables in:
action. These changes will be saved back to the external database.
Use
property
tabs
property_tabsname | basic-h |
---|
remote_database_table | nopanel | true |
---|
|
s in:
parentparentAttributes
The attributes on this table have a Column Name field.
See All Sections
Expand |
---|
title | Click here to see details of all sections...Basic Settings
Field | Description |
---|
Name | The name of the File Table. |
Enabled | Enable to allow the table to be used. |
Table | The table associated with the datasource |
Datasource | emote Database Tables can be backed by a Datasource and then any save actions / grids that view them will update / read from / insert into the database that the backing datasource is connected to. |
Read Only | Tick to signify that the file table's attributes cannot be amended. |
Description | Enter a description to explain the purpose of this item. |
Tablename | Views |
---|
Table | Table | name | SortOrders |
---|
nopanel | true |
---|
Errors
Insert excerpt |
---|
Table | Note |
---|
title | Important Considerations |
---|
|
- On ERDs, relations between two
validate | _validate | name | errorremote_database_table | | _remote_database_table |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
Table | Table |
---|
name | ERDs |
---|
nopanel | true |
---|
Table | name | Relations |
---|
- s
cannot be created unless both remote tables have the same backing datasource - Relations cannot be created between
Table | _remote_database_table | | _remote_database_table |
---|
nopanel | true |
---|
|
s and
TableTable | name | Filters |
---|
Table | Table | name | DataRetentionSettings | _remote_database_table |
---|
| _remote_database_table |
---|
nopanel | true |
---|
|
Insert excerpt |
---|
Table | Table | name | Advanced |
---|
nopanel | true |
---|
- s cannot be used in Analysis Models
- Changes made to
accessaccessnopanel | true |
---|
Insert excerpt |
---|
_audit | _auditremote_database_table | nopanel | true |
---|
|
Setting Up Remote Database Tables
On an ERD, drag - in PhixFlow do not have an audit trail and their recordsets cannot be rolled back
|
For how to create a
Insert excerpt |
---|
| _remote_database_table |
---|
| _remote_database_table |
---|
nopanel | true |
---|
|
from the toolbarName: Provide a name Datasource: Choose a datasource from the drop down list or clikc the , see Adding Data and Tables to an ERD.
datasourcedatasourceicon icon to open the lost of datasources in the Repository, or create a new oneSet Up:- Automatic: find the tables in the datasource automatically
- Manual: type in the table name
Table:- If Automatic is chosen for Set Up, this is a drop down list of tables available in the selected datasource
- If Manual is chosen for Set Up, this is a input field where the table name can be entered (case insensitive)
Click Confirm
Image Removed
PhixFlow will search for the table in the chosen datasource, and if found will display a Mappings window On the Mappings window, map across the attributes from the datasource you wish to display in the Insert excerpt |
---|
_remote_database_table | _remote_database_table | nopanel | true |
---|
- The attributes shown in the left of the mappings window match the column names on the remote database table
To reopen the Mappings window, in the Insert excerpt |
---|
_remote_database_table | _remote_database_table | nopanel | true |
properties, Insert excerpt |
---|
| _parent |
---|
| _parent |
---|
nopanel | true |
---|
|
Basic Settings
Field | Description |
---|
Name | The name of the Remote Database Table. |
Enabled | Enable to allow the table to be used. |
Table | The name of the table on the database. |
Datasource | The name of the datasource connected to the remote database. |
Description | Enter a description to explain the purpose of this item. |
Attributes
After mappings in the column names from the remote table, they will appear here as attributes.
The attribute's column name (as it appears on the database) can be seen by double-clicking the attribute to see the Column Name field.
To display the Mappings window, hover over the
Insert excerpt |
---|
| _more_options |
---|
| _more_options |
---|
nopanel | true |
---|
|
menu in the Attributes section and choose
Insert excerpt |
---|
| _map_attributes |
---|
| _map_attributes |
---|
nopanel | true |
---|
|
to display the Mappings window
Image Removednote.
See All Sections
Expand |
---|
title | Click here to see details of all sections... |
---|
|
_remote_database_table | _remote_database_table | Table | | Table |
---|
name | Views |
---|
nopanel | true |
---|
|
s do not support analysis runs. They cannot have Audit Manual Changes enabled. Recordsets cannot be rolled back.When saving to a Insert excerpt |
---|
| Table |
---|
| Table |
---|
name | SortOrders |
---|
nopanel | true |
---|
|
Errors
remote_database_table_remote_database_tablevalidate | | _validate |
---|
name | error |
---|
nopanel | true |
---|
|
using a save action in an actionflow, an audit trail will no exist for the changes.Relations between _remote_database_table | _remote_database_table |
---|
| Table |
---|
| Table |
---|
name | ERDs |
---|
nopanel | true |
---|
|
cannot be created unless both remote tables have the same backing sourceRelations cannot be created between Insert excerpt |
---|
| Table |
---|
| Table |
---|
name | Relations |
---|
nopanel | true |
---|
|
_remote_database_table | _remote_database_table |
---|
| Table |
---|
| Table |
---|
name | Filters |
---|
nopanel | true |
---|
|
s and _tables_tables | Table | | Table |
---|
name | DataRetentionSettings |
---|
nopanel | true |
---|
|
s
Any changes made to the Insert excerpt |
---|
| Table |
---|
| Table |
---|
name | Advanced |
---|
nopanel | true |
---|
|
|
remote_database_tableremote_database_tableRemote tables will be available for selection in Actionflow nodes such as Save, Bulk Update.
Remote tables will be available as the backing table on Grids, card containers and forms.
User case: Write data to a database in an actionflow. in PhixFlow will update both PhixFlow and the database.