Skip to main content
Question

MongoDB: how to get the _id?


Forum|alt.badge.img

Hi all,

I am doing my first steps with FME.

I am trying to read a MongoDB collection using the Mongo reader. To retreive the unique document identifier _id, I use the mongodb_id format attribute. Is it correct?

Then when data are loaded, this attribute does not seem well encoded:

Id (encoded: utf-8): ??{y?q?M????z?'

How to fix this?

Many thanks for your help!

3 replies

jakemolnar
Forum|alt.badge.img

Hi @ac_ac, could you post some logs, and a workspace if possible?


Forum|alt.badge.img
  • Author
  • March 13, 2018
jakemolnar wrote:

Hi @ac_ac, could you post some logs, and a workspace if possible?

Dear @jakemolnar

 

 

Many thanks for your interest on my question.

 

 

Please find the logs:

 

mongotoverticajdbc-log.txt

 

 

And workspace:

 

mongotoverticajdbc.fmw

 

 

 

 


Forum|alt.badge.img
  • Author
  • March 19, 2018

Dear @jakemolnar,

Are the provided file correct?

Many thanks, best regards.


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