Skip to main content
Best Answer

Missing fme attributes in SQL output ??

  • December 17, 2020
  • 3 replies
  • 44 views

lifalin2016
Supporter
Forum|alt.badge.img+40

Hi all.

I'm importing some DWGs and DGNs, merging all features from all files, and adding fme_basename and fme_dataset to the input. This works fine, until output.

The output writer featuretype lists the two attributes under "Format attributes" with a green arrow. The writer featuretype dropdown also lists them. And the User Attributes are set to "Automatic".

But the writer fails to output the fme values to the database tables. Only the "autocad"/"igds" values are output.

What am I missing here ?

Shouldn't the fme attributes be included in the output ?

Need I do anything else to make this happen ?

Cheers

Best answer by lifalin2016

Happy New Year.

I guess the writers just strip any and all attributes named fme_... from the output ?

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.

3 replies

lifalin2016
Supporter
Forum|alt.badge.img+40
  • Author
  • Supporter
  • December 17, 2020

For fun I appended "autocad_" to the fme attribute names (renamed them), and now it seems they all get output !??

What trickery is afoot here ??


lifalin2016
Supporter
Forum|alt.badge.img+40
  • Author
  • Supporter
  • December 17, 2020

For fun I appended "autocad_" to the fme attribute names (renamed them), and now it seems they all get output !??

What trickery is afoot here ??

Secondary issue: How come fme_dataset defaults to char(50) ?!?

Path names are very often longer than that. On Windows they're char(127).

Using this expression luckily did the trick: (a)TrimRight((a)Value(fme_dataset)(blank)(blank))


lifalin2016
Supporter
Forum|alt.badge.img+40
  • Author
  • Supporter
  • Best Answer
  • January 5, 2021

Happy New Year.

I guess the writers just strip any and all attributes named fme_... from the output ?