Skip to main content
Question

Testing a workbench from a certain point


Forum|alt.badge.img+1

Hi,

When testing a workbench files with a large number of features, is there a way to only test a certain part of the workbench instead of reading through the whole workbench every time you run it, so as to save time?

I have access to FME Desktop 2016 and 2017.

Thanks

8 replies

david_r
Celebrity
  • March 27, 2017

Have a look at the Player and the Recorder transformers.


Forum|alt.badge.img+1
  • Author
  • March 27, 2017

Thanks so much David! These transformers are perfect for what I need and will save me hours.


Forum|alt.badge.img+1
  • Author
  • March 27, 2017

I am having some trouble in retrieving all the attributes I passed to the Recorder. I selected 'Yes' to 'Store Scanned Schema', but the only attribute that is coming back through the Player transformer is the attribute I selected in the 'Feature Type Attribute' field in the Recorder.

Is there a way to pass all the attributes through?


fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • March 27, 2017

Hi @aquamarine You can always add an AttributeExposer, but the easiest way is to just leave the original feature types, transformers and connections intact. You'll most likely disable the readers but you might also want to disable some connections for clarity. As long as the connection is there - even if disabled, the attributes will pass through.


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • March 27, 2017
aquamarine wrote:

I am having some trouble in retrieving all the attributes I passed to the Recorder. I selected 'Yes' to 'Store Scanned Schema', but the only attribute that is coming back through the Player transformer is the attribute I selected in the 'Feature Type Attribute' field in the Recorder.

Is there a way to pass all the attributes through?

The player does not automatically expose the schema of the features that are recorded. If you inspect the features, you should see all the attributes. You can use an AttributeExposer to make the attributes available on the canvas.

 

 

 

 


Forum|alt.badge.img+1
  • Author
  • March 27, 2017

Ok thanks yes adding the AttributeExposer works! Thank you


fmelizard
Safer
Forum|alt.badge.img+18
  • Safer
  • March 28, 2017

itay
Supporter
Forum|alt.badge.img+17
  • Supporter
  • March 28, 2017
fmelizard wrote:
Excellent idea! @aaronkoning unfortunately the link doesn't work....

 

 


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