Skip to main content
Solved

How can we get multiple output based on unique attribute

  • May 15, 2020
  • 3 replies
  • 22 views

How can I get multiple output based on unique attribute. I have 50 diffrent brand names in my input file & want to get 1 out for 1 brand, so for this input file I need 50 outputs.

@david_r

Best answer by david_r

You can use a fanout expression for this:

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Workbench/Workbench/Setting_Dataset_Fanout_Properties.htm

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.

3 replies

david_r
Celebrity
  • 8392 replies
  • Best Answer
  • May 15, 2020

Thanks @david_r

one more thing , can we translate value of a whole column from English to Arabic or in other language as well? I used httpcaller but not succeed , could you please help me.


david_r
Celebrity
  • 8392 replies
  • May 15, 2020

Thanks @david_r

one more thing , can we translate value of a whole column from English to Arabic or in other language as well? I used httpcaller but not succeed , could you please help me.

If it's a finite number of text values, you could use the AttributeValueMapper to go from English to Arabic. But if the text values aren't known in advance you'll probably want to use some sort of webservice, e.g. Google Translate API (nice tutorial here), to do the translation for you. If you struggle with this in FME, I recommend you post it as a separate question to improve visibility.