Skip to main content
Solved

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


 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.

Best answer by rfslivajr

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.

View original
Did this help you find an answer to your question?

3 replies

  • Author
  • Best Answer
  • June 14, 2021

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.


virtualcitymatt
Celebrity
Forum|alt.badge.img+35

Hmm, do they still work with Scripted Parameters?


jwarren
Contributor
Forum|alt.badge.img+5
  • Contributor
  • September 30, 2021
rfslivajr wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings