
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
tMongoDBOutput Upsert option
Hi,
I am trying extract xml data from xml file to mongodb. The flow like below.
1.step Extract data from xml
2.step Call xmltoJson function and convert the data from xml to json(tjava)
3.step mapping(tmap)
4.step load data into table via tMongoDBOutput component.
I can manage to insert the data to the table at "insert" mode(pic-4). But when I only change the mode to "Upsert", it doesn't Update the same data and it creates a new row with "_id" column is NULL(pic-5).
I can set a value to "_id" column while inserting but when I try to upsert I can not manage it. It sets NULL value to "_id" column.
Another question is Talend Studio doesn't let me to change "Json Configuration Tree". It is disabled. I am using free version. Do you know why?
pic-1
pic-2
pic-3
pic-4
pic-5
Thanks for help from now.
Kind Regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The JSON tree map will be configurable in " built-in" mode not "Repository" mode
Best regards
Sabrina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
do you have a solution to this yet? Can you please share it here!?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @msrk
As I mentioned before, the JSON tree map will be configurable in " built-in" mode not "Repository" mode. What's the problem are you facing?
Best regards
Sabrina
