Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Unable to save MongoDB Id field as Object

Hi - I am trying to move some data from RDBMS to MongoDB and I am able to move the data without any issues. However, I also want to add a 'organisationId' field in MongoDB the value of which I am hardcoding in tMap component. When I run the job and move the data and check MongoDB collection, I see this hardcoded Id field stored as a string in Mongo database but I want it to be stored as ObjectId("some value"). Can someone provide a solution please?

 

Thanks!

Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hello,

Could you please show us your hardcoding setting screenshot in tMap component?

Best regards

Sabrina