Hi,
I don't have a specific problem that I'm trying to resolve, I'm just looking for opinions/discussion on alternatives. More of a "poll" on what types of solutions people might be currently using...
The SchemaMapper transformer can be very handy but it definitely has it's limitations and it feels like it's getting a bit long in the tooth. I don't think there have been any significant changes made to it in several years, so I was wondering if people are still using it, or what design patterns might be used as an alternative?
Some of the limitations of the existing SchemaMapper transformer that I'm aware of are:
- No ability to parameterize input parameters, esp. the schema mapping file
- No way to perform complex "and/or" conditional mapping
- No way to use conditional operators other than "=" in mapping rules (e.g. <,>,!=, in, like, etc.)
- No way to map if null/empty/missing
Aside from manually performing these mappings in the workspace with transformers, what other techniques are people using? Are Python scripts the main viable alternative? Are there some newer transformers that make light of this type of work?
Looking forward to hearing your thoughts!
Nic