Skip to main content
Question

Testing a workbench from a certain point

  • March 27, 2017
  • 8 replies
  • 23 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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+21
  • 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+40
  • Contributor
  • 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?

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+21
  • Safer
  • March 28, 2017

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