Open topic with navigation

# EntityComponentFieldN

A comma-separated list of entity components that you want to return as fields.

To use this option you must:

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

You configure `EntityComponentFieldN` in the same way as EntityFieldN. Specify a comma-separated list of entity components that you want 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: | Any section that you have defined for Eduction settings.
Example: | `Entity0=testgrammar/testentity EntityField0=FIELD0 EntityComponentField0=Name,Age`
See Also: | EntityN EntityZoneN

© Copyright 2013-2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm