Eduction 23.4

# EntityAdvancedFieldN

A comma-separated list of advanced fields to return, 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 `EntityAdvancedFieldN` in a similar way to EntityFieldN. You set `EntityAdvancedFieldN` to a comma-separated list of advanced fields that you want to return. The value of the advanced field is the output of simple operations (`min`, `max`, `sum`, and `ave`) on the values of entity components.

For example, for the following configuration:

    Entity0=testgrammar/testentity
    EntityField0=FIELD0
    EntityAdvancedField0=OfferPrice:max(price1 price2),BidPrice:min(price1 price2)

And the following data:

    share price1 price2
    Com1  165    167
    Com2  1890   1880

An entity with the following pattern:

    <grammar name="testgrammar">
    <entity name="testentity" type="public">
    <pattern>(?A=price1:\d+)\s+(?A=price2:\d+)</pattern>
    </entity>
    </grammar>

Returns the following results as fields:

    #DREFIELD FIELD0="165 167"
    #DREFIELD OfferPrice="167"
    #DREFIELD BidPrice="165"
    #DREFIELD FIELD0="1890 1880"
    #DREFIELD OfferPrice="1890"
    #DREFIELD BidPrice="1880"

Type: | String
Default: | None
Required: | No
Configuration Section: | Any section that you have defined for Eduction settings
Example: | `Entity0=testgrammar/testentity EntityField0=FIELD0 EntityAdvancedField0=OfferPrice:max(price1 price2),BidPrice:min(price1 price2)`
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: EntityAdvancedFieldN