How does one pass a user parameter to a pythonCaller that's inside a customTransformer
import fme
import fmeobjects
def processFeature(feature):
p = FME_MacroValues['SomeUserParameter']
print p
I read here "If you put your pythonCaller inside a custom transformer, the parameter name changes to {customTransformerName}_SomeUserParameter. "
I tried then doing this below but still does not work.
import fme
import fmeobjects
def processFeature(feature):
p = FME_MacroValues['{customTransformerName}_SomeUserParameter']
print p
What am I doing wrong?