FME Version
Introduction
Let's do a data upload through the FME Server Web Interface. We'll supply a CSV file to a workspace already on FME Server just before we run it, using the Upload File feature.
Step-by-step Instructions
Note: This exercise is a continuation of FME Server Data Upload: Publish from FME Workbench, ensure you have completed this exercise first before starting this one.
1. Open FME Server Web User Interface to Run the Published Workspace
Open the FME Server Web User Interface and log in, using the same credentials that were used to publish the workspace in the previous tutorial. Let’s run that workspace on FME Server. On the side menu bar, click on Run Workspace. Set the Repository to Data Upload and select the CheckFieldStatus.fmw for the workspace. From the Service drop-down select Data Download. The Data Download service will provide a link to download the output dataset if the translation is successful.
2. Upload the Field Status CSV File
In the Published Parameters section, there is the Field Status CSV File parameter that we created in FME Workbench. Click Upload File to open the Select file for Field Status CSV File dialog. Browse to and select the weekendplayfieldstatus.csv for upload. The file will be uploaded to the Temporary Uploads resource folder on FME Server.
3. Run the Workspace
The workspace is now linked to the weekendfieldstatus.csv file using a published parameter. Click on the Run button on the Run Workspace page after the CSV file has been 100% uploaded. Once the job has run, a job status page will appear. If the job was successful there will be a green checkmark next to COMPLETED and a Data Download URL will be at the bottom.
4. Download Results
Click on the Data Download URL, this will download a zip file containing the FieldStatus.kml file. Unzip the file and open it up in Google Earth to view the results; the results can also be viewed in FME Data Inspector if you do not have Google Earth.
Continue to FME Server Data Upload: Resource Files to continue the exercise where we will look at another method for uploading data to FME Server.
Data Attribution
The data used here originates from open data made available by the City of Vancouver, British Columbia. It contains information licensed under the Open Government License - Vancouver.
Comments
0 comments
Please sign in to leave a comment.