-
In a web browser, go to:
http://server:port/discovery
Where server is the server name or IP address of your Spectrum Technology Platform server and port is the HTTP port. By default, the HTTP port is 8080.
- Log in with your credentials.
- On the Home page, click Profiling.
-
Click the Add Profile button .
The Add Profile page is displayed with a wizard showing three stages of profile creation: Select Source > Configure Profile > Finish.
-
From the Select data source options, select the
Flat File option, and click the Add
Files button.
The Choose File pop-up window is displayed.
-
Use the file path selection box to go to the path on your local machine
or server where the files are located.
A list of files is displayed below the file path selection box. You can filter required files from the list by using the Filter type ahead text box.
-
Select all the files you need to create the profile and click
OK.
The selected files are displayed on the left side of the page, below the Add Files button.
-
To add more files, click the Add Files button again and
repeat steps 6 and 7.
Note: You can add files from different folders on your local system, on server, and SFTP server in any combination you want. For using SFTP server, you need to configure it first. For more information, see the Administration Guide.
-
Click any file in the list to view these details:
- The number of files selected. For example7 File(s) selected
- Color coding for file's metadata
- Green: Metadata detected automatically
- Blue: User configured metadata
- Red: Metadata not detected. Such files are skipped during profiling. However, you can configure the metadata of these files using the File Setting fields as described in this task below. After manual configuration, these files turn blue.
- Path of the file. For example, E:/Sample Files/profile/fileOne.txt
- File settings
- Preview of the records in the file
-
To modify settings for any of the files, select it and make changes as
described in this table.
Settings Description Character encoding The text file encoding. For more information, see Character Encodings. Field delimiter Specifies the character used to separate fields in a delimited file.
For example, this record uses a pipe (|) as a field delimiter:
7200 13TH ST|MIAMI|FL|33144
The characters available as field delimiter are:
- Comma
- Semicolon
- Pipe
- Tab
- Space
- Period
You can also add custom field delimiters, to add a custom field delimiter follow these steps:- Click the Add button placed adjacent to Field delimiter. Add Separator pop-up window is displayed.
- Enter your desired field delimiter in the character field, the corresponding Unicode is displayed automatically.
- Enter a suitable name for your delimiter in the Description field.
- Click Save, your delimiter appears in the Field delimiter drop down.
Text qualifier The character used to surround text values in a delimited file.
For example, this record uses double quotes (") as a text qualifier.
"7200 13TH ST"|"MIAMI"|"FL"|"33144"
The characters available to define as text qualifiers are:
- Single quote (')
- Double quote (")
If the file uses a different text qualifier, click the ellipses button to select another character as a text qualifier.
Line separator Specifies the character used to separate records in line in a sequential or delimited file. The record separator settings available are:
- Unix (U+000A)
- A line feed character separates the records. This is the standard record separator for Unix systems.
- Macintosh (U+000D)
- A carriage return character separates the records. This is the standard record separator for Macintosh systems.
- Windows (U+000D U+000A)
- A carriage return followed by a line feed separates the records. This is the standard record separator for Windows systems.
First row is header row Specifies if the first record in a delimited file contains header information. A Yes indicates it has header information.
For example, this file snippet shows a header row in the first record.
"AddressLine1"|"City"|"StateProvince"|"PostalCode" "7200 13TH ST"|"MIAMI"|"FL"|"33144" "One Global View"|"Troy"|"NY"|12180
-
To apply settings of one file to another:
- Select the file from which you want to copy the settings, and click the Copy File Settings button.
- In the Apply file settings pop-up window that is
displayed, select the files to which you want to apply the settings, and
click OK.Note: The file settings are applied to the selected files.
- To see preview of the selected file, see the Preview section below File Settings.
- To configure the profile you created, click on the top right corner of the page.
You can create your profile from records in flat files on your machine or on
server. To do this, perform these steps: