Skip to main content
Question

Testing a workbench from a certain point

  • Mar 27, 2017 2:51 PM UTC
  • 8 replies
  • 67 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
  • Mar 27, 2017 2:53 PM UTC

Have a look at the Player and the Recorder transformers.


Forum|alt.badge.img+1
  • Author
  • Mar 27, 2017 3:29 PM UTC

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


Forum|alt.badge.img+1
  • Author
  • Mar 27, 2017 3:51 PM UTC

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+22
  • Safer
  • Mar 27, 2017 4:07 PM UTC

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+41
  • Contributor
  • Mar 27, 2017 4:08 PM UTC

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
  • Mar 27, 2017 4:37 PM UTC

Ok thanks yes adding the AttributeExposer works! Thank you


fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • Mar 28, 2017 4:46 PM UTC

itay
Supporter
Forum|alt.badge.img+19
  • Supporter
  • Mar 28, 2017 8:02 PM UTC
Excellent idea! @aaronkoning unfortunately the link doesn't work....