How can I get the connection string in External .NET Function?

I am building a custom extension using integration studio and I need the connection string to connect to an external database already defined in service center, but I don't know how can I get the connection string using .NET Code

Hi Emam.

Hope you already tested successfully your connection string in service center.

please find the attached How you need to connect database in extension.

let me know incase of any issue

One more screen shot for next steps to select database (your connection string will be shown here)and further please follows the wizards and finish and publish the extension

Salman Ansari wrote:

Hi Emam.

Hope you already tested successfully your connection string in service center.

please find the attached How you need to connect database in extension.

let me know incase of any issue


This is not my question!

I mean how to get the connection string of an external database useing C#/.NET Code, not to conect to it thought Integration Studio

Mohamed Emam wrote:

Salman Ansari wrote:

Hi Emam.

Hope you already tested successfully your connection string in service center.

please find the attached How you need to connect database in extension.

let me know incase of any issue


This is not my question!

I mean how to get the connection string of an external database useing C#/.NET Code, not to conect to it thought Integration Studio

What you wanted to achieve?

What you need to do with connection string by .Net code etc??


Salman Ansari wrote:

Mohamed Emam wrote:

Salman Ansari wrote:

Hi Emam.

Hope you already tested successfully your connection string in service center.

please find the attached How you need to connect database in extension.

let me know incase of any issue


This is not my question!

I mean how to get the connection string of an external database useing C#/.NET Code, not to conect to it thought Integration Studio

What you wanted to achieve?



I am building a custom function using C#/.NET and this function needs the connection to external database as an input, and I don't know how to get this connection in the code itself!

Mohamed Emam wrote:

Salman Ansari wrote:

Mohamed Emam wrote:

Salman Ansari wrote:

Hi Emam.

Hope you already tested successfully your connection string in service center.

please find the attached How you need to connect database in extension.

let me know incase of any issue


This is not my question!

I mean how to get the connection string of an external database useing C#/.NET Code, not to conect to it thought Integration Studio

What you wanted to achieve?



I am building a custom function using C#/.NET and this function needs the connection to external database as an input, and I don't know how to get this connection in the code itself!

Hi Emam,


Please check the below post Daniel explain in that post.Is this work for you?

https://www.outsystems.com/forums/discussion/48236/extension-and-db-connection-string/