Tenant Connections

Tenant Connections

  
Hello, I'm to solve the problem below :
Each tenant have your connect string and I need to connect a user for 2 databases ( or, to tenants).

Any way to solve that?
Hi willian,

If you are talking about changing the connection string of database connections, on the version 7.0+ there is a API that you can use.
Check the documentation at http://www.outsystems.com/help/servicestudio/7.0/Integrating_with_other_systems/Using_the_Platform_APIs/About_the_Agile_Platform_Public_API.htm

It allows you to change in runtime (for the duration of a session) the connection string of a database connection, so you can make your own logic to choose it. It can depend on anything you want, for example tenants.

Note that this is a licensed feature, so you will only be able to use it with an Enterprise edition.

Regards,
João Rosado
Hi João,

Nice post..I didn't know about this API too.
It can be very useful.

Kind Regards,
GM