Skip to main content
Solved

Specific geodatabase SDE table reader in custom transformer

  • October 14, 2022
  • 5 replies
  • 25 views

asablomberg
Contributor
Forum|alt.badge.img+8

I want to make a custom transformer with a geodatabase SDE table reader from a specific table, and some other transformers. But when i try to create it, the SDE reader is converted into an input of the custom transformer. Isn't it possible to have a fixed reader in a custom transformer?

Best answer by david_r

Did you try using the FeatureReader transformer?

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.

5 replies

david_r
Celebrity
  • 8391 replies
  • Best Answer
  • October 14, 2022

Did you try using the FeatureReader transformer?


asablomberg
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • 19 replies
  • October 14, 2022

Did you try using the FeatureReader transformer?

Thank you! This seems like a great way to go around the problem. However when I try it I get this error:

Cannot have multiple factories with the same name. Multiple factories were assigned the name 'ByggnverkAvlopp_ValueExtractor_CustomPointOnRasterValueExtractor_2_Raster1665734206 Input Splitter'


david_r
Celebrity
  • 8391 replies
  • October 14, 2022

Thank you! This seems like a great way to go around the problem. However when I try it I get this error:

Cannot have multiple factories with the same name. Multiple factories were assigned the name 'ByggnverkAvlopp_ValueExtractor_CustomPointOnRasterValueExtractor_2_Raster1665734206 Input Splitter'

I've never encountered this error before. You may want to consider escalating it to your FME reseller or Safe Software directly.


kailinatsafe
Safer
Forum|alt.badge.img+23
  • Safer
  • 720 replies
  • October 26, 2022

Thank you! This seems like a great way to go around the problem. However when I try it I get this error:

Cannot have multiple factories with the same name. Multiple factories were assigned the name 'ByggnverkAvlopp_ValueExtractor_CustomPointOnRasterValueExtractor_2_Raster1665734206 Input Splitter'

Hello @asablomberg​, unfortunately, I do not think its possible to add format readers to custom transformers and that converting them to inputs is the intended behaviour.

 

@david_r​ was correct! The FeatureReader can be used to bring data into custom transformers. I ran a quick test (using a FeatureReader in a custom transformer) and the result was a successful translation.

 

As the error suggests, "Multiple factories were assigned the name" , I believe factory names are derived from transformer titles and some other workspace details. Would you please try renaming one or two transformers within your custom transformer and re-run the translation? This may not resolve anything, but curious.

 

Otherwise, to understand what’s going on, I think we’d need to get a copy of the custom transformer that is causing you issues (and any additional information you can provide). You can use this form to submit a support case with Safe's Support Team.


asablomberg
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • 19 replies
  • October 27, 2022

Thank you @kailinatsafe​ ! I cleaned up the workspace from some old unused transformers and everything started working, the error disappeared.