Skip to main content
Archived

?AttributeManager- Selecting Multiple actions

Related products:FME Form
  • December 15, 2016
  • 2 replies
  • 34 views

I would like the AttributeManager this to work with multiple actions. For example, I would like to rename a field as well as Set Value in a single attribute action rather then doing it in two steps.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

jdh
Contributor
Forum|alt.badge.img+40
  • Contributor
  • December 16, 2016

If you don't mind a possible invalid indicator, you can currently do this.

Set the action type to rename (not set value), in the AttributeValue set it to the value/expression you want. If you are using an expression involving the itself, then you need to refer to the Output Attribute Name, not the Input Attribute name. This will currently highlight the field red as invalid, but the workspace processes without issue.

 

 

PR74616 is about this behaviour.

'


Hi, Thanks for your suggestion. I tried something like this earlier, but when I saw the Attribute Value field highlighted in red/pink, I assumed it was a validation error and the workspace would not run fine, but now I know. :-)