You are here: 属性 > attributedereferencer.

attributedereferencer.

Copies the value of an attribute whose name is referenced in the source attribute. The value is added to a newly created attribute.

输入端口

Output Ports

Parameters

Example

Suppose you have two attributes:

  • Attribute A has the valueB
  • Attribute B has the value999

在变压器参数中:

  • 将源属性参数设置为A.
  • Create a new Destination Attribute called纽瓦特.

运行工作区时,值999(来自属性b)被添加到目标属性,如日志文件所示:

2010-11-27 18:13:38 |0.1 |0.0 |通知|属性(字符串):`a'有值`b'
2010-11-27 18:13:38 |0.1 |0.0 |通知|属性(字符串):`B'有值`999'
2010-11-27 18:13:38 |0.1 |0.0|INFORM|Attribute(string) : `_newAttr' has value `999'

编辑变压器参数

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, clickbeside the applicable parameter. For more information, see变压器参数菜单选项.

变压器类别

属性

搜索FME知识中心

搜索有关此变压器的样本和信息FME Knowledge Center.