Skip to main content

As beginner with FME, I try to read documents from MongoDB.

As far I understand, as a defaut behavior, if an attribute is not detected in the first read documents, its reading will be skipped. Is there any way to avoid this behavior?

Many thanks!

Have you tried setting the parameter "Read Original JSON Document" to "Yes"?

This will populate the 

mongodb_json

attribute, which will have all of the information contained in the original document. You can split this into individual attributes with a JSONFlattener transformer. 


Dear @jakemolnar,

Many thanks for your answer. Yes, this approach is the workaround implemented. Is there any way to get attributes directly read by MongoReader?


Reply