You are here: Attributes > AttributeExposer

AttributeExposer

Exposes attributes so they can be used 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 access 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 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 in Workbench. For example:

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

You may enter the attribute names manually, or import attributes from any supported source dataset. 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 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.

Note: Exposing fme_basename or fme_dataset will not change the behavior of the reader. To get these attributes added by the reader, you need to expose them where the read occurs, that is, in the reader feature types or the FeatureReader transformer.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Defining Values

There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.

Reference

Processing Behavior

Feature-Based

Feature Holding

No

Dependencies None
FME Licensing Level FME Base Edition and above
Aliases  
History  
Categories

Attributes

FME Knowledge Center

The FME Knowledge Center 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 Knowledge Center.

 

Examples may contain information licensed under the Open Government Licence – Vancouver