Eduction 23.4

# 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

Copyright 2013-2023 Open Text
Version 23.4 | Last updated September 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Eduction 23.4

Topic Title: EntityComponentFieldN