FME Transformers: 2024.1

Related Transformers


Exposes attributes so they can be accessed by downstream transformers and writers.

Jump to Configuration

Typical Uses

  • Exposing attributes that a workspace is not aware of, such as those created by a SchemaMapper
  • Exposing normally unexposed fme_ and format-specific attributes for use in the workspace
  • Exposing attributes in a dynamic translation where source attributes may vary

How does it work?

The AttributeExposer makes unexposed attributes visible in FME Workbench so they can be used elsewhere in the workspace. This transformer is useful if you know features have an attribute, but that attribute is not currently showing as available in your workspace. For example:

  • FME Attributes (fme_) and more obscure format-specific attributes that are not automatically shown in FME Workbench.
  • Transformers, such as the SchemaMapper, that dynamically add attributes onto features which FME Workbench is not aware of.

You may enter the attribute names manually, import attributes from any supported source dataset, or import from upstream feature caches. Known attributes (including fme_ and format-specific attributes that are not currently exposed) can be selected from the drop-down menu.

This transformer only exposes the attribute in FME Workbench - it does not ensure that valid attribute names are being exposed. The input features are not modified in any way.

Once the attributes are exposed, they can be accessed elsewhere in the workspace.

Data Type may be optionally set or changed.

Cached Values, Data-Aware Attribute Names and Data Types

If Feature Caching is enabled, valid attribute names from upstream features are shown for attribute selection.

Names and data types may be imported from upstream caches (Import > From Feature Cache...).

Data types may be updated by importing Type only (Import > Types from Feature Cache...).


Usage Notes

  • Expose attributes fme_basename and fme_dataset in the reader feature type or the FeatureReader transformer. These attributes are not read unless they are exposed in this manner.


Input Ports

Output Ports


Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.


Processing Behavior


Feature Holding


Dependencies None

FME Community

The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.

Search for all results about the AttributeExposer on the FME Community.


Examples may contain information licensed under the Open Government Licence – Vancouver, Open Government Licence - British Columbia, and/or Open Government Licence – Canada.