Add a dictionary
Before you can use a dictionary in a locator, formatter or validation method, you need to add it to the project. A copy of the source file is copied into the project. You can configure a dictionary to update automatically when the source file is updated. Alternatively, you can import the database manually if the source file changes.
You can add a dictionary by following these steps:
-
On the
Project tab, in the
Configuration group, select
Project Settings
.
- Click the Dictionaries tab to view the dictionary settings.
- Click Add.
- In the new window that opens, type a descriptive name for the new dictionary and press Enter.
-
Click
OK.
The Dictionary Options window is displayed.
-
Select where the
Referenced import file (text or csv file) is located:
- File system
- Web
-
If you selected
File system, click
Browse and navigate to the required .txt or .csv file.
A copy of the source database file is imported into the file system hierarchy for the project.
-
If you selected
Web, click
Browse URL and type in the desired web address.
- Optionally, select Yes for the Use Windows authentication option if the specified file is protected and then provide a User Name and Password.
- Click Test to ensure that the URL is available.
A copy of the source database file is imported into the file system hierarchy for the project.
- Modify the other dictionary options as needed.
- Click OK to save your dictionary settings.
- Optionally, click OK to close the Project Settings window.
- Save the changes to your project.