Skip to main content

I was curious if the behavior of published parameters from custom transformers changed in FME 2013, but I couldn't find the answer yet. Maybe someone can tell?

In his 'FME Evangelist' blog, Mark Ireland once wrote the following:

 

 

"Published parameters can be a little confusing too. Normally, once a parameter is published the end-user is prompted for a value at run-time. In custom transformers, this is a little different. When a parameter is published in a custom transformer, you can look at it as prompting the main workspace for a value; i.e. it appears on the parameters dialog for the custom transformer, but it doesn’t get used as a prompt at run-time. To prompt for a custom transformer value at run-time, you first create a published parameter within the custom transformer, then - back in the main canvas - locate that parameter in the Navigator window and publish it again."

 

 

For as long as I can recall, this is always how it worked and I never liked it. Not only because it is one of these things you easily forget when you're building your workbench, but also because it doesn't allow you to set a parameter dynamically, e.g. by a feature attribute. Now I'm not saying that it's impossible to achieve, but it would be a lot easier if we could just specify an attribute value as input for your own custom transformer (as we can do with most of the standard transformers) and that we didn't need to publish the parameter in the main canvas as well.

Does anyone now if this behavior has been modified in FME 2013? I still need to wait for 2-3 weeks until I get my copy, so I'm just too curious.. :)

 

If you look at this screenshot - you can set a Private parameter as an input to a custom transformer:

 

http://cdn.safe.com/community/attachments/http_download_1445975213110_11364.png

 

 

 


By the way, you can have FME2012 and FME2013 Installed (borth 32 and 64 bit) on the same machine with no issues.

 

 

And you can download FME2013 from here: http://www.safe.com/support/support-resources/fme-downloads/

Thanks for the reply. That looks cool! Will check it out soon.

 

Just for the record: this IS new functionality, right? I never discovered it before...

As for your 'btw': I now about the software, but I cannot install it yet, because my current license is not part of an annual maintenance plan and it's already been more than a year. As I'm also moving from Professional to FME for Oracle, I still need to wait a little while, until the software department has completed the purchase.

 


Did a check with FME2012 SP4 (Build 12266) and it seems to work the same way here also, so I guess the feature arrived sometime in FME2012. So you can probably upgrade to the latest SP4 of FME2012 to get it. Looking at your post I just assumed that this was new in 2013 - however it also works in 2012 :)

 

 

 


Reply