# EntityComponentFieldN

A comma-separated list of entity components that you want to return as fields, associated with the entities specified by the EntityN parameter.

To use this option you must:

- set `OutputSimpleMatchInfo` to `False` for edktool.
- set `EnableComponents` to `True` for edktool.
- define components in the entity definition.

You configure `EntityComponentFieldN` in a similar way to EntityFieldN. Set `EntityComponentFieldN` to a comma-separated list of entity components to return as fields.

For example, for the following configuration:

    Entity0=testgrammar/testentity
    EntityField0=FIELD0
    EntityComponentField0=Name,Age

And the following data:

    name    age
    geoff   45
    jane    54

An entity with the following pattern:

    <grammar name="testgrammar">
    <entity name="testentity" type="public">
    <pattern>name\s+age(\n(?A=Name:\w+)\s+(?A=Age:\d+)){1,}</pattern>
    </entity>
    </grammar>

Returns the following values as fields:

    #DREFIELD Name="geoff"
    #DREFIELD Age="45"
    #DREFIELD Name="jane"
    #DREFIELD Age="54"

Type: | String
Default: | None
Required: | No
Configuration Section: | Eduction
Example: | `Entity0=testgrammar/testentity EntityField0=FIELD0 EntityComponentField0=Name,Age`
See Also: | EntityN EntityZoneN

_FT_HTML5_bannerTitle.htm