...
You will now add a new file collector to your model to read this file into PhixFlow.
- In From the model toolbar, drag
into onto the model.Insert excerpt _file_collector _file_collector nopanel true - In the new file collector settings tab that opens, enter the Name:
Customer Addresses.
- Click
.Insert excerpt _finish _finish nopanel true You will now see the new file collector on the model.
modelIn the
toolbar, click
to make sure that the new file collector will be shown when you re-open this model. Remember to save the model layout every time you add a new modelling component.Insert excerpt _save _save nopanel true
Set up a file collector and
...
table
- Hover over your new file collector, and click
.Insert excerpt _upload_file _upload_file nopanel true - In the file explorer, go to: …\inputData\AddressCheck\custAddrFiles\input.
- Select the file custAddr_20090322_1.txt and click Open.
- In the Upload Managed File window, click the
button.Insert excerpt _upload_button _upload_button nopanel true - PhixFlow adds a new stream table to your model. PhixFlow has automatically configured the file collector and the stream table to load the file into PhixFlow.
...
- In your model, hover your mouse pointer over the stream icon for
CustomerAddresses
the
icon forInsert excerpt _tableOnly _tableOnly nopanel true Customer Addresses
. - In the popup toolbar, click
.Insert excerpt _static _static nopanel true
...
- In your model, hover your mouse pointer over the stream icon the
Insert excerpt _tableOnly _tableOnly nopanel true
icon. - In the popup toolbar, select the
. PhixFlow runs the model, reading in data from the file of customer addresses via the file collector.Insert excerpt _run_analysis _run_analysis nopanel true - You will get a confirmation message when this has completed. We will look at messages in the console later.
View
...
table data
To view the data you just loaded:
- In your model, hover your mouse pointer over the stream icon the
Insert excerpt _tableOnly _tableOnly nopanel true
icon. - In the popup toolbar, click
.Insert excerpt _view_show _view_show nopanel true - In the drop-down list, select
.Insert excerpt _view_default _view_default nopanel true