Automatic field creation and assignment
Once a locator method is configured it is possible to create and assign fields to use that locator method automatically. This can save a lot of time and effort when configuring a project.
If a locator or evaluator method with the group extraction type requires some configuration before the fields are created, a message stating that there must be at least one subfield. The field creation and assignment functionality differs depending on the extraction type of the locator or evaluator method.
Locator or evaluator methods with the single extraction type return a single value. Because of this, the Create and Assign Fields button is available immediately, and since these single locators/evaluators have no subfields the only option to create fields automatically is the button.
For group locators that return multiple subfields, the list of default subfields is available for assignment when the locator is first created. If you want to create fields for some of the subfields, but not all, use the individual subfield links. If you want to create fields for all of the subfields, use the Create and Assign Fields button. Also, if you have created some fields using the individual links, you can use the button to create the rest of the fields, which ignores and skips already created and assigned fields.
For locators with the table extraction type, and if there is a table model applied, clicking the Create and Assign Fields button creates a table field with all of the table model columns. Only as single table field is created for this type of locator.
Once a field is assigned for a locator or evaluator method, links are provided for easy navigation in the Project Tree.
If you remove a field mapping from the field details that change is displayed in locator method that populates the field. For single locators, the button is enabled. For group locators, the button is enabled as is the link to the affected subfield.
Similarly, if you delete one or more fields that are already mapped to locators, the corresponding locators are updated and those locators or locator subfields are available for mapping once again.
All fields are created in English only, even if they are based on locator subfields named using another language. You can rename the English fields to another language as required once they are created.
Related topics: