Solved

How can we get multiple output based on unique attribute


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

icon

Best answer by david_r 15 May 2020, 09:35

View original

3 replies

Userlevel 4

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

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.

Userlevel 4

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.

Reply