Mongodb connection with Uipath

Hi,

Is there any possible way to connect with Mongodb using UiPath.

Kindly help

Thanks and Regards
Sushree Suravi Bhuyan

@sushree.suravibuyan
We don’t have an activity pack dedicated to work with MongoDB, but you can create your own and plug it into UiPath. Here(https://docs.mongodb.org/ecosystem/drivers/csharp/) you can find a library that allows MongoDB interaction from a C# library.

You need to develop a custom C# assembly that implements activities for each action you want to perform, afterwards, pack both your assembly and the MongoDB driver dll into a NuGet activity pack and plug it into UiPath Studio following the instructions here.

2 Likes

@Priya_Dubey Do we still not have any dedicated activity pack for it ?

Incase someone lands on this page for answer:

1 Like

hello, the Invoke code errors out with CS1002, how can I fix it

Please make sure end coding each line with “;”

Compiler Error CS1002 stands for “; expected”.

The compiler detected a missing semicolon. A semicolon is required at the end of every statement in C#. A statement may span more than one line.

[Compiler Error CS1002 | Microsoft Docs]

Hope this help.

Best regards,
Eric