Solved

In FME Desktop 2021, how do I use a password user parameter in a Python Caller.

  • 14 June 2021
  • 3 replies
  • 18 views

 We have dozens of FME 2020 workspaces that use this capability that are now failing in FME 2021 because the parameter is not available to the Python Caller.

icon

Best answer by rfslivajr 14 June 2021, 18:27

View original

3 replies

I'm going to answer my own question, in that I was able to use a ParameterFetcher transformer to convert the password to an attribute and then have the PythonCaller use the attribute value instead.

Userlevel 4
Badge +26

Hmm, do they still work with Scripted Parameters?

Badge +4

I'm going to answer my own question, in that I was able to use a ParameterFetcher transformer to convert the password to an attribute and then have the PythonCaller use the attribute value instead.

Thanks for this - saved a lot of banging my head on the desk!

ParameterFetcher has the bonus of correctly parsing special characters too.

Reply