This document explains how to use the same GAM database by different applications and provides a brief overview about it.
Consider a scenario, where one GAM database will be used by different applications.
In deployment time also, for example using GXserver, it will happen that the same GAM database will need to be referenced in each local copy of the knowledge base.
If you want to connect to an existing repository, and not to create a new one, you need to do the following:
1. Specify the corresponding Repository ID Environment property.
2. In the GAM data store properties you need to specify the corresponding database name, user name and password in order to connect to the database.
3. Specify Administrator User Name, Administrator User Password, of this GAM repository you want to connect to.
4. You need to specify also Connection User Name and Connection User Password Property. It´s recommended in case of multiple applications connecting to the same GAM, to create a new GAM Repository Connection for each application connecting to the same GAM, so each application will use its own GAM connection. So, after you create a new GAM connection, you can configure Connection User Name Property and Connection User Password Property with the corresponding values.
After following these steps when the "Build All" is done, GeneXus detects that this repository (with the connection properties associated to it) is a valid GAM repository (with a valid GAM repository connection) so there's no need to create a new GAM database, or reorganize this database.
GAM Repository Connections
GeneXus Administration of GAM Repository
GAM Repository structure