Question

Unpublish input port custom transformer

  • 20 February 2014
  • 3 replies
  • 2 views

Userlevel 5
Badge +25
I have a custom transformer with a loop in it, it's looping back to a dedicated input port and I don't want that one to be visible to the end-user (to avoid them connecting something to it). FME 2013 had the option to unpublish an input port but that seems to be missing in FME 2014. Any suggestions?

3 replies

Userlevel 2
Badge +17
Hi,

 

 

Uncheck "Publish" check box in the Edit Transformer Input dialog.

 

See here.

 

http://docs.safe.com/fme/html/FME_Workbench/Default.htm#Looping_Custom_Transformers.htm

 

 

Takashi
Userlevel 5
Badge +25
Thanks Takashi. I don't know how I've overlooked that one...

 

 

It does prevent any attributes from being exposed. A quick test shows that if it's set up with the port visible then it will work when the port is hidden, but FME will throw up a warning about incomplete transformers. Not sure whether I'd want to show that to my customers...
Userlevel 2
Badge +17
I guess there are one or more transformers which manipulate some attributes between the unpublished Input port and the juncture with mainstream. If so, what about moving them in front of the Loop port?

Reply