Skip to main content
Mitratech Success Center

Content Field, Extract an Account Name

In this article we will discuss content field and how to extract an account name.

Note: Content fields can be used to extract data from text and PDF documents only. 

This example shows how to create a Data Definition for a simple bank statement.

  1. Click on Data Definitions in the tree view, then right-click and select New. The Data Definition Editor is opened.
  2. Give the new Data Definition a name. On the General Details tab, enter a name for the Data Definition in the Name field.
  3. The ID is created automatically.
  4. Select the Store content for full text searching tick box if you require the documents which are stored using this Data Definition to be text searchable. See “Content Full Text Searchablefor more information.
  5. When creating a new Data Definition, it is useful to be able to see the document for which you are creating the Data Definition. Click on the Sample Documents tab, then click the Open button. Browse to the required document and open it.
  6. In this example, the first page of the statement1.txt file contains the following data:

John Davis & Associates

Eversley Way
Egham                 003827-11C 09/02/11
TW20 8RF



01/01/11 02696 ADJ



08/01/11 05227 PREM



09/01/11 02745 PREM



15/01/11 02757 CASH

ZZ000000Z YXFTR - IM/270691/1040 - SRP


31/01/11 02768 CASH



31/01/11 05394 PREM



  1. The selected file is loaded. Select the General Details tab.
  2. Create a new field. With the General Details tab selected, click the New Text Field button.
  3. In this example, the first Index Field is for the Company Name on the statement. Company Name is a text field and it is a Page-level index. Enter the Field name, Type and Index level information.
  4. Decide if you want the field value to be stored. Although you will probably want to store most Index Field values, you might not want to store them all. Is stored enables you to define which Index Field values are stored (i.e. saved) in the database. For example, you probably want to store the Index Field Account Name. In this case, you would select the Is Stored tick-box. However, sometimes you want to create a field purely to locate a Document’s Boundaries and you may not want to store the Index Field’s value.
  5. In the Behaviour Properties section, as required, select the Mandatory (field must be ...) tick-box to ensure the index field is always filled in for the item to be valid. Alternatively, clear the Mandatory (field must be ...) tick-box to make it optional for the index field to be given a value. In this example, the Account Name is Mandatory, so select the tick-box.
  6. Next, select Single Field Value tick-box to set one value per field, as, in this example, there is only one Account Name.

Help and ToolTip Properties

In the Help and ToolTip Properties section, if required, type in the Help Text and ToolTip Text into the appropriate text boxes.

Display Properties

Note: The Display Properties are usually used with Index Fields which have values which are entered manually and have a list of allowable values.

In this example, leave them set at the default settings.


In this example leave the Validation settings at the default values.

Input Source

With the Company Name field selected, select the Input Source tab.

  1. In this example, the Field Index is automatically extracted from the document so select Values are extracted automatically (not externally provided).
  2. Leave the remaining Input Source parameters left set to their default settings.
  3. When the Values are extracted automatically (not externally provided) tick-box is selected, the Positions tab becomes available at the bottom of the Sample Documents tab. The Positions tab is used to define the field’s start column and line number and end column and line number. Use the mouse pointer to select the default positions box and place it over the Company Name on the Sample Document. Resize the box to enable the maximum length Company Name to fit inside it.image
  4. In this example, the Company Name starts at the first character on line 8 and ends on the 28th character on line 8. In the text box, enter a regular expression to be used to search for the field information. There is nothing else on line 8 of the statement so the regular expression looks for all the characters on the line within the selected area (.+).
  5. Test the Position. Ensure the correct Index Field is selected and click the Positions ribbon at the top of the Window. Click Start Match.
  6. The results from the Position test are highlighted in the Document pane. In this example, the Company Name (John Davies & Associates) is shown on the Matches Found tab.
  7. Continue creating Index Fields for the Data Definition. Click on the Home tab and click the Save button at the top of the pane to save the Index Fields.
  • Was this article helpful?