Skip to main content
Question

Prevent MongoReader from skipping attribute


Forum|alt.badge.img

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!

2 replies

jakemolnar
Forum|alt.badge.img

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. 


Forum|alt.badge.img
  • Author
  • August 21, 2018

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings