Skip to main content
Question

Dynamic Schema: Modify within the workflow without external sources

  • November 13, 2020
  • 1 reply
  • 19 views

t_hohenstrater
Contributor
Forum|alt.badge.img+2

I am fining new ways to use Dynamic Schemas which are great. However, i do find it challenging to modify the schema especially when creating new attributes and working with Date/Time or float/int as FME defaults to strings. Is there an easy way to force FME to use a particular datatype ( float, int, date, datetime etc) during a translation. I was thinking that the within Attribute creator one could define the data type that is read by the Dynamic writer or use somethink like the SchemaMapper transformer to read and modify attributes instead of an external source. I know that you can dictate the final schema withi the writer, but i dont seem to be able define that before hand.

 

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.

1 reply

david_r
Celebrity
  • November 13, 2020

Internally, FME uses something that resembles duck typing, so it's usually not a problem if e.g. an integer is encoded as a string during the translation. Unless you have a particular use case?

Of course, when defining the output schema it's best practice to have clearly defined datatypes.