Answers for "Create attribute in loop with counter number in its name" https://knowledge.safe.com/questions/82004/create-attribute-in-loop-with-counter.html The latest answers for the question "Create attribute in loop with counter number in its name" Answer by jdh https://knowledge.safe.com/answers/82034/view.html

Dynamically named attributes cannot be automatically exposed on the canvas and used by other transformers.

You can write them to a format if you use the SchemaSetter custom transformer and a writer set to Dynamic Schema Definition.

Personally I wouldn't use a loop at all, just a Cloner set to Max_Images, and build the attribute name from the _copynum attribute. This would also avoid the formatting issues of 2.0, 3.0, though that could be taken care of using the StringFormatter.

Wed, 07 Nov 2018 15:48:17 GMT jdh
Answer by ebygomm https://knowledge.safe.com/answers/82025/view.html

It doesn't look like you are exposing the new attribute names?


Wed, 07 Nov 2018 15:27:57 GMT ebygomm
Answer by jdh https://knowledge.亚搏在线safe.com/answers/82017/view.html

Like Takashi I cannot access your workspace, but in situations where @Value(attribute_name) hasn't worked in the past (double check that it's a capital V), I've had success with FMEFunctionCaller using the @SupplyAttributes(attrName,attrValue) function.

Wed, 07 Nov 2018 15:00:50 GMT jdh