Hello,
I have a dataset containing an attribute PROP_TYPE. This contains any one of the following values: HOUSE_MNGD; FLAT; DUPLEX_SHRD; MAISONETTE; FLAT_TYPE2.
I want to change these values within the FME Form workspace…
HOUSE_MNGD change to House managed
FLAT change to Flat
DUPLEX_SHRD change to Duplex shared
MAISONETTE change to Maisonette
FLAT_TYPE2 change to Flat type 2
I know I can change a stated value within a StringReplacer. This works well, but it’s only on one of the possible values (e.g: Text To Replace = HOUSE_MNGD; Replacement Text = House managed).
How can I use the StringReplacer to specify all possible values within the PROP_TYPE attribute and replace them with the values I then specify? And do that in one StringReplacer?
I’ve tried AttributeValueMapper and added in all my possible changes (line by line), but I couldn’t get that to actually change the values in the output. So, I’m hoping I can do it in one command within one StringReplacer.
Thanks,




