Skip to main content
Open

Update the scripted User Parameter interface to insert "fme.macroValues" instead of "FME_MacroValues"

Related products:FME Form
  • July 30, 2024
  • 1 reply
  • 50 views
danilo_fme
  • danilo_fme
    danilo_fme

raymondbrunner
Contributor

As I worked to resolve errors with attempting to reference a User Parameter from within a Python Scripted User Parameter, I discovered the issue was previously mentioned 5 years ago in this thread:
 


When I double-clicked on a user parameter (‘DAYS_PRIOR’) in version 2023.2.1 (build 23774) within the Python Scripted​ Configuration interface, FME Form inserted:  FME_MacroValues['DAYS_PRIOR']

In order to get the scripted parameter to function properly, I ended up changing the call to: fme.macroValues['DAYS_PRIOR']

I also had to explicitly import the fme library. ​​​​​​

1 reply

LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • November 8, 2024
NewOpen

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