Skip to main content
Question

MongoDB: how to get the _id?

  • March 8, 2018
  • 3 replies
  • 23 views

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!

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

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

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.