Reader Directives

The directives processed by the OData reader are listed below. The suffixes shown are prefixed by the current <ReaderKeyword> in a mapping file. By default, the <ReaderKeyword> for the OData reader is ODATA.

DATASET

Required/Optional

Required

Workbench Parameter

Service URL

USER_NAME

Required/Optional

Optional

Mapping File Syntax

<ReaderKeyword>_USER_NAME myusername

Workbench Parameter

Http Authentication User

PASSWORD

Required/Optional

Optional

Mapping File Syntax

<ReaderKeyword>_PASSWORD secret

Workbench Parameter

Http Authentication Password

DEF

The syntax of the definition is:

ODATA_DEF <feedName> \

[<propertyName> <propertyType>] +

The <feedName> must match a feed in the service specified by the dataset service URL. This will be used as the feature type name of all the features read from the feed.

The <propertyType> of each property read from a feed must be given, but it is not verified. In effect, it is ignored.

Required/Optional

Optional

RETRIEVE_ALL_TABLE_NAMES

This parameter is only applicable when generating a mapping file, generating a workspace or when retrieving schemas in an FME Objects application.

When set to yes, and if RETRIEVE_ALL_SCHEMAS is set to no (or missing), names for all of the tables and feature classes in the database are returned. When set to no (or missing), and if RETRIEVE_ALL_SCHEMAS is similarly set to no (or missing), the schemas requested by the IDs directive are returned.

If RETRIEVE_ALL_SCHEMAS is also set to Yes, then RETRIEVE_ALL_SCHEMAS takes precedence.

Required/Optional

Optional

Values

YES | NO (default)

Mapping File Syntax

Not applicable.

FME Objects applications would include RETRIEVE_ALL_TABLE_NAMES followed by “YES” in the parameters array passed to IFMEUniversalReader::open().

Workbench Parameter

Not applicable (used when you browse a Table List)