Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
nameerd
nopaneltrue

Insert excerpt
_remote_database_table
_remote_database_table
nopaneltrue
s feature in PhixFlow v12.1+.

Overview

Insert excerpt
_remote_database_table
_remote_database_table
nopaneltrue
s allow tables from in external databases to be used in PhixFlow.

They are created in an ERDs and backed by a

Insert excerpt
_datasource
_datasource
nopaneltrue
. Any
Insert excerpt
_action_save
_action_save
nopaneltrue
 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 Flows for direct reading and writing to external tables

  • Screens to provide real time views of data in external databases

Insert excerpt
_property_tabs
_property_tabs
namebasic-h
nopaneltrue

Insert excerpt
_parent
_parent
nopaneltrue

Basic Settings

FieldDescription
NameThe name of the File Table.
Enabled

Enable to allow a file to be uploaded and associated information captured, when a file(s) is dragged and dropped onto a File Display or File Gallery component.    the table to be used.

Table

The table associated with the datasource

Datasourceemote 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 OnlyTick to signify that the file table's attributes cannot be amended.
DescriptionEnter a description to explain the purpose of this item. 

Attributes


Insert excerpt_tableFile_tableFilenopaneltrues have a set of predefined attributes that cannot be changed, deleted or added to. These attributes are: The attributes on this table have a Column Name field.

See All Sections

Expand
titleClick here to see details of all sections...

Insert excerpt
Table
Table
nameViews
nopaneltrue

Insert excerpt
Table
Table
nameSortOrders
nopaneltrue

Errors 

Insert excerpt
_validate
_validate
nameerror
nopaneltrue

Insert excerpt
Table
Table
nameERDs
nopaneltrue

Insert excerpt
Table
Table
nameRelations
nopaneltrue

Insert excerpt
Table
Table
nameFilters
nopaneltrue

Insert excerpt
Table
Table
nameDataRetentionSettings
nopaneltrue

Insert excerpt
Table
Table
nameAdvanced
nopaneltrue

Insert excerpt
_access
_access
nopaneltrue

true
Insert excerpt
_model_prop_model_prop
nopaneltrue
Insert excerpt
TableTable
nameAdvanced
nopaneltrue
Insert excerpt
_access_access
nopaneltrue
Insert excerpt
_audit_auditnopanel
_audit
_audit
nopaneltrue


Setting Up Remote Database Tables

  1. On an ERD, drag a
    Insert excerpt
    _remote_database_table
    _remote_database_table
    nopaneltrue
    from the toolbar
    1. Name: Provide a name 
    2. Datasource: Choose a datasource from the drop down list or clikc the 
      Insert excerpt
      _datasource
      _datasource
      nameicon
      nopaneltrue
      icon to open the lost of datasources in the Repository, or create a new one
    3. Set Up:
      1. Automatic: find the tables in the datasource automatically
      2. Manual: type in the table name
    4. Table:
      1. If Automatic is chosen for Set Up, this is a drop down list of tables available in the selected datasource
      2. If Manual is chosen for Set Up, this is a input field where the table name can be entered (case insensitive)
    5. Click Confirm
      Image Added
  2. PhixFlow will search for the table in the chosen datasource, and if found will display a Mappings window 
  3. 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
    nopaneltrue
    1. The attributes shown in the left of the mappings window match the column names on the remote database table
  4. To reopen the Mappings window, in the
    Insert excerpt
    _remote_database_table
    _remote_database_table
    nopaneltrue
    properties, hover over the
    Insert excerpt
    _more_options
    _more_options
    nopaneltrue
    menu in the Attributes section and choose
    Insert excerpt
    _map_attributes
    _map_attributes
    nopaneltrue
    to display the Mappings window
    Image Added



Note
  • Insert excerpt
    _remote_database_table
    _remote_database_table
    nopaneltrue
    s do not support analysis runs. 
  • They cannot have Audit Manual Changes enabled. Recordsets cannot be rolled back.
  • When saving to a
    Insert excerpt
    _remote_database_table
    _remote_database_table
    nopaneltrue
    using a save action in an actionflow, an audit trail will no exist for the changes.
  • Relations between
    Insert excerpt
    _remote_database_table
    _remote_database_table
    nopaneltrue

    cannot be created unless both remote tables have the same backing source
  • Relations cannot be created between
    Insert excerpt
    _remote_database_table
    _remote_database_table
    nopaneltrue
    s and 
    Insert excerpt
    _tables
    _tables
    nopaneltrue
    s



Any changes made to the

Insert excerpt
_remote_database_table
_remote_database_table
nopaneltrue
in PhixFlow will update both PhixFlow and the database. 

Remote 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.