Reader Directives
The suffixes shown are prefixed by the current <ReaderKeyword> in a mapping file. By default, the <ReaderKeyword> for the ArcGIS Online Feature Service Reader is ARCGISONLINEFEATURES_IN.
USER
This parameter specifies the username for authenticating with ArcGIS Online.
Required/Optional
Required
Mapping File Syntax
<ReaderKeyword>_USER <user>
Workbench Parameter
User
PASSWORD
This parameter specifies the password for authenticating with ArcGIS Online.
Required/Optional
Required
Mapping File Syntax
<ReaderKeyword>_PASSWORD <password>
Workbench Parameter
Password
FEATURE_SERVICE
This directive specifies the Feature Service from which to read layers (feature types). It takes the form of “folder or group name/feature service name”, and optionally suffixed with the Feature Service item ID if the name is ambiguous. The Feature Service’s item ID is alphanumeric. The provided name and/or ID must match a Feature Service item on ArcGIS Online.
Required/Optional
Required
Mapping File Syntax
<ReaderKeyword>_FEATURESERVICE “<folder or group>/<feature service name> (<feature service item ID>)”
Workbench Parameter
Feature Service
DEF
Each ArcGIS Online Feature Service layer corresponds to a single FME feature type. Layers may be defined before it is read. A definition that specifies a subset of attributes will reduce data transfer and processing time. If a definition is not present for a layer (such as when using the FeatureReader transformer), all fields and records will be retrieved. User attributes that do not correspond to any column in the Feature Service layer are ignored, with a warning issued in the log. In ArcGIS Online, each layer contains features of a single geometry type.
The syntax of the definition is
ARCGISONLINEFEATURES_DEF <layerName> \ [arcgisonlinefeatures_sql_where_clause <whereClause>] \ [<columnName> <columnType>] +
Parameter | Contents |
---|---|
layerName | The name of the layer to be read, and optionally the layer ID. If the layer ID is provided, the whole name takes the form “layerName (layerID)”. The layer ID is numeric and zero-indexed. |
arcgisonlinefeatures_sql_where_clause |
This specifies the WHERE clause applied to object fields to limit the set of features returned. If this is not specified, then all the features are returned. Attribute names are case-sensitive, and the types of values must match the type defined in the schema. |