Intro
You can create a CSV DataSet Job in Workbench 4. When you select CSV as your Data Source type, you can specify the file path of the CSV data source and configure options such as delimiters, missing field handling, etc.Note: The CSV file must
- be a text file
- have data delimited by a single character You can specify the delimiter in Advanced Settings.
Part 2 of 4
Part 3 of 4
Part 4 of 4
Connecting to CSV Data
To create a CSV DataSet Job in Workbench 4,- Click Add New in the DataSet Jobs grouping in the Buttons toolbar at the top of the Workbench window. This opens the Workbench DataSet Job Creation Wizard.
- (Conditional) If requested, select the desired Domo server. (This screen only appears if you have more than one server set up in Workbench.)
- In the DataSet Job Name field, enter a name for the DataSet Job. This is the name of the job as it appears in Workbench, not the name of the uploaded DataSet in Domo.
- In the DataSet Name field, enter the name of the DataSet. This is the name of the uploaded DataSet in Domo.
-
Select the desired update method in the
Update Method menu:
- Select Replace DataSet if you want the DataSet to be replaced entirely upon updating.
- Select Append to DataSet if you want new data to be added to the existing data set upon updating.
-
In the
Transport Method menu, select Local File Provider, External Process File Provider, or FTP/SFTP File Provider.
Descriptions for these transport methods are as follows:
- Click Next.
- In the Data Source menu, select CSV.
- In the DataSet Type field, select the type of DataSet in the dropdown or enter a custom name. The DataSet type you select or enter here is reflected as the connector type in Domo after you execute the job.
-
(Optional) Enter a description in the
DataSet Description field.
Note: You can change any of the settings you made in the above steps in the Source panel for the DataSet Job after you complete all of the steps in the Wizard except the transport method.
- Click Next. A new CSV DataSet Job is added to the list of jobs for the currently authenticated server in the Accounts pane.
- Under the CSV DataSet Job that was just added to the jobs list, select Source. A panel opens with options for configuring your file transport and setting options for your CSV data source.
-
(Conditional) Do one of the following:
-
If you selected
Local File Provider as your Transport Method…
- Click the ellipsis (…) in the File Path field.
- Select the desired CSV file from your machine or network.
-
If you selected
External Process File Provider as your Transport Method…
- Click the ellipsis (…) in the Program Executable field.
- Select the desired executable file from your machine or network.
- (Optional) Enter arguments in the Arguments field, if any.
- Click the ellipsis (…) in the Output File Path field.
- Select the desired output file path on your machine or network. The file type for the output path must be CSV.
-
If you selected
FTP/ SFTP File Provider as your Transport Method…
- Enter the server name in the Server field.
- Enter the port number in the Port field.
- Enter your server credentials in the Username and Password fields.
- Select the desired protocol (FTP, SFTP, or FTPS).
- (Optional) If you have an SSL certificate (SFTP and FTPS only), configure the settings as necessary. For more information about these settings, see SFTP File Provider.
- In the Remote File field, enter the filename for the field you want to import.
-
If you selected
Local File Provider as your Transport Method…
- Click Apply Changes.
- In the Field Delimiters menu, select the radio button for the delimiter used in your CSV file. To set a custom delimiter, click the Other radio button then enter the desired delimiter in the field.
- In the Encapsulate Fields With field, specify the character used for encapsulating fields.
- (Optional) In the Escape Sequence Character field, specify the character used for escaping.
- (Optional) In the Comment Character field, select the character used for commenting.
-
In the
Missing Fields Handling section, select the radio button for the desired behavior when missing fields are encountered in your CSV file.
- If the first row in your cell range contains column headers, leave the box checked; otherwise clear this box. This is important when building cards in Domo because column headers are used to reference the data in those columns. For more information, see Applying DataSet Columns to Your Chart.
- If you want Workbench to skip empty lines in your CSV file when sending the data to Domo, check the box for Sanitize data before processing; otherwise leave it unchecked.
- (Optional) In the Ignore starting rows field, specify the number of rows to skip at the beginning of the data so you can start importing a specific row. This does not include the header row containing the column names.
- (Optional) In the Ignore ending rows field, specify the number of rows to skip at the end of the data.
- In the Text Encoding menu, select the character encoding used in the CSV file.
- Setting an update schedule for the job
- Adding the job to a group of jobs with an advanced schedule set in Windows Task Scheduler
- Configuring notifications to be sent when the job update succeeds or fails
- Encrypting and decrypting Workbench data
- Creating new columns using calculations
- Setting a custom date format on a column
- Replacing a value in a column
- Combining DataSets
- Applying filters to columns